[mcstas-users] two problems with 2.0RC2
Peter Kjær Willendrup
pkwi at fysik.dtu.dk
Sun Dec 16 10:21:15 CET 2012
Dear Evgeny,
In regard to the Tk package - a new one built on Snow Leopard including Tk::CodeText is now available here:
http://mcstas-20rc2.mcstas.org/MacOS/10.6_Snow_Leopard/Tk-804_030_MacOSX_10_6_Perl_5_8_9.pkg.zip
Best,
Peter
Peter Kjær Willendrup
Development engineer
DTU Physics
Technical University of Denmark
[cid:image002.gif at 01CCCAF1.5E6331F0]
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>
On Dec 16, 2012, at 08:12 , Peter Willendrup <pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>>
wrote:
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
<image001.gif>
Technical University of Denmark
<image002.gif>
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>
<mcstas-1.12c-environment>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20121216/980f6437/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/980f6437/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/980f6437/attachment-0001.gif>
More information about the mcstas-users
mailing list