Docs
Search…
Programming Environment

Compilers

The Lawrence HPC programming environment has the choice of two compilers: Intel and Gnu 4.8.5 (gcc).

OpenMP

Two options in Lawrence are available for OpenMP: OpenMP Intel and Gnu.
To choose a version of OpenMP, add the version number and "/intel" or "/gcc" to the module command.
1
# For the OpenMPI module with Gnu:
2
[[email protected]@login ~]$ module load openmpi-1.6/gcc
3
4
############## or ################
5
6
#For the OpenMPI module with OpenMP Intel:
7
[[email protected]@login ~]$ module load openmpi-1.6/intel
8
Copied!

MPI

MPI's available with Lawrence: open MPI, mpich (ethernet), and mvapich (infinaband), intel impi
MPI Platform
Module Name
Module Name
Open MPI
openmpi-1.6/gcc
openmpi-1.6/intel
openmpi-1.8/gcc
openmpi-1.8/intel
openmpi-2.0/gcc
openmpi-2.0/intel
mpich
mpich/gcc
mpich/intel
mvapich
mvapich2-2.2/gcc
mvapich2-2.2/intel
1
[[email protected]@login ~]$ module avail
2
------------------------------------------- /usr/share/Modules/modulefiles --------------------------------------------
3
dot module-git module-info modules null use.own
4
5
-------------------------------------------------- /act/modulefiles ---------------------------------------------------
6
cuda-9.1 intel mvapich2-2.2/gcc openmpi-1.6/intel openmpi-2.0/gcc
7
gaussian/16 mpich/gcc mvapich2-2.2/intel openmpi-1.8/gcc openmpi-2.0/intel
8
impi mpich/intel openmpi-1.6/gcc openmpi-1.8/intel
9
Copied!

To load/unload an MPI module:

1
############## Load ################
2
[[email protected]@login ~]$ module load openmpi-2.0/gcc
3
4
############# Unload ###############
5
[[email protected]@login ~]$ module unload openmpi-2.0/gcc
Copied!

To view the version of MPI in use:

1
[[email protected]@login ~]$ mpirun --version
2
[[email protected]@login ~]$ mpirun --version
3
mpirun (Open MPI) 2.0.1
4
5
Report bugs to http://www.open-mpi.org/community/help/
Copied!
Last modified 2yr ago
Copy link