[mcstas-users] McStas 2.1 upgrade issues from McStas 2.0
Peter Kjær Willendrup
pkwi at fysik.dtu.dk
Wed Oct 15 12:03:17 CEST 2014
Dear Paul,
Due to changes in the tool-layer structure (again, sorry!!) we are back to using commands without version-number suffix, i.e.:
McStas itself: mcstas
Perl tool layer: mcrun, mcplot, mcdisplay, mcdisplay
Python tool layer: mcrun-py mcplot-matplotlib-py mcplot-chaco-py mcdisplay-matplotlib-py mcdisplay-vtk-py mcdisplay-r-py mcdisplay-x3d-py
Everything should be OK if you either
a) Modify your local mccode_config.perl to use mcrun, mcplot, mcdisplay
b) Simply move the mccode_config.perl out of the way - then the system-wide defaults should work.
Most sorry for the inconvenience!
Best and hope this helps?
Peter
On 15 Oct 2014, at 11:46 , Paul Henry <paul.henry at esss.se<mailto:paul.henry at esss.se>> wrote:
Dear McStas team,
I have just upgraded from McStas 2.0 to 2.1 in order to use the new ESS source information. I run everything through the mcgui interface and everything loads normally and I tested with my existing files and got the same results as previous version. However, if I implement the new ESS source in a simulation file I get a whole of errors when I try to compile. It appears that the source component is not there as it questions a lot of the variables as not existing – examples in screen grab attached.
When I use the run command button it starts reading the configuration information as follows:
mcrun: reading local mcstas configuration from /Users/paulhenry/.mcstas/mccode_config.perl
/usr/local/bin/mcrun-2.0: reading local mcstas configuration from /Users/paulhenry/.mcstas/mccode_config.perl
Running simulation '/Users/paulhenry/McStas/ESSinstrument/20140318_ESS_fulldetector.out' …
Looking at my preferences I see that the runtime tool options still uses the mcrun-2.0 command. If I change this to mcrun-2.1 and try to compile I get an error that the execution of mcrun-2.1 failed. I assume this means that I am not actually using the Mcstas2.1 components or libraries as a result.
How do you suggest I get around this?
Regards,
Paul
Machine is a Macbook Pro 2.7GhZ running OSX10.9.5
I have Xquartz version 2.7.6
______________________________________
Prof. Paul Henry
Instrument Scientist - Diffraction
European Spallation Source ESS AB
P.O Box 176, SE-221 00 Lund, Sweden
Visiting address: Tunavägen 24, Lund
Switchboard: +46 46 888 00 00
Phone: +46 46 888 30 82
Mobile: +46 721 79 20 82
E-mail: paul.henry at esss.se<mailto:paul.henry at esss.se>
www.esss.se<http://www.esss.se/>
Adjungerad professor i Neutronspridning
(Adjunct Professor in Neutron scattering - Diffraction)
<7EE23DA1-72CB-4F80-B9DC-58C5E179DA0F[43].png>
Chalmers tekniska högskola,
Institutionen för kemi- och bioteknik,
Kemigården 4, SE-412 96 Göteborg, Sweden
https://www.chalmers.se/chem/SV/
______________________________________
<Mcstas_error.tiff>_______________________________________________
mcstas-users mailing list
mcstas-users at mcstas.org<mailto:mcstas-users at mcstas.org>
http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20141015/4bbd3451/attachment.html>
More information about the mcstas-users
mailing list