8:39:22 PM PDT - Tue, Oct 8th 2019 |
|
Hi,
I made some progress with the compile, but still having problems.
Basically, if I add:
export ARMCI_NETWORK="MPI-PR",
I am able to get past the previous error.
However, if I just use make (without CC= or FC= ), I get a similar error:
checking for mpi.h... yes
checking for library containing MPI_Init... no
configure: error: test for COMEX_NETWORK=MPI_PR failed
configure: error: ../../ga-5.6.3/comex/configure failed for comex
GNUmakefile:652: recipe for target 'build/config.status' failed
make[1]: *** [build/config.status] Error 1
make[1]: Leaving directory '/home/ubuntu/nwchem-6.8/src/tools'
GNUmakefile:103: recipe for target 'libraries' failed
Adding CC=/home/ubuntu/anaconda3/envs/python2/bin/mpicc gets me past this error, but then a new error shows up:
make[1]: *** No rule to make target '/home/ubuntu/nwchem-6.8/src/include/mafdecls.fh', needed by '/home/ubuntu/nwchem-6.8/lib/LINUX64/libnwcutil.a(basis.o)'. Stop.
Adding FC=/home/ubuntu/anaconda3/envs/python2/bin/mpif90 gets me past this error, but then there is an -i8 error much later:
Making libraries in basis
make[1]: Entering directory '/home/ubuntu/nwchem-6.8/src/basis'
/home/ubuntu/anaconda3/envs/python2/bin/mpif90 -c -i8 -g -I. -I/home/ubuntu/nwchem-6.8/src/include -I/home/ubuntu/nwchem-6.8/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DNOIO -DEAFHACK -DPARALLEL_DIAG basis.F
gfortran: error: unrecognized command line option ‘-i8’
../config/makefile.h:2694: recipe for target '/home/ubuntu/nwchem-6.8/lib/LINUX64/libnwcutil.a(basis.o)' failed
make[1]: *** [/home/ubuntu/nwchem-6.8/lib/LINUX64/libnwcutil.a(basis.o)] Error 1
make[1]: Leaving directory '/home/ubuntu/nwchem-6.8/src/basis'
GNUmakefile:103: recipe for target 'libraries' failed
make: *** [libraries] Error 1
I tried switching the FC to mpifort, but this resulted in the same error.
I'm thinking about trying gfortran next, but it would be wonderful if someone had a suggestion.
Thank you!
VA
|