Once installed, you may check and tune the guessed configuration stored within file
MCSTAS\tools\perl\mcstas_config.perl
on Windows systems
MCSTAS/tools/perl/mcstas_config.perl
on Unix/Linux systems
MCSTAS
is the location for the McStas library.
You may, on Linux systems, ask for a reconfiguration (e.g. after installing MPI, Matlab, ...) with the commands, e.g:
cd MCSTAS/tools/perl/ sudo ./mcstas_reconfigureOn Windows systems, the reconfiguration is performed with the
mcconfig.pl
command.
The examples
directory of the distribution contains a set of instrument examples. These are used for the McStas self test procedure, which is executed with
mcrun --test # mcrun.pl on WindowsThis test takes a few minutes to complete, and ends with a short report on the installation itself, the simulation accuracy and the plotter check.
You should now be able to use McStas. For some examples to try, see the examples/ directory. Start 'mcgui' (mcgui.pl on Windows), and select one of the examples in the 'Neutron Sites' menu.