compilation issue: Nwchem-dev.revision26871-src.2015-02-24.tar


Just Got Here
Hi all,

Following is my script for compilation:

  1. !/bin/bash

export NWCHEM_TOP=/home/gh404/Nwchem-6.5_24thFeb
export NWCHEM_TARGET=LINUX64
export ARMCI_NETWORK=OPENIB
export LARGE_FILES=TRUE
export ENABLE_COMPONENT=yes
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export MPI_LOC=/cm/shared/apps/openmpi/intel/64/1.8.1
export MPI_LIB=$MPI_LOC/lib64
export MPI_INCLUDE=$MPI_LOC/include
export LIBMPI="-lmpi_f90 -lmpi_f77 -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil"
export NWCHEM_MODULES="all drdy"
export MRCC_METHODS=y
export CCSDTQ=y
export CCSDTLR=y
export IPCCSD=y
export EACCSD=y
export BLASOPT="-llapack -lblas"


cd src
make realclean &>make.log
make 64_to_32
make USE_64TO32=y BLASOPT="-llapack -lblas"
make nwchem_config
export FC=ifort
export F77=ifort
export CC=icc
make
make link

and I got the following error:

cat: /home/gh404/Nwchem-6.5_24thFeb/src/tools/build/config.h: No such file or directory
make -C config -f make_nwchem_config NWCHEM_MODULES="all drdy"
echo \# This configuration generated automatically on \
`hostname` at `date` > nwchem_config.h
echo \# This configuration generated automatically on \
`hostname` at `date` > NWCHEM_CONFIG
echo "# Request modules from user: all drdy" >> nwchem_config.h
echo "# Request modules from user: all drdy" >> NWCHEM_CONFIG
echo "NW_MODULE_SUBDIRS = NWints atomscf ddscf gradients moints nwdft rimp2 stepper driver optim cphf ccsd vib mcscf prepar esp hessian selci dplot mp2_grad qhop property solvation nwpw fft analyz nwmd cafe space drdy vscf qmmm qmd etrans tce bq mm cons perfm dntmc dangchang ccca" >> nwchem_config.h
echo The following subdirectories are built: >> NWCHEM_CONFIG
echo "NW_MODULE_LIBS = -lccsd -lmcscf -lselci -lmp2 -lmoints -lstepper -ldriver -loptim -lnwdft -lgradients -lcphf -lesp -lddscf -ldangchang -lguess -lhessian -lvib -lnwcutil -lrimp2 -lproperty -lsolvation -lnwints -lprepar -lnwmd -lnwpw -lofpw -lpaw -lpspw -lband -lnwpwlib -lcafe -lspace -lanalyze -lqhop -lpfft -ldplot -ldrdy -lvscf -lqmmm -lqmd -letrans -lpspw -ltce -lbq -lmm -lcons -lperfm -ldntmc -lccca" >> nwchem_config.h
echo NWints analyz atomscf bq cafe ccca ccsd cons cphf dangchang ddscf dntmc dplot drdy driver esp etrans fft gradients hessian mcscf mm moints mp2_grad nwdft nwmd nwpw optim perfm prepar property qhop qmd qmmm rimp2 selci solvation space stepper symmetry tce vib vscf >> NWCHEM_CONFIG
echo "EXCLUDED_SUBDIRS = develop nwxc scfaux rimp2_grad python argos diana uccsdt rism geninterface smd nbo

