From f9ad402e717ba9e3a037079f5ccb348d609309b5 Mon Sep 17 00:00:00 2001 From: Nathan Hanford <8302958+nhanford@users.noreply.github.com> Date: Mon, 18 Dec 2023 16:39:46 -0800 Subject: [PATCH] started updating; testing fortran syntax highlighting --- mpi/abstract.md | 2 +- mpi/environment_management_routines.md | 4 ++-- mpi/getting_started.md | 2 +- mpi/implementations.md | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mpi/abstract.md b/mpi/abstract.md index 02868b7..a101478 100644 --- a/mpi/abstract.md +++ b/mpi/abstract.md @@ -7,7 +7,7 @@ tutorial: "Message Passing Interface (MPI)" --- -The Message Passing Interface Standard (MPI) is a message passing library standard based on the consensus of the MPI Forum, which has over 40 participating organizations, including vendors, researchers, software library developers, and users. The goal of the Message Passing Interface is to establish a portable, efficient, and flexible standard for message passing that will be widely used for writing message passing programs. As such, MPI is the first standardized, vendor independent, message passing library. The advantages of developing message passing software using MPI closely match the design goals of portability, efficiency, and flexibility. MPI is not an IEEE or ISO standard, but has in fact, become the "industry standard" for writing message passing programs on HPC platforms. +The Message Passing Interface Standard (MPI) is a message passing library standard based on the consensus of the MPI Forum, which has over 30 participating organizations, including vendors, researchers, software library developers, and users. The goal of the Message Passing Interface is to establish a portable, efficient, and flexible standard for message passing that will be widely used for writing message passing programs. As such, MPI is the first standardized, vendor independent, message passing library. The advantages of developing message passing software using MPI closely match the design goals of portability, efficiency, and flexibility. MPI is not an IEEE or ISO standard, but has in fact, become the "industry standard" for writing message passing programs on HPC platforms. The goal of this tutorial is to teach those unfamiliar with MPI how to develop and run parallel programs according to the MPI standard. The primary topics that are presented focus on those which are the most useful for new MPI programmers. The tutorial begins with an introduction, background, and basic information for getting started with MPI. This is followed by a detailed look at the MPI routines that are most useful for new MPI programmers, including MPI Environment Management, Point-to-Point Communications, and Collective Communications routines. Numerous examples in both C and Fortran are provided, as well as a lab exercise. diff --git a/mpi/environment_management_routines.md b/mpi/environment_management_routines.md index 8b93378..618338c 100644 --- a/mpi/environment_management_routines.md +++ b/mpi/environment_management_routines.md @@ -101,7 +101,7 @@ MPI_FINALIZE (ierr) #### C Language - Environment Management Routines -``` +```c // required MPI include file #include "mpi.h" #include @@ -134,7 +134,7 @@ MPI_Finalize(); #### Fortran - Environment Management Routines -``` +```fortran program simple ! required MPI include file diff --git a/mpi/getting_started.md b/mpi/getting_started.md index ee8f604..1ae710a 100644 --- a/mpi/getting_started.md +++ b/mpi/getting_started.md @@ -15,7 +15,7 @@ Required for all programs that make MPI library calls.
C include file Fortran include file
#include "mpi.h" include 'mpif.h'
-With MPI-3 Fortran, the `USE mpi_f08` module is preferred over using the include file shown above. +Starting with MPI-3 Fortran, the `USE mpi_f08` module is preferred over using the include file shown above. #### Format of MPI Calls: diff --git a/mpi/implementations.md b/mpi/implementations.md index 44c7d22..6ae42be 100644 --- a/mpi/implementations.md +++ b/mpi/implementations.md @@ -61,7 +61,7 @@ LC also provides default compilers for each cluster. Typically, there are multiple versions of MPI libraries and compilers on each cluster. -Modules are used to select a specific MPI library or compiler: More info HERE. +Modules are used to select a specific MPI library or compiler: More info [HERE](https://hpc.llnl.gov/software/modules-and-software-packaging). For example, using modules: @@ -182,7 +182,7 @@ MVAPICH MPI is developed and supported by the Network-Based Computing Lab at Ohi Available on all of LC's Linux clusters. -MVAPICH2 +MVAPICH - Default MPI implementation - Multiple versions available @@ -225,7 +225,7 @@ Available on all LC Linux clusters. However, you'll need to load the desired [mo ```sh module avail (list available modules) -module load openmpi/3.0.1 (use the module of interest) +module load openmpi/4.1.2 (use the module of interest) ``` This ensures that LC's MPI wrapper scripts point to the desired version of Open MPI. @@ -287,7 +287,7 @@ The table below lists the primary MPI compiler wrapper scripts for LC's Linux cl Underlying Compiler - MVAPCH2 + MVAPICH2 C mpicc C compiler for loaded compiler package