[mcstas-users] McStas 2.6 on Ubuntu 20.04 (and 2.6.1 in the works...)

Peter Kjær Willendrup pkwi at fysik.dtu.dk
Tue Apr 28 10:43:15 CEST 2020

Dear all,

I have tried out the McStas 2.6 release on the fresh Ubuntu 20.04 release<https://releases.ubuntu.com/20.04/>, and my findings are these:

  *   Generally, the release works as expected - all of the python tools seem to function well.
  *   For the legacy perl tools we have the issue that the OS-provided PDL no longer comes with a PGPLOT plotting-bridge, which affects mcplot.pl and mcgui.pl:

mcstas at mcstas-virtual-machine:~$ mcgui.pl
Can't locate PDL/Graphics/PGPLOT.pm in @INC (you may need to install the PDL::Graphics::PGPLOT module)
(@INC contains: /usr/share/mcstas/2.6/tools/Perl/perl/modules /usr/share/mcstas/2.6/tools/Perl/perl /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/mcstas/2.6/tools/Perl/perl/mcplotlib.pl line 23,  line 207.
BEGIN failed--compilation aborted at /usr/share/mcstas/2.6/tools/Perl/perl/mcplotlib.pl line 23,  line 207.
Compilation failed in require at /usr/bin/mcgui.pl line 2181,  line 207.

  *   Of course the recommendation is to simply move to the Python tools, but if you insist to stay with perl, please do a local CPAN-based PDL installation like this:

sudo cpan install PDL

  *   Since a few releases, the default PGPLOT implementation on Ubuntu changed to Giza. Giza seems to now be getting better, see the April 30th 2018<http://www.mcstas.org/news/2018.html> hint if you want the legacy PGPLOT instead.

A new minor release 2.6.1 is on the way, implementing a few bugfixes, see our GitHub issue tracker<https://github.com/McStasMcXtrace/McCode/issues?q=is%3Aissue+label%3A%22McStas+2.6%22+>  for more information.

Best regards,
Peter Willendrup

Peter Kjær Willendrup
Forskningsingeniør, Specialkonsulent
Næstformand for DTU Fysik LSU

DTU Physics

[cid:b6339554-7f28-441d-9f31-5944f811397c at win.dtu.dk]

Technical University of Denmark

[cid:e108e480-fcab-46e2-9531-b38165079572 at win.dtu.dk]

Department of Physics
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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20200428/ea4f9d8f/attachment-0001.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/20200428/ea4f9d8f/attachment-0002.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/20200428/ea4f9d8f/attachment-0003.gif>

More information about the mcstas-users mailing list