7:03:38 AM PST - Sun, Feb 15th 2015 |
|
Hello,
I am having considerable issues with compiling NMChem on my single-processor system. After three days of trying, I need to turn to the forum. It appears I am the only one getting these problems since Google did not report similar problems. I will first describe my environment as fully as possible and then the compilation problem.
System:
Intel i7 870 processor (Nehalem, 1 socket, 4 cores, 64-bit)
Fedora 20 64-bit installed in VMware 11.
NWChem-6.5 (lastest snapshot, revision26243-src.2014-09-10)
Intel Cluster Studio 2013 (full) installed.
Environment vars exported:
source /opt/intel/bin/compilervars.sh intel64
source /opt/intel/impi/4.1.3.048/intel64/bin/mpivars.sh
source /opt/intel/composer_xe_2013_sp1.2.144/bin/compilervars.sh intel64
NWchem vars exported (Bash):
export NWCHEM_TOP=/home/msxtj/Applications/Nwchem-6.5
export NWCHEM_TARGET=LINUX64
export NWCHEM_MODULES="md"
export NWCHEM_MPIF_WRAP=/opt/intel/impi/4.1.3.048/intel64/bin/mpiifort
export NWCHEM_MPIC_WRAP=/opt/intel/impi/4.1.3.048/intel64/bin/mpiicc
export NWCHEM_MPICXX_WRAP=/opt/intel/impi/4.1.3.048/intel64/bin/mpiicpc
export NWCHEM_LONG_PATHS=Y
export USE_NOFSCHECK=Y
export USE_MPI=Y
export USE_MPIF=Y
export USE_MPIF4=Y
export MPI_INCLUDE="-I/opt/intel//impi/4.1.3.048/intel64/include -I/opt/intel/impi/4.1.3.048/intel64/include"
export MPI_LIB="-L/opt/intel/impi/4.1.3.048/intel64/lib"
export LIBMPI="-lmpigf -lmpi -lmpigi -ldl -lrt -lpthread"
export FC=ifort
export CC=icc
export CXX=icpc
export ARMCI_NETWORK=
export USE_NOIO=TRUE
export MSG_COMMS=MPI
The above is in a file called env0.sh which I sourced (source env0.sh).
Testing the sourcing with `echo $NWCHEM_TOP` gives the path of the base folder where `<base>/src` resides.
Setup process:
1) Export all Intel Cluster studio vars
2) Export all NWchem vars from above
3) make nwchem_config
4) make
Compile error:
See log here: [1]
Note: I executed `make` and printed to the console. The process took a long time and failed with `make: *** [all] Error 1`. I believe the error is somewhere in the last part (as seen in the logfile). Thus, without doing a `make clean`, I executed make again to print the last part of what I believe is causing the problem. (multiple definitions of xxx).
I found it quite difficult to install NWchem. Can anybody tell me what I am doing wrong?
Thank you.
|
|