SEARCH
TOOLBOX
LANGUAGES
Forum Menu

Compiling questions

From NWChem

Viewed 147 times, With a total of 3 Posts
Jump to: navigation, search

Clicked A Few Times
Threads 15
Posts 18
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?

  • Bert Forum:Admin, Forum:Mod, NWChemDeveloper, bureaucrat, sysop
    Profile
    Send PM
Forum Vet
Threads 3
Posts 332
See the following forum item for details. The Intel compiler does not like the large file size of util_version.F.

http://www.nwchem-sw.org/index.php/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
Threads 15
Posts 18
/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?

  • Bert Forum:Admin, Forum:Mod, NWChemDeveloper, bureaucrat, sysop
    Profile
    Send PM
Forum Vet
Threads 3
Posts 332
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



Who's here now Members 0 Guests 0 Bots/Crawler 1


AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC