# load module # we use mcstas2.7 not to cause side effects in your mcstas/3.0 # copy how-to-file # cp -r /nfs/www/html/users/troland/nexus_local . # cd nexus_local module load mcstas/2.7 module load openmpi/4.0_gcc831 # Export LD_LIBRARY_PATH export LD_LIBRARY_PATH=$PWD/src:$LD_LIBRARY_PATH # Open mcgui load ISIS_SANS2d_Mantid.instr run plot # Make IDF mcstas ISIS_SANS2d_Mantid.instr --trace gcc -o ISIS_SANS2d_Mantid.out ISIS_SANS2d_Mantid.c -lm mcdisplay.pl ISIS_SANS2d_Mantid.instr --format=Mantid -n0 # Configure mcgui open mcgui go to "File" go to "configuration" in mcrun section: use mcrun --format=NeXus in c-flags use this: -lm -DUSE_MPI -DUSE_NEXUS -lNeXus -I /users/troland/nexus_local/include/ -L /users/troland/nexus_local/src/ # compile for mpi run # Mantid open new terminal go to same node # Load Mantid module load mantid/5.1.1 # mantid reduction mantidpython MantidQ.py # Back on McStas client python plot_Iq.py # use model nr5: spheres 25 AA # use model nr6: spheres 500 AA # use model nr15: spheres 150 AA # change pinhole S6,A2 -> 0.001 # do we see any change