[Pw_forum] How to configure "MPI_LIB=" in make.sys ?

Paolo Giannozzi giannozz at democritos.it
Thu Jan 8 12:00:11 CET 2009


On Jan 8, 2009, at 9:27 , 杨茂 wrote:

> I want to compile PWSCF in parallel using mpich.
> I do not konw what is needed in "MPI_LIB".

use "configure" with no optiobs first. If it doesn't find the MPI
libraries, they are in some nonstandard place, in which case,
YOU have to know where they are.

> I configure it "MPI_LIB=-L/..../mpich/lib -lmpi -lmpichf90 "

Maybe. -L/directory/where/mpich/libraries/are -lxyz will
find /directory/where/mpich/libraries/are/libxyz.a (or .so
if it is a shared library)

Paolo
---
Paolo Giannozzi, Democritos and University of Udine, Italy





More information about the users mailing list