Compiling questions


Clicked A Few Times
When I compiled NWCHEM 6.1 ,the following error message appeared:

util_sgroup.F(161): (col. 14) remark: LOOP WAS VECTORIZED.
ifort -c -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div dgefa.f
util_sgroup.F(585): (col. 14) remark: LOOP WAS VECTORIZED.
Making all in md5
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[3]: warning: -jN forced in submake: disabling jobserver mode.
ifort: error #10106: Fatal error in /opt/intel/composer_xe_2011_sp1.6.233/bin/intel64/fortcom, terminated by segmentation violation
compilation aborted for util_version.F (code 1)
make[1]: *** [/nibs/myliu/nwchem-6.1/lib/LINUX64/libnwcutil.a(util_version.o)] Error 1
make: *** [libraries] Error 1

The environmental variables are as follows:

export USE_MPI=y
export USE_MPIF=y
export LIBMPI=" -pthread -L/usr/local/openmpi/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil "
export LIBMPI=" -I/usr/local/openmpi/lib -L/usr/local/openmpi/lib -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil "
export MPI_LIB=/usr/local/openmpii/lib
export MPI_INCLUDE=/usr/local/openmpii/include
export NWCHEM_MODULES=all
export LARGEFILES=TRUE
export FC=ifort
  1. export NWCHEM_MODULES="all python"
export PYTHONHOME=/usr/local/python24
export PYTHONVERSION=2.4
export NWCHEM_TOP=/nibs/myliu/nwchem-6.1
export NWCHEM_TARGET="LINUX64"
  1. export HAS_BLAS=yes

How can I solve this problem?

Forum Vet
See the following forum item for details. The Intel compiler does not like the large file size of util_version.F.

http://nwchemgit.github.io/Special_AWCforum/sp/id1546

Thanks,

Bert

Quote:Lmyiop May 27th 2:10 am
When I compiled NWCHEM 6.1 ,the following error message appeared:

util_sgroup.F(161): (col. 14) remark: LOOP WAS VECTORIZED.
ifort -c -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div dgefa.f
util_sgroup.F(585): (col. 14) remark: LOOP WAS VECTORIZED.
Making all in md5
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[3]: warning: -jN forced in submake: disabling jobserver mode.
ifort: error #10106: Fatal error in /opt/intel/composer_xe_2011_sp1.6.233/bin/intel64/fortcom, terminated by segmentation violation
compilation aborted for util_version.F (code 1)
make[1]: *** [/nibs/myliu/nwchem-6.1/lib/LINUX64/libnwcutil.a(util_version.o)] Error 1
make: *** [libraries] Error 1

The environmental variables are as follows:

export USE_MPI=y
export USE_MPIF=y
export LIBMPI=" -pthread -L/usr/local/openmpi/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil "
export LIBMPI=" -I/usr/local/openmpi/lib -L/usr/local/openmpi/lib -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil "
export MPI_LIB=/usr/local/openmpii/lib
export MPI_INCLUDE=/usr/local/openmpii/include
export NWCHEM_MODULES=all
export LARGEFILES=TRUE
export FC=ifort
  1. export NWCHEM_MODULES="all python"
export PYTHONHOME=/usr/local/python24
export PYTHONVERSION=2.4
export NWCHEM_TOP=/nibs/myliu/nwchem-6.1
export NWCHEM_TARGET="LINUX64"
  1. export HAS_BLAS=yes

How can I solve this problem?

Clicked A Few Times
/usr/bin/ld: cannot find -lnwctask
But when I compiled NWCHEM 6.1 followed the above instructions, the error message disappeared:

/usr/bin/ld: cannot find -lnwctask
collect2: ld returned 1 exit status
make: *** [link] Error 1

How to solve this problem?

Forum Vet
After the changes suggested, do a make real clean and remake the whole code. Looks like somehow your build was messed up.

Bert

Quote:Lmyiop May 28th 2:09 am
But when I compiled NWCHEM 6.1 followed the above instructions, the error message disappeared:

/usr/bin/ld: cannot find -lnwctask
collect2: ld returned 1 exit status
make: *** [link] Error 1

How to solve this problem?


Forum >> NWChem's corner >> Compiling NWChem