[mcstas-users] MacOS installation issues

Peter Kjær Willendrup pkwi at fysik.dtu.dk
Thu Oct 3 16:56:29 CEST 2019

Hi Christopher,

Just to be completely sure you didn't miss a step in the procedure?

1) Download and unzip http://download.mcstas.org/mcstas-2.5/mac/mcstas-2.5.tgz

2) Drag McStas-2.5.app and McStas-2.5-environment.command to /Applications  (This step is more important than one should think, in fact the app is not completely relocatable!)

3) Run the Check-PY-dependencies.command (Please ensure that it “finds” the right app in /Applications and not an earlier installation)

4) If you want to be able to run the old mcrun.pl --test, please also run Check-PL-dependencies.command in a similar fashion. (Needs to be mcrun.pl, the bare mcrun is Python-based and currently does not include a test)

5) McStas no longer automatically/fullt installs itself to the macOS system PATH. To get this, either
* Double-click McStas-2.5-environment.command in /Applications
* execute mcstas-2.5-environment in a Terminal.app if you let the dependency-scripts above install that alias

Please let me know if any of the above helps or not? - And be sure to write me again (maybe off-list) with any further diagnostics you may be able go get - e.g. terminal output when issuing mcgui in the above “environment” etc.



On 3 Oct 2019, at 15.29, Christopher Ridley - UKRI STFC <christopher.ridley at stfc.ac.uk<mailto:christopher.ridley at stfc.ac.uk>> wrote:

Hi Peter,

I am having some trouble using the install package for Mcstas 2.5 on MacOS 10.14.6. It seems that the python dependency tests all pass fine, and the GUI runs, but doesn’t seem to be working fully. The links to the templated instruments under the file menu are missing, the logo is missing. I tried to run the 'mcrun —test' in the command line, but it doesn’t look as if mcrun has been added to the path, as the command isn’t recognised. It seems to run a test instrument, but perhaps with a few error messages. Any idea what’s missing from the installation? I have attached the output from the test run.

Many thanks in advance for your help.

Best Wishes,
mcstas-users mailing list
mcstas-users at mcstas.org<mailto:mcstas-users at mcstas.org>

Peter Kjær Willendrup
Forskningsingeniør, Specialkonsulent
Næstformand for DTU Fysik LSU

DTU Physics

[cid:b6339554-7f28-441d-9f31-5944f811397c at win.dtu.dk]

Technical University of Denmark

[cid:e108e480-fcab-46e2-9531-b38165079572 at win.dtu.dk]

Department of Physics
Building 307
DK-2800 Kongens Lyngby
Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20191003/faaf65f6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20191003/faaf65f6/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20191003/faaf65f6/attachment-0003.gif>

More information about the mcstas-users mailing list