Peter Willendrup

Results 159 issues of Peter Willendrup

(From debugging-session with Steffen Sloth) If compilation for MPI on Windows fails due to missing "sal.h", the solution is to (re-)install the MSYS mingw compiler present in conda: (from the...

mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

From debugging-session with Steffen Sloth it seems that current COMP grammar only handles ``` DECLARE %{ int oned[nx]; int twod[nx][ny]; // but not int threed[nx][ny][nz]; %} ``` The grammar should...

mcstas-3.1
mcxtrace-3.0

When installing on a fresh installation of macOS on M1/Silicon, the system will detect the McCode.app as being an "Intel" app and request download of Rosetta. Internally, the app ensures...

annonyance
mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

For synchronisation purposes (e.g. see Test_Absorption in McXtrace) it would be handy to have an MPI_Barrier at the end of INITIALIZE). Should apply to code-generators in both of McStas and...

mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

e.g. with Test_MCPL_input and McStas 3.1 ``` C:/mcstas-3.1/lib/tools/Python/mcrun/../mccodelib/../../../libs/mcpl/libmcpl.a(mcpl.c.obj):mcpl.c:(.text+0x75): undefined reference to `__imp___acrt_iob_func' collect2.exe: error: ld returned 1 exit status ```

mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

In some scan / list datasets with many monitors, when clicking to get a "sweep" plot one may not get the wanted monitor. Example dataset will be provided in link...

mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

ready for release
mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

Currently a component like e.g. ``` COMPONENT L_monitor = L_monitor(... restore_neutron...=1) AT (...) EXTEND %{ if(SCATTERED) flag=1; %} ``` will in fact suppress the flag - which is very confusing....

mcstas-3.1
mcxtrace-3.0