I am attempting to build Psi4 and encounter several errors related to CMake install(EXPORT “psi4Targets” …) upon reaching psi4-core. I’m rather unfamiliar with CMake and can’t find a simple solution to this. I would really appreciate if anyone can point out where I am going wrong!
[ 32%] Built target pybind11_external
[ 36%] Installing Psi4-detected BLAS/LAPACK
– Install configuration: “Release”
[ 36%] Built target lapack_external
[ 68%] Built target libint_external
[ 72%] Performing configure step for ‘psi4-core’
loading initial cache file /u/sciteam/msalim/psi4/objdir/psi4-core-prefix/tmp/psi4-core-cache-Release.cmake
– Cray Programming Environment 2.5.4 C
– Cray Programming Environment 2.5.4 CXX
– Using LAPACK: /opt/acml/5.3.1/pgi64/lib/libacml.a;…
– Disabled HDF5
– Using pybind11: /u/sciteam/msalim/psi4/objdir/stage/usr/local/psi4/include (version 2.0.0 for Py3.5.1 and -std=c++11)
– Using Python 3.5: /sw/bw/bwpy/0.3.0/python-single/usr/bin/python3.5
– Disabled CheMPS2
– Disabled dkh
– Disabled libefp
– Disabled erd
– Disabled gdma
– Using libint 5: /u/sciteam/msalim/psi4/objdir/stage/usr/local/psi4/lib/libint.a (version 1.1.6)
– Disabled PCMSolver
CMake Warning (dev) at src/CMakeLists.txt:27 (add_library):
ADD_LIBRARY called with SHARED option but the target platform does not
support dynamic linking. Building a STATIC library instead. This may lead
to problems.
This warning is for project developers. Use -Wno-dev to suppress it.
– Psi4 rpath: $ORIGIN/…/
– Configuring done
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “dpd” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “qt” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “adc” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “ccdensity” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “ccenergy” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “cceom” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “cchbar” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “cclambda” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “ccresponse” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “cctransort” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “cctriples” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “dcft” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “detci” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “dfmp2” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “dfocc” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “efp_interface” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “findif” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “fisapt” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “fnocc” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “mcscf” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “mrcc” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “occ” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “optking” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “psimrcc” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “sapt” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “scfgrad” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “thermo” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “gdma_interface” that is not in the export set.
CMake Error: install(EXPORT “psi4Targets” …) includes target “core” which requires target “dmrg” that is not in the export set.
– Generating done
– Build files have been written to: /u/sciteam/msalim/psi4/objdir/psi4-core-prefix/src/psi4-core-build
make[2]: *** [psi4-core-prefix/src/psi4-core-stamp/psi4-core-configure] Error 1
make[1]: *** [CMakeFiles/psi4-core.dir/all] Error 2
make: *** [all] Error 2