ld: cannot find -lpython2.7


Click here for full thread
Clicked A Few Times
Hi all,

nwchem-6.6

OS Scientific Linux release 6.2 (Carbon)

Relevant python bits in build script --

export PYTHONHOME=/afs/cad.njit.edu/linux/anaconda-2.1.0/anaconda
export PYTHONVERSION=2.7
export USE_PYTHONCONFIG=y

output from make


make[1]: Leaving directory `/afs/cad.njit.edu/u/g/w/gwolosh/ftp/nwchem/nwchem-6.6/src'
ifort -i8 -align -fpp -qopt-report-file=stderr -fimf-arch-consistency=true -finline-limit=250 -O2 -g -fp-model source -Wl,--export-dynamic -L/afs/cad.njit.edu/u/g/w/gwolosh/ftp/nwchem/nwchem-6.6/lib/LINUX64 -L/afs/cad.njit.edu/u/g/w/gwolosh/ftp/nwchem/nwchem-6.6/src/tools/install/lib -o /afs/cad.njit.edu/u/g/w/gwolosh/ftp/nwchem/nwchem-6.6/bin/LINUX64/nwchem nwchem.o stubs.o -lnwctask -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 -lnwpython -ldrdy -lvscf -lqmmm -lqmd -letrans -lpspw -ltce -lbq -lmm -lcons -lperfm -ldntmc -lccca -lnwcutil -lga -larmci -lpeigs -lperfm -lcons -lbq -lnwcutil -L/afs/cad/linux/intel/parallel_studio_cluster_edition_2016/compilers_and_libraries_2016.0.109/linux/mkl/lib/intel64 -lmkl_scalapack_ilp64 -lmkl_intel_ilp64 -lmkl_core -lmkl_sequential -lmkl_blacs_intelmpi_ilp64 -lpthread -lm -l64to32 -L/afs/cad/linux/intel/parallel_studio_cluster_edition_2016/compilers_and_libraries_2016.0.109/linux/mkl/lib/intel64 -lmkl_intel_ilp64 -lmkl_core -lmkl_sequential -lpthread -lm -lnwcblas -L/afs/cad/linux/intel/parallel_studio_cluster_edition_2016/compilers_and_libraries_2016.0.109/linux/mpi/intel64/lib -L/afs/cad/linux/intel/parallel_studio_cluster_edition_2016/compilers_and_libraries_2016.0.109/linux/mpi/intel64/lib/release -lmpifort -lmpi -lmpigi -ldl -lrt -lpthread -lrt -lpthread -lnwcutil -lpython2.7 -lpthread -ldl -lutil -lm -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic
ld: cannot find -lpython2.7
make: *** [all] Error 1


Note that my build is successful if I eliminate the python bits.

Suggestions??

Thanks

GW