compile nwchem-6-3 with openmpi1.6.5 & ifort


Click here for full thread
Clicked A Few Times
Thanks for helping! Just got another error - gn -w -g -vec-report1 -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div -xHost -no-prec-div -I. -I/home/minenky/programs/nwchem/nwchem-6.3/src/include -I/home/minenky/programs/nwchem/nwchem-6.3/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DMPI Parallel.F
ifort -c -i8 -i8 -align -w -g -vec-report1 -i8 -align -w -g -vec-report1 -i8 -align -w -g -vec-report1 -i8 -align -w -g -vec-report1 -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div -xHost -no-prec-div -I. -I/home/minenky/programs/nwchem/nwchem-6.3/src/include -I/home/minenky/programs/nwchem/nwchem-6.3/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DMPI Parallel-mpi.F
ifort: command line remark #10382: option '-xHOST' setting '-xSSE4.2'
ifort: command line remark #10382: option '-xHOST' setting '-xSSE4.2'
Parallel-mpi.F(29): #error: can't find include file: mpif.h
Parallel-mpi.F(158): #error: can't find include file: mpif.h
Parallel-mpi.F(264): #error: can't find include file: mpif.h
Parallel-mpi.F(314): #error: can't find include file: mpif.h
Parallel-mpi.F(456): #error: can't find include file: mpif.h
Parallel-mpi.F(500): #error: can't find include file: mpif.h
Parallel-mpi.F(538): #error: can't find include file: mpif.h
Parallel-mpi.F(581): #error: can't find include file: mpif.h
Parallel-mpi.F(624): #error: can't find include file: mpif.h
Parallel-mpi.F(672): #error: can't find include file: mpif.h
Parallel-mpi.F(729): #error: can't find include file: mpif.h
Parallel-mpi.F(795): #error: can't find include file: mpif.h
Parallel-mpi.F(839): #error: can't find include file: mpif.h
Parallel-mpi.F(879): #error: can't find include file: mpif.h
Parallel-mpi.F(927): #error: can't find include file: mpif.h
Parallel-mpi.F(1004): #error: can't find include file: mpif.h
Parallel-mpi.F(1093): #error: can't find include file: mpif.h
Parallel-mpi.F(1126): #error: can't find include file: mpif.h
Parallel-mpi.F(1175): #error: can't find include file: mpif.h
Parallel-mpi.F(1223): #error: can't find include file: mpif.h
Parallel-mpi.F(1274): #error: can't find include file: mpif.h
Parallel-mpi.F(1339): #error: can't find include file: mpif.h
Parallel-mpi.F(1412): #error: can't find include file: mpif.h
Parallel-mpi.F(1459): #error: can't find include file: mpif.h
Parallel-mpi.F(1505): #error: can't find include file: mpif.h
Parallel-mpi.F(1558): #error: can't find include file: mpif.h
Parallel-mpi.F(1625): #error: can't find include file: mpif.h
Parallel-mpi.F(1754): #error: can't find include file: mpif.h
make[4]: *** [/home/minenky/programs/nwchem/nwchem-6.3/lib/LINUX64/libnwpwlib.a(Parallel-mpi.o)] Error 28
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [optimized] Error 2
make[2]: *** [subdirs] Error 1
make[1]: *** [subdirs] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [libraries] Error 1


The problem is that ifort cannot compile the above mentioned file: arallel-mpi.F
If I specify FC=mpifort in the compiling script, it does the job - but the resulting version of nwchem can not run in parallel normally.