[Wien] compile problem mpi parallel

Chandrika rcais at cal3.vsnl.net.in
Wed Sep 19 12:37:11 CEST 2007


Dear Wien users,
I am having a problem in compiling for mpi parallel. I have a cluster of eight P IV machines with fedora core 5 and Intel Cluster mkl. I have parallelised using Oscar 5 (mpich).
K point parallel runs successfully. The options I used for mpi are 
FOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML

LDFLAGS:-L/opt/intel_fc_80/lib -i-static -lguide_stats -lpthread

DPARALLEL:'-DParallel'

R_LIBS:-L/opt/intel/mkl72cluster/lib/32 -lmkl_lapack -lmkl_ia32 -lguide_stats -lpthread 

RP_LIBS:-L /opt/intel/mkl72cluster/lib/32 -lmkl_sclapack -lmkl_blacs -lmkl_lapack -lmkl_ia32 -lguide_stats -lpthread -lpblas -lmpich

MPIRUN:mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_



The last two options are probably wrong. The compile error for lapw0 says :



SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 19: Cannot open include file 'mpif.h'

SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 42: Cannot open include file 'mpif.h'

SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 20: This name does not have a type, and must have an explicit type.   [MPI_STATUS_SIZE]

SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 20: The highest data type rank permitted is INTEGER(KIND=8).   [MPI_STATUS_SIZE]

SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 22: This name does not have a type, and must have an explicit type.   [MPI_SUCCESS]

SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 26: This name does not have a type, and must have an explicit type.   [MPI_COMM_WORLD]

SRC_lapw0/compile.msg:fortcom: Error: modules.F, line 44: This name does not have a type, and must have an explicit type.   [MPI_UNDEFINED]


I have included mpich library path into basrc and ld.so.conf.

Please suggest how to solve this.

Thank you for your time.

Chandrika



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20070919/610a11ed/attachment.html


More information about the Wien mailing list