Finishing and Testing the McStas distribution

Once installed, you may check and tune the guessed configuration stored within file

where 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_reconfigure
On 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 Windows
This 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.



root 2011-06-03