On the cluster, we need different flavors of netCDF, for example, with C and Fortran libraries. Where can I find an EasyBuild config file for this?
There is a collection of Easybuild configuration files (called easyconfig files) in the Easybuild github organization in a repository called easybuild-easyconfigs.
Within that repository you can find a subdirectory easyconfigs/n
. This contains a set of Easybuild configuarition files in sub-directories netCDF
and netCDF-Fortran
.
There are 56 different compiler version, MPI version and netCDF version combination config files in the netCDF
directory at the moment. For each particular version of netCDF there are a handful of variants. Usually there is a FOSS tool chain (GNU compilers, OpenMPI) and and Intel toolchain option.
If you have Easybuild already on a system then the sub-directory software/EasyBuild/3.6.2/lib/python2.7/site-packages/easybuild_easyconfigs-3.6.2-py2.7.egg/easybuild/easyconfigs
within the Easybuild install directory will contain a similar tree of configuration files. In theory these can also be used to derive the many other combinations of compiler, MPI version, HDF parallel, netCDF version and so on. I am not sure if there is an exhaustive set anywhere.