@BillJ
On CC you can use pkgconf
to get more information regarding a loaded module. For example on narval
I get this for libxc
module load libxc
pkgconf --libs libxc
-L/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Compiler/intel2020/libxc/5.1.3/lib64 -lxc
Once you load openmpi
module, you do not need to specify its path at installation. It's already available on the system path.
We have observed inconsistencies in CC scalapack
, openblas
and libxc
modules from time to time. If you run into any issues using these modules, you may want to have your own installation of them.