Peter Willendrup
Peter Willendrup
@farhi please try replacing your ```$MCXTRACE/tools/Python/mccodelib/pqtgfrontend.py``` with that of the repo, please also consider replacing ```$MCXTRACE/tools/Python/mxgui/viewclasses.py``` as mentioned for McStas in https://github.com/McStasMcXtrace/McCode/issues/1271
(An easy start would be to allow to define the base type of the DArray's to be float rather than double, requires very little code.)
https://github.com/McStasMcXtrace/McCode/tree/mccode-3-USEFLOATS is a prototype that allows to create histograms (for monitors) and particle array data in single precision (e.g. for use on GPU's). `-DUSEFLOATS `enables it. A few consequence-edits are...
MPI merging is not fully functional https://github.com/McStasMcXtrace/McCode/commit/190af8e2c4f6cca8f401b54e7cb6c96e674dbcad
With the last commit 649536dcd4b72dfc69542d100f67c47c793435db merge is functional. Some consequence-edits must be done in Monitor_nD-lib (base type is double everywhere, needs the darrbase define).
If I understand you correctly @farhi, you would then add and initialise something like ``` comp->assembly; // Set to indicate which assembly we are part of comp->assembly_index; // Set to...
i.e. ``` #define @j@ comp->assembly_index // do stuff #undef @j@ ```
Shortly ready for release, solution in the making
(Similar issue seems to be around for interoff-lib, see e.g. http://new-nightly.mcstas.org/2022-10-05/McStas_8GPU_5e7/Test_Pol_Guide_Vmirror/compile_stdout.txt) ``` interpolator_interpolate: 8341, Accelerator restriction: unsupported statement type: opcode=DEALLOC ```
This has been observed with fresh installations on * Windows (installation via miniconda, run at install time) * macOS (mainly Silicon - installation via homebrew, run at install time) May...