Bugs in McStas/McGUI-2
Kristian Nielsen
kristian.nielsen at risoe.dk
Thu Feb 17 10:32:31 CET 2000
Hi Ron and Emmanuel,
Thanks for the debug output. I took a look at them and have some ideas.
I think the most likely problem is that mcgui fails to start the
"mcstas" program. In that case the mcgui in v1.2 starts running two
processes simultaneously in Perl/Tk (due to a bug in mcgui). This
usually causes spectacular crashes.
I just tried running mcgui where I artificially made mcgui fail to spawn
mcstas, and got an error similar to what you reported. I fixed the bug
in mcgui, and the new version does not crash.
I put the new version of mcgui up on host "mica", in the directory
"/home/cs/nielsen/mcgui-crash" as the file "mcgui-new.pl". Please try
the new version, and see if it works any better. In any case, please
let me know how it works!
About the compilation problem with in14_tut.instr that Ron had: this is
caused by an error in the file; in line 102 there is a spurious newline
inside a string constant (as reported by the C compiler). I believe this
is unrelated to the mcgui problem. A fixed instrument file is found in
the same directory as the new mcgui.
- Kristian.
--
Kristian Nielsen kristian.nielsen at risoe.dk
Risø National Laboratory
Condensed Matter Physics and Chemistry Department
Tel. +45 4677 5515 Fax +45 4677 4790
More information about the mcstas-users
mailing list