Next: Finishing and Testing the
Up: McStas installation instructions
Previous: Binary install, Linux
Binary install, Windows
- Start by unpacking the mcstas-1.8-i686-unknown-Win32.zip package using
e.g. Winzip.
- Execute the install.bat installation script. Follow the
on screen instructions.
- Set the required (see output of install.bat) environment variables using
'Start/Settings/Control Panel/System/Advanced/Environment
Variables'
PATH
Append e.g. C:\mcstas\bin
MCSTAS
Create it as e.g. C:\mcstas\lib
It is important that Perl is correctly installed to execute all the McStas tools (e.g. mcdoc.pl, mcrun.pl, mcgui.pl, ...). Create a shortcut of the C:\mcstas\bin\mcgui.pl
on your Desktop (the icon should be a yellow dot). Whenever launched from the Windows Command window (cmd), you must specify the .pl extension to all McStas Perl script commands (e.g. 'mcrun.pl' and 'mcgui.pl', not 'mcrun' or 'mcgui') except for mcstas
itself.
Actually, the modifications to your environnement variables should be
PATH
Append e.g.
C:\mcstas\bin;c:\Program Files\Scilab-2.7.2\bin;C:\Perl\bin\;C:\Dev-Cpp\bin;
MCSTAS
Create it as e.g. C:\mcstas\lib
using menu item 'Start/Settings/Control Panel/System/Advanced/Environment Variables'. On some Windows systems, it may be necessary to logout/login (no need to restart the computer) to make these changes active for the whole session.
Next: Finishing and Testing the
Up: McStas installation instructions
Previous: Binary install, Linux
Peter Willendrup
2004-03-05