[mcstas-users] Perl problem Ubuntu 11.10
robert.dalgliesh at stfc.ac.uk
robert.dalgliesh at stfc.ac.uk
Tue Nov 8 17:52:21 CET 2011
Peter,
Just as a note on the Ubuntu 11.10 the two libraries seem to be
Openmpi-bin and libopenmpi-dev
All seems to be working ok
Thanks
Rob
-----Original Message-----
From: Willendrup, Peter Kjær [mailto:PKWI at risoe.dtu.dk]
Sent: 26 October 2011 07:34
To: Dalgliesh, Robert (STFC,RAL,ISIS)
Cc: mcstas-users at mcstas.org
Subject: Re: [mcstas-users] Perl problem Ubuntu 11.10
Hi Rob,
Since you are trying to use mpd I guess that you have MPICH installed for parallelization? My suggestion would be to install openmpi instead:
apt-get install openmpi openmpi-devel
- and configure McStas to use that (mcstas_config.perl in /usr/local/lib/mcstas/tools/perl - put the relevant path to the mpirun and mpicc from the openmpi package). Openmpi uses an other transport mechanism that is not dependent on running an mpd process.
Hope this helps,
Peter
--
-------------------------------------------------------------------
Peter Willendrup - Development engineer
Risø DTU, Materials Research Division
Frederiksborgvej 399
DK-4000 Roskilde
Tlf.: (+45) 4677 5862
Mobil.: (+45) 2125 4612
Fax.: (+45) 4766 5758
Email: pkwi at risoe.dtu.dk
-------------------------------------------------------------------
On Oct 25, 2011, at 23:12 , <robert.dalgliesh at stfc.ac.uk> wrote:
> Hi Peter,
> I've spotted another problem with the new ubuntus. 10.10 onwards.
> Mpd is now the name of the main music playing program.
>
> Hence something like this won't work anymore.
>
> mpd &
> mcrun -c --mpi=8 -n 1e8 test.instr --format=Matlab
>
> Any hints on how to launch a multiprocessor run.
>
> Rob
>
> -----Original Message-----
> From: mcstas-users-bounces at mcstas.org [mailto:mcstas-users-bounces at mcstas.org] On Behalf Of Willendrup, Peter Kjær
> Sent: 24 October 2011 11:45
> To: <Jean-Francois.Moulin at hzg.de> <Jean-Francois.Moulin at hzg.de>
> Cc: McStas users list at mcstas.org
> Subject: Re: [mcstas-users] Perl problem Ubuntu 11.10
>
> Hello Jean-Francois,
>
> On Oct 24, 2011, at 10:10 , <Jean-Francois.Moulin at hzg.de<mailto:Jean-Francois.Moulin at hzg.de>> <Jean-Francois.Moulin at hzg.de<mailto:Jean-Francois.Moulin at hzg.de>> wrote:
>
> I just upgraded my ubuntu to 11.10 and now get the following error
>
> /usr/bin/perl: symbol lookup error: /usr/lib/libpgplot.so.5: undefined symbol: XOpenDisplay
>
> (this of course means I cannot plot anything)
>
> any clue?
>
> There seems to be a problem with the perl-PGPLOT provided with the newest Ubuntu. Will file a bug-report with them. It turns out there is a work-around here:
>
> 1) Install a few packages:
> apt-get install gfortran libextutils-f77-perl libx11-dev
>
> 2) Get, build and install perl-PGPLOT from CPAN:
> wget http://search.cpan.org/CPAN/authors/id/K/KG/KGB/PGPLOT-2.21.tar.gz
> tar xzvf PGPLOT-2.21.tar.gz
> cd PGPLOT-2.21/ && perl Makefile.PL && make && sudo make install
>
> Cheers,
>
> Peter
>
> --
> -------------------------------------------------------------------
> Peter Willendrup - Development engineer
>
> Risø DTU, Materials Research Division
> Frederiksborgvej 399
> DK-4000 Roskilde
>
> Tlf.: (+45) 4677 5862
> Mobil.: (+45) 2125 4612
> Fax.: (+45) 4766 5758
> Email: pkwi at risoe.dtu.dk<mailto:pkwi at risoe.dtu.dk>
> -------------------------------------------------------------------
>
> _______________________________________________
> mcstas-users mailing list
> mcstas-users at mcstas.org
> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
> --
> Scanned by iCritical.
--
Scanned by iCritical.
More information about the mcstas-users
mailing list