[mcstas-users] two problems with 2.0RC2
Peter Kjær Willendrup
pkwi at fysik.dtu.dk
Sun Dec 16 08:12:30 CET 2012
Dear Evgeny,
On Dec 12, 2012, at 16:04 , Evgeny Moskvin <mosqueen at alga.pnpi.spb.ru<mailto:mosqueen at alga.pnpi.spb.ru>>
wrote:
I've installed 2.0 version on my mac 10.6.8. Everything seems to be ok except few things:
First of all great that you had a look! :-)
- the code highlighter doesn't work, it says:
"Starting Tk::CodeText based editor failed. Using simpler McStas 1.7 style editor"
I've reinstalled Tk library from the package you provided, but nothing changes. What would be the problem?
I will roll a new one for you, it seems I somehow did not include the Tk::CodeText properly...
- some of my old files don't run on the new version (not surprise). I used "migrate" scripts provided with new version, but when I start the old version via command /usr/local/bin/McStas-1.12c/mcgui it starts the old gui version (with code highlighter), but in the log window it writes the following:
"mcstas-2.0RC2 version 2.0RC2 (Dec. 02, 2012)
Copyright (C) Risoe National Laboratory, 1997-2010
Additions (C) Institut Laue Langevin, 2003-2010
All rights reserved
Plotters: PGPLOT/McStas HTML VRML
Warning: No MPI/grid machine list. Running locally.
Define /Users/emoskvin/.mcstas/hosts
or /usr/local/lib/mcstas/tools/perl/hosts
or use option --machines=<file>
Clustering methods: Single MPI Grid"
which belong (I believe) to the new engine, and it doesn't compile my old files either. What would be the workaround for this?
You need to use the "environment" script that was also created in /tmp to enable a "mcstas 1.12c environment" - otherwise you will get a mixture of the two versions as you describe. In case you lost the script I have attached it here as well. (For safety please check that the path's etc. correspond to those on your system. :-) )
Dump it in e.g. /usr/local/bin and then execute mcstas-1.12c-enviroment in a Terminal - running mcgui, mcrun, mcstas etc. should then correspond to the old version
Best and hope this helps,
Peter
[cid:8a62421e-b04a-4640-bd0d-99aabba93d59 at win.dtu.dk]
Technical University of Denmark
[cid:de7671c9-d324-45d8-8bd2-e20bd6f1e298 at win.dtu.dk]
Department of Physics
Fysikvej
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/20121216/8bcc7929/attachment.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/20121216/8bcc7929/attachment.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/20121216/8bcc7929/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcstas-1.12c-environment
Type: application/octet-stream
Size: 329 bytes
Desc: mcstas-1.12c-environment
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20121216/8bcc7929/attachment.obj>
More information about the mcstas-users
mailing list