[Octopus-users] how to build parallel version correctly ?
Xavier Andrade
xavier at tddft.org
Thu Mar 6 08:25:07 WET 2008
Hi,
The easiest way to do it is to use the wrappers that mpi provides to the
compiler, so instead of your compilers use mpicc and mpif90. So you
should call configure like this (plus the other options you might need):
./configure --enable-mpi CC=mpicc FC=mpif90
Cheers,
Xavier
On Thu, 6 Mar 2008, lan haiping wrote:
> Dear Developers
>
> i have tried several times to build parallel version with mpich2 without
> success.
> It seems no much information for output of 'configure -help' script. It
> just gives me
> to set --enable-mpi=<PATH>. I have tried to set it to $MPICH2 or
> $MPICH2/bin ,or $MPICH/lib .
> All these trying seem no success, and script always complain that
> checking for MPI_init in -L/opt/mpich2/lib... no
> checking for MPI_init in -lmpi... no
> configure: error: cannot call MPI from C (required for libnbc)
>
> Would you please send some comments on it ? I have successfully build
> serial version, and want to
> try its parallel feature .
>
> Best,
>
> Hai-Ping
>
>
>
> --
> Hai-Ping Lan
> Department of Electronics ,
> Peking University , Bejing, 100871
> lanhaiping at gmail.com, hplan at pku.edu.cn
>
More information about the Octopus-users
mailing list