Docs
  • Introduction
  • Command Line Basics
  • Lawrence HPC
    • About Lawrence
    • Login
    • Filesystems
    • Transferring Files
    • Software on Lawrence
    • Submitting Jobs
    • Programming Environment
    • Gaussian Tutorial
    • Lumerical (FDTD) from Lawrence on Windows PC Tutorial
    • Lumerical (FDTD) on Lawrence GUI Tutorial
    • Helpful Hints
    • Jupyter on Lawrence
  • Globus
    • Globus Information
    • Globus Tutorials
    • .
  • Non-Lawrence Guides
    • Downloads
    • Software Installations on Windows
    • .
  • Archived Information
    • .
      • Legacy-Lawrence Migration
      • Ubuntu- from Login page
      • VNC
      • Non-Lawrence Tutorials
      • WARNING: These are the archives, not current information
      • Start Here
      • SSH Log In
      • Home Directory
      • Data Transfer
      • Interactive Session
      • Batch Compute Jobs
      • rclone for Google Drive
      • rclone for MS OneDrive
      • rclone for DropBox
      • Gaussian
      • Modules
      • PAUP
      • X11 Forwarding
      • TigerVNC
      • Logging in to an interactive session - qlogin
      • VNC
Powered by GitBook
On this page
  • Compilers
  • OpenMP
  • MPI
  1. Lawrence HPC

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.

# For the OpenMPI module with Gnu:
[user.name@usd.local@login ~]$ module load openmpi-1.6/gcc

############## or ################

#For the OpenMPI module with OpenMP Intel:
[user.name@usd.local@login ~]$ module load openmpi-1.6/intel

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

[user.name@usd.local@login ~]$ module avail
------------------------------------------- /usr/share/Modules/modulefiles --------------------------------------------
dot         module-git  module-info modules     null        use.own

-------------------------------------------------- /act/modulefiles ---------------------------------------------------
cuda-9.1           intel              mvapich2-2.2/gcc   openmpi-1.6/intel  openmpi-2.0/gcc
gaussian/16        mpich/gcc          mvapich2-2.2/intel openmpi-1.8/gcc    openmpi-2.0/intel
impi               mpich/intel        openmpi-1.6/gcc    openmpi-1.8/intel

To load/unload an MPI module:

############## Load ################
[user.name@usd.local@login ~]$ module load openmpi-2.0/gcc

############# Unload ###############
[user.name@usd.local@login ~]$ module unload openmpi-2.0/gcc

To view the version of MPI in use:

[user.name@usd.local@login ~]$ mpirun --version
[user.name@usd.local@login ~]$ mpirun --version
mpirun (Open MPI) 2.0.1

Report bugs to http://www.open-mpi.org/community/help/
PreviousSubmitting JobsNextGaussian Tutorial

Last updated 6 years ago