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


About McStas
 Conditions of use
 Project funding

 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual
 Known problems
 C Compilers




Report bugs


McStas Ubuntu live-dvd

McStas Installation on Mac OS X

The distribution packages for McStas may be downloaded via

Installing McStas 2.4 and later on Mac OS X

  1. Download the mcstas-2.4-macOS.tar.gz archive
  2. Unpack it and open the mcstas-2.4 folder in Finder
  3. Drag the and the McStas-2.4-environment.command to your /Applications folder
  4. Right-click and chose "open" on the Check-PY-dependencies.command script
  5. PLEASE follow the on-screen instructions - and repeat opening the script until after you have been offered to take ownership of /usr/local!
  6. You should further Place this configuration file in your /Applications// folder (hint: run 'open $MCSTAS' from the terminal and you should get a finder window in /Applications//
  7. Optionally also run the Check-PL-dependencies.command script if you want to have access to the Perl tools
Once installed you may open the from /Applications. (On the first run, please right-click and choose "open"). Depending on your version of Mac OS, you may have to adjust security settings to allow "Apps from anywhere".

To use your newly installed McStas from the terminal, either

  • Use the McStas-2.4-environment.command shortcut from /Applications
  • Issue the mcstas-2.4-environment command in a new terminal
  • Use the File->Set as default menu point in the Python mcgui

Please report any trouble in using these instructions to

Last modified: Thu May 18 13:33:53 CEST 2017

Last Modified: Thursday, 18-May-2017 13:39:02 CEST
Search website mailinglist archive GitHub repos