Open jeffhammond opened 5 years ago
Thanks Jeff, I will leave this open so others can see it. This is somewhat system dependent, so I am hoping NERSC is going to have a page about installing BAGEL one day :-)
Note to add: The only reason why MPI has to be specified as a configure option (--with-mpi=xxx) is to make sure we link proper MKL libraries (one can see it in configure.ac). I presume most of the MPI implementation other than OpenMPI can be handled as if they are the same as IntelMPI.
NERSC asked me for help with this, so I thought I'd share it in case anyone else ever wants to know it. I did not attempt to figure out how to add it to the documentation properly.
BAGEL installation
Note that BAGEL's build system doesn't care that I am using Cray MPI rather than Intel MPI, because the MPI libraries and headers are provided by the
cc
andCC
wrappers, which behave likempicc
andmpicxx
on non-Cray systems.Dependencies
I installed the Intel 19.4 compiler in my directory, so that is what is used, not Intel 18 as shown below.
I unload the
cray-libsci
module because it conflicts with MKL. I had to unload GCC 7.3.0 here because of a conflict with Boost, but I'm not sure if that really matters to BAGEL.Additional details
BAGEL is relatively large and NERSC has rather limited filesystem quotas, so I had to clone the repo into my project directory, because my home directory was not able to hold the source and build files. This may be a consequence of having multiple NWChem folders already 😉