PTL logo

From: Doug Blank (doug.blank_at_[hidden])
Date: 2011-05-16 08:31:24


On Mon, May 16, 2011 at 8:17 AM, Doug Blank <doug.blank_at_[hidden]> wrote:
> Hello list,
>
> First time user, trying to build on Ubuntu 11.04.
>
> 1) First, I tried to ./autogen.sh:
>
> --> Running aclocal
> configure.ac:205: error: AC_SUBST: `MCS ILASM MONO MPIEXEC PERL
>         CSHARP_FLAGS CSHARP_DEFINES MPI_HEADER
>         MPI_SHARED_LIB_NAME MPI_FUNC_PREFIX' is not a valid shell variable name
> configure.ac:205: the top level
> autom4te: /usr/bin/m4 failed with exit status: 1
> aclocal: autom4te failed with exit status: 1
> *** aclocal failed
>
> 2) Next, I tried ./configure:
>
> ...
> checking for mpicc... mpicc
> checking for MPI_Init... no
> checking for MPI_Init in -lmpi... no
> checking for MPI_Init in -lmpich... no
> configure: error: No MPI implementation found
>
> I have mpich2, libmpich2-2, and libmpich2-dev (versions 1.3.1-1)
> installed. The README and FAQ don't give any further suggestions.

Looking at the configure.log file, I see that it failed on -lcr, so I
added package libcr-dev, and now ./configure gives:

checking for mpicc... mpicc
checking for MPI_Init... yes
checking for mpi.h... yes
checking for mpiexec... /usr/bin/mpiexec
checking which MPI is available... MPICH2-based
checking for location of mpi.h... /usr/include/mpich2/mpi.h
checking for MPI_Init in -lpmpich... no
checking for PMPI_Init in -lmpich... yes
configure: error: MPICH library is built statically.
      Please install MPICH built as a shared library by configuring MPICH with
      the --enable-sharedlibs=??? option)

So, a number of issues:

1) error in configure.ac
2) missing dependency on libcr
3) needs to have a MPICH compiled correctly, but need info on how

Is there an easier MPI library to work with under Linux?

Thanks, again, for any pointers/suggestions!

-Doug