[mcstas-users] two problems with 2.0RC2
Evgeny Moskvin
emoskvin at lns.pnpi.spb.ru
Thu Dec 20 13:49:51 CET 2012
Dear Peter,
> 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
it works, thank you!
But another problem appeared. It happens at some point during "sim-edit-sim... etc" iterations. Suddenly the run menu appears without parameters list, and the log is:
[emoskvin:17843] *** Process received signal ***
[emoskvin:17843] Signal: Segmentation fault (11)
[emoskvin:17843] Signal code: Address not mapped (1)
[emoskvin:17843] Failing at address: 0x8
[emoskvin:17843] [ 0] 2 libSystem.B.dylib 0x00007fff83fa71ba _sigtramp + 26
[emoskvin:17843] [ 1] 3 ??? 0x0000000000000000 0x0 + 0
[emoskvin:17843] [ 2] 4 H2_D2.out 0x00000001000075c2 mcsiminfo_init + 509
[emoskvin:17843] [ 3] 5 H2_D2.out 0x00000001000107b2 mcinfo + 82
[emoskvin:17843] [ 4] 6 H2_D2.out 0x00000001000115ef mcparseoptions + 2402
[emoskvin:17843] [ 5] 7 H2_D2.out 0x00000001000128e0 mccode_main + 605
[emoskvin:17843] [ 6] 8 H2_D2.out 0x00000001000143eb main + 27
[emoskvin:17843] [ 7] 9 H2_D2.out 0x000000010000155c start + 52
[emoskvin:17843] *** End of error message ***
It happens not only with my own files, but also with mcstas examples. And of corse it's not possible to start simulations, because if you press "run" button (in gui), the system waits for user to enter parameters in the back (terminal window which is not available for typing in it). Restarting mcgui helps with build in examples, but doesn't with my file.
I tried to run without gui by
mcrun H2_D2.instr
doesn't work either, the error message is
Traceback (most recent call last):
File "/usr/local/bin/mcrun", line 9, in <module>
from mcstas import McStas
File "/usr/local/lib/mcstas-tools-python-mcrun-2.0RC2/mcstas.py", line 6, in <module>
import yaml
ImportError: No module named yaml
Hope my explanations are clear (more or less)... So, what would be a problem?
>> You need to use the "environment" script that was also created in /tmp to enable a "mcstas 1.12c
I did run this script right after migration process, and it was fine. So now it's in /usr/local/bin and when I run mcgui after this script in terminal, it starts old gui with new engine:
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-1.12c/tools/perl/hosts
or use option --machines=<file>
Clustering methods: Single MPI Grid
and in my case "run menu" doesn't have parameters list as described above.
So, I'm stacked....
Best, Evgeny.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20121220/69786aa8/attachment.html>
More information about the mcstas-users
mailing list