<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Peter,<div><div><br></div><div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>In regard to the Tk package - a new one built on Snow Leopard including Tk::CodeText is now available here:</div>
<div><br>
</div>
<div><a href="http://mcstas-20rc2.mcstas.org/MacOS/10.6_Snow_Leopard/Tk-804_030_MacOSX_10_6_Perl_5_8_9.pkg.zip">http://mcstas-20rc2.mcstas.org/MacOS/10.6_Snow_Leopard/Tk-804_030_MacOSX_10_6_Perl_5_8_9.pkg.zip</a></div></div></blockquote><div><br></div><div>it works, thank you!</div><div>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:</div><div><br></div><div><div>[emoskvin:17843] *** Process received signal ***</div><div>[emoskvin:17843] Signal: Segmentation fault (11)</div><div>[emoskvin:17843] Signal code: Address not mapped (1)</div><div>[emoskvin:17843] Failing at address: 0x8</div><div>[emoskvin:17843] [ 0] 2 libSystem.B.dylib 0x00007fff83fa71ba _sigtramp + 26</div><div>[emoskvin:17843] [ 1] 3 ??? 0x0000000000000000 0x0 + 0</div><div>[emoskvin:17843] [ 2] 4 H2_D2.out 0x00000001000075c2 mcsiminfo_init + 509</div><div>[emoskvin:17843] [ 3] 5 H2_D2.out 0x00000001000107b2 mcinfo + 82</div><div>[emoskvin:17843] [ 4] 6 H2_D2.out 0x00000001000115ef mcparseoptions + 2402</div><div>[emoskvin:17843] [ 5] 7 H2_D2.out 0x00000001000128e0 mccode_main + 605</div><div>[emoskvin:17843] [ 6] 8 H2_D2.out 0x00000001000143eb main + 27</div><div>[emoskvin:17843] [ 7] 9 H2_D2.out 0x000000010000155c start + 52</div><div>[emoskvin:17843] *** End of error message ***</div></div><div><br></div><div>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.</div><div>I tried to run without gui by</div><div><br></div><div>mcrun H2_D2.instr</div><div><br></div><div>doesn't work either, the error message is</div><div><br></div><div><div>Traceback (most recent call last):</div><div> File "/usr/local/bin/mcrun", line 9, in <module></div><div> from mcstas import McStas</div><div> File "/usr/local/lib/mcstas-tools-python-mcrun-2.0RC2/mcstas.py", line 6, in <module></div><div> import yaml</div><div>ImportError: No module named yaml</div><div><br></div><div>Hope my explanations are clear (more or less)... So, what would be a problem?</div></div><div><br></div><div><br></div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><blockquote type="cite"><div><div style="word-wrap:break-word">
<div>You need to use the "environment" script that was also created in /tmp to enable a "mcstas 1.12c </div></div></div></blockquote></div></div></div></blockquote><br></div><div>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:</div><div><br></div><div><div>mcstas-2.0RC2 version 2.0RC2 (Dec. 02, 2012)</div><div>Copyright (C) Risoe National Laboratory, 1997-2010</div><div>Additions (C) Institut Laue Langevin, 2003-2010</div><div>All rights reserved</div><div>Plotters: PGPLOT/McStas HTML VRML </div><div>Warning: No MPI/grid machine list. Running locally.</div><div> Define /Users/emoskvin/.mcstas/hosts</div><div> or /usr/local/lib/mcstas-1.12c/tools/perl/hosts</div><div> or use option --machines=<file></div><div>Clustering methods: Single MPI Grid </div><div><br></div></div><div>and in my case "run menu" doesn't have parameters list as described above.</div><div>So, I'm stacked....</div><div><br></div><div>Best, Evgeny.</div><div><br></div><div><br></div><br></div></body></html>