I have recently installed the environment-modules
package (version 4.1.1-1
) on Linux Mint 19, and I'm trying to figure out how to set-up different environments. Unfortunately, the docs only give few pointers as what to do when you're not already an expert on the subject matter (I was hoping for a simple example, instead I found mostly just a list of commands). To be more concrete, I have the following situation:
- I have Modules installed in
/usr/share/modules/
. - I have compiled OpenMPI using two different compilers (GNU and Intel). The corresponding binaries, libraries, etc. are located in
/usr/local/modules/mpi/gnu
and/usr/local/modules/mpi/intel
, respectively. - I want to set-up two environments, one for each compiled version of MPI, so that I can easily switch between those (
module load mpi/gnu
,module load mpi/intel
, or something similar).
I apologise if this question is trivial, or if it has been posted before. The mere name of the Modules package makes it incredibly hard to search the web for support (it's like someone naming their product Software; good lucking finding what you need on Google). Your assistance will be greatly appreciated.