[Octopus-users] compiling octopus_mpi 3.1.0 with mpich in a non-standard directory
Xavier Andrade
xavier at tddft.org
Thu Jun 11 09:17:37 WEST 2009
Hi Daniel,
On Thu, 11 Jun 2009, Daniel.joubert wrote:
> Installation of octopus_mpi on a system with mpich in standard
> directories in /usr/local/ works fine. I am now trying to compile
> octopus_mpi 3.1.0 on an IBM e1350 Cluster with the mpich installation in
> a 'non-standard' directory. Specifying --enable-mpi="root directory of
> mpich2 installation" does not work. It seems that the mpich libraries
> are not found during configuration. . What information has to supplied
> to configure when the mpich is installed in non-standard directories?
>
Besides library information, you also have to pass the flags for the
compiler to find MPI headers/modules both for C and Fortran, perhaps this
is what causing problems. You can check why the compilation failed in the
config.log file.
In any case, with mpich is better to specify as compilers the wrapper
scripts (mpicc and mpif90) instead of passing the flags directly.
Cheers,
Xavier
More information about the Octopus-users
mailing list