First tries using McStas

Kristian Nielsen kristian.nielsen at risoe.dk
Tue Nov 24 14:13:03 CET 1998


> I don't know what to do about the PGPLOT problem. May I refer to your
> offer of giving you an account here?

I finally managed to solve this. PgPerl is now installed properly and
the mcdisplay program should work (at least it worked for me).

Turns out that there were two problems. The one you experienced is
actually a known problem and a fix was available on the web page for
PgPerl. The next problem was a lot harder to find; apparently you have a
rather new g77 compiler where 'libf2c' has been renamed to 'libg2c';
PgPerl tried to link with 'libf2c' and that fails.

So, to summarize, what I did was to edit the Makefile: add
'-nolinenumbers' as suggested in the fix on the web page, and change all
occurences of 'f2c' to 'g2c'.

I also had to recompile pgplot again, since you had forgotten to include
the 'xserv' graphics driver, but that was a minor issue.

 - Kristian.




More information about the mcstas-users mailing list