in reply to Re^4: OpenMPI and Perl
in thread OpenMPI and Perl

I tried it on FC6, and it installed with no problems. It seems to me that since the problem is with a shared file, you want to try a static install. The author even encourages a static install, at least for Storable.

For OpenMPI, I used

./configure --disable-shared --enable-static --with-gnu-ld
to configure it. I manually downloaded and installed Parallel::MPI::Simple and had no problems.

Replies are listed 'Best First'.
Re^6: OpenMPI and Perl
by brunocontreras (Initiate) on Jun 16, 2011 at 13:53 UTC

    In Rocks (CentOS) 5.4 the 'cpan -i Parallel::MPI::Simple' command fails to correctly compile the module, but I was able to eventually make it work by following the instructions of Eric Martel in

    https://ericmartel.net/blogue/?p=45

    which consist of changing gcc for mpicc in the generated makefile in .cpan/build/ , hope it helps