I build the source from GitHub in Windows10’s Ubuntu bash.
After “cmake & make”, “ctest” shows all tests are failed. And after “make install”, I try to run a H2O SCF example but get “Segmentation fault (core dumped)” error.
I can’t finger out the problem. Below is the cmake command.
What is CMAKE_PREFIX_PATH pointing to as you’re using it? Did the make succeed? What’s ldd stage/${CMAKE_INSTALL_PREFIX}/lib/psi4/core.so ? Are you connecting those lines in the cmake command with \ for line continuation if they’re on separate lines? What’s the output of the cmake configuation? Does psi4 --version work?
I meant “what do you have installed at the location pointed to by CMAKE_PREFIX_PATH and where (package manager, personal compilation, etc.) did you get it?”. Are your lapack libraries static that they don’t show up in ldd? You’re telling it to build dynamic libraries and not telling it to build pcmsolver, but pcm isn’t showing up in ldd yet the error message is referencing libpcm.so.
Your circumstances strike me as strange, as if you’ve got more than one psi4 around or are mixing packages from multiple sources.