McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; Niels Bohr Institute DTU

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Share

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tutorial

Workshops/conferences

Developments
 Platforms

Links

Report bugs

SVN

McStas Ubuntu live-dvd


Finishing and Testing the McStas distribution


Finishing and Testing the McStas distribution

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
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


Last Modified: Friday, 03-Jun-2011 20:19:51 CEST
Search website freshmeat.net McStas site RSS feed mailinglist archive SVN repos McCode Trac