Just Got Here
leps lucia" >> nwchem_config.h
echo corresponding to these libraries: >> NWCHEM_CONFIG
echo "CONFIG_LIBS = " >> nwchem_config.h
echo -lnwints -lanalyze -lguess -lbq -lcafe -lccca -lccsd -lcons -lcphf -ldangchang -lddscf -ldntmc -ldplot -ldrdy -ldriver -lesp -letrans -lpfft -lgradients -lhessian -lmcscf -lmm -lmoints -lmp2 -lnwdft -lnwmd -lnwpw -lofpw -lpaw -lpspw -lband -lnwpwlib -loptim -lperfm -lprepar -lproperty -lqhop -lqmd -lqmmm -lrimp2 -lselci -lsolvation -lspace -lstepper -lnwcutil -ltce -lvib -lvscf >> NWCHEM_CONFIG
cp census.skeleton ../stubs.F
echo >> NWCHEM_CONFIG
for routine in argos argos_input crossing debtest dia_input diana gasdev geninterface jantest jvltest jvltest2 kgdtest leps_energy leps_gradient lucia mc_data mc_driver mc_init mc_main md_data md_driver md_set moints_screen mymc_input mymd_input nbo_input nwxc_eval_df nwxc_eval_df2 nwxc_eval_df3 nwxc_get_cam nwxc_has_cam nwxc_has_disp nwxc_has_hfx nwxc_input nwxc_is_gga nwxc_is_lda nwxc_is_mgga nwxc_is_on nwxc_print_nwpw nwxc_rtdb_delete nwxc_rtdb_load nwxc_rtdb_store nwxc_vdw3_dftd3 nwxc_wght_hfx python_input raktest rimp2g rism_input rjhtest smd_input task_fragment_energy task_nbo task_python task_rism task_smd task_smd_dynamics task_smd_energy task_smd_fragment uccsdt uccsdtest urand; do \
sed s/STUBROUTINE/$routine/g stub.skeleton >> ../stubs.F ; \
done
echo The following directories are excluded from the build: >> NWCHEM_CONFIG
echo develop nwxc scfaux rimp2_grad python argos diana uccsdt rism geninterface smd nbo leps lucia >> NWCHEM_CONFIG
echo and these routines will be replaced by stubs: >> NWCHEM_CONFIG
echo argos argos_input crossing debtest dia_input diana gasdev geninterface jantest jvltest jvltest2 kgdtest leps_energy leps_gradient lucia mc_data mc_driver mc_init mc_main md_data md_driver md_set moints_screen mymc_input mymd_input nbo_input nwxc_eval_df nwxc_eval_df2 nwxc_eval_df3 nwxc_get_cam nwxc_has_cam nwxc_has_disp nwxc_has_hfx nwxc_input nwxc_is_gga nwxc_is_lda nwxc_is_mgga nwxc_is_on nwxc_print_nwpw nwxc_rtdb_delete nwxc_rtdb_load nwxc_rtdb_store nwxc_vdw3_dftd3 nwxc_wght_hfx python_input raktest rimp2g rism_input rjhtest smd_input task_fragment_energy task_nbo task_python task_rism task_smd task_smd_dynamics task_smd_energy task_smd_fragment uccsdt uccsdtest urand >> NWCHEM_CONFIG
echo "No extra configuration libraries were added " >> NWCHEM_CONFIG
cp util_module_avail_F.begin ../util/util_module_avail.F
echo "c This function was auto generated by make_nwchem_config" >> ../util/util_module_avail.F
for module in NWints analyz atomscf bq cafe ccca ccsd cons cphf dangchang ddscf dntmc dplot drdy driver esp etrans fft gradients hessian mcscf mm moints mp2_grad nwdft nwmd nwpw optim perfm prepar property qhop qmd qmmm rimp2 selci solvation space stepper symmetry tce vib vscf; do \
echo " case (\""$module"\")" >> ../util/util_module_avail.F ; \
       done
cat util_module_avail_F.end >> ../util/util_module_avail.F
cat: /home/gh404/Nwchem-6.5_24thFeb/src/tools/build/config.h: No such file or directory
You did not define BLASOPT. Performance may suffer greatly.
Please consider using ATLAS, GotoBLAS2, OpenBLAS, Intel MKL,
IBM ESSL, AMD ACML, etc. to improve performance.
If you insist on not using a fast implementation of BLAS/LAPACK,
define BLASOPT="-llapack -lblas" and the internal Netlib will be used.
cat: /home/gh404/Nwchem-6.5_24thFeb/src/tools/build/config.h: No such file or directory
grep: /home/gh404/Nwchem-6.5_24thFeb/src/tools/build/Makefile: No such file or directory
grep: /home/gh404/Nwchem-6.5_24thFeb/src/tools/build/Makefile: No such file or directory

Just Got Here
make nwchem.o stubs.o
cat: /home/gh404/Nwchem-6.5_24thFeb/src/tools/build/config.h: No such file or directory
make[1]: warning: -jN forced in submake: disabling jobserver mode.
ifort -i8 -align -vec-report6 -fimf-arch-consistency=true -O2 -g -fp-model source -I. -I/home/gh404/Nwchem-6.5_24thFeb/src/include -I/home/gh404/Nwchem-6.5_24thFeb/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DCOMPILATION_DATE="'`date +%a_%b_%d_%H:%M:%S_%Y`'" -DCOMPILATION_DIR="'/home/gh404/Nwchem-6.5_24thFeb'" -DNWCHEM_BRANCH="'Development'" -c -o nwchem.o nwchem.F
ifort -i8 -align -vec-report6 -fimf-arch-consistency=true -O2 -g -fp-model source -I. -I/home/gh404/Nwchem-6.5_24thFeb/src/include -I/home/gh404/Nwchem-6.5_24thFeb/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DCOMPILATION_DATE="'`date +%a_%b_%d_%H:%M:%S_%Y`'" -DCOMPILATION_DIR="'/home/gh404/Nwchem-6.5_24thFeb'" -DNWCHEM_BRANCH="'Development'" -c -o stubs.o stubs.F
nwchem.F(3): #error: can't find include file: errquit.fh
nwchem.F(4): #error: can't find include file: mafdecls.fhsnwchem.F(5): eerror:ccan't find include file: global.fh
nwchem.F(6): #error: can't find include file: rtdb.fh
nwchem.F(7): #error: can't find include file: tcgmsg.fh
nwchem.F(8): #error: can't find include file: pstat.fh
nwchem.F(9): #error: can't find include file: util.fh
nwchem.F(10): #error: can't find include file: inp.fh
nwchem.F(11): #error: can't find include file: bgj_common.fh
nwchem.F(12): #error: can't find include file: stdio.fh
rquit.fh
stubs.F(96): #error: can't find include file: errquit.fh
stubs.F(105): #error: can't find include file: errquit.fh
stubs.F(114): #error: can't find include file: errquit.fh
stubs.F(123): #error: can't find include file: errquit.fh
stubs.F(132): #error: can't find include file: errquit.fh
stubs.F(141): #error: can't find include file: errquit.fh
stubs.F(150): #error: can't find include file: errquit.fh
stubs.F(159): #error: can't find include file: errquit.fh
stubs.F(168): #error: can't find include file: errquit.fh
stubs.F(177): #error: can't find include file: errquit.fh
stubs.F(186): #error: can't find include file: errquit.fh
stubs.F(195): #error: can't find include file: errquit.fh
stubs.F(204): #error: can't find include file: errquit.fh
stubs.F(213): #error: can't find include file: errquit.fh
stubs.F(222): #error: can't find include file: errquit.fh
stubs.F(231): #error: can't find include file: errquit.fh
stubs.F(240): #error: can't find include file: errquit.fh
stubs.F(249): #error: can't find include file: errquit.fh
stubs.F(258): #error: can't find include file: errquit.fh
stubs.F(267): #error: can't find include file: errquit.fh
stubs.F(276): #eerror: can't find include file: global.fh
nwchem.F(372): #error: can't find include file: inp.fh
fh
stubs.F(294): #error: can't find include file: errquit.fh
stubs.F(303): #error: can't find include file: errquit.fh
stubs.F(312): #eerror: can't find include file: mafdecls.fh
nwchem.F(374): #error: can't find include file: util.fh
nwchem.F(375): #error: can't find include file: stdio.fh
stubs.F(339): #error: can't find include file: errquit.fh
stubs.F(348): #error: can't find include file: errquit.fh
stubs.F(357): #error: can't find include file: errquit.fh
stubs.F(366): #error: can't find include file: errquit.fh
stubs.F(375): #error: can't find include file: errquit.fh
stubs.F(384): #error: can't find include file: errquit.fh
stubs.F(393): #error: can't find include file: errquit.fh
stubs.F(402): #error: can't find include file: errquit.fh
stubs.F(411): #error: can't find include file: errquit.fh
stubs.F(420): #error: can't find include file: errquit.fh
stubs.F(429): #error: can't find include file: errquit.fh
stubs.F(438): #error: can't find include file: errquit.fh
stubs.F(447): #eerror: can't find include file: global.fh
nwchem.F(629): #error: can't find include file: errquit.fh
nwchem.F(630): #error: can't find include file: inp.fh
nwchem.F(631): #error: can't find include file: mafdecls.fh
nwchem.F(632): eerror: can't find include file: rtdb.fh
nwchem.F(633): #error: can't find include file: stdio.fh
nwchem.F(634): eerror:ccan't find include file: util.fh
stubs.F(537): #error: can't find include file: errquit.fh
stubs.F(546): #error: can't find include file: errquit.fh
stubs.F(555): #error: can't find include file: errquit.fh
make[1]: *** [stubs.o] Error 61
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [nwchem.o] Error 22
make: *** [link] Error 2

Please suggest me what are the changes I have to do.

Anup


Forum >> NWChem's corner >> General Topics