7:12:29 AM PST - Wed, Dec 9th 2015 |
|
After playing around with the settings a bit it seems the error arose because I set the OpenMP flag in BLASOPT, which is not invoked when compiling ccsd_t_kernels_omp.F. It seems the correct approach is to use the option USE_OPENMP=y, which adds -qopenmp to the general compilation flags, and then it compiles without problems.
For reference here is the error I got when compiling without -qopenmp:
ifort -c -i8 -align -fpp -qopt-report-file=stderr -fimf-arch-consistency=true -finline-limit=250 -O3 -unroll -ip -xHost -I. -I../include -I/home/twk/dev/nwchem-6.6-ifort15-64to32/src/include -I/home/twk/dev/nwchem-6.6-ifort15-64to32/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DDEBUG_PRINT ccsd_t_kernels_omp.F
/tmp/ifortlMNR7S.i: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for ccsd_t_kernels_omp.F (code 1)
make[3]: *** [/home/twk/dev/nwchem-6.6-ifort15-64to32/lib/LINUX64/libtce.a(ccsd_t_kernels_omp.o)] Error 1
make[3]: Leaving directory `/home/twk/dev/nwchem-6.6-ifort15-64to32/src/tce/ccsd_t'
make[2]: *** [optimized] Error 2
make[2]: Leaving directory `/home/twk/dev/nwchem-6.6-ifort15-64to32/src/tce/ccsd_t'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/twk/dev/nwchem-6.6-ifort15-64to32/src/tce'
make: *** [libraries] Error 1
Tom
|