Getting the package
Change working directory to the location where you'll build the package. A convenient location is
/scratch/$USER, which we'll use for this example.
OpenMPI can be found at https://www.open-mpi.org/software/ompi/. This will automatically redirect you to the latest version, but older releases can be seen in the left menu bar. For this, choose version 4.1.
There are several packaging options. Here, we'll get the bzipped tarball
openmpi-4.1.0.tar.bz2. You can either download it to a local machine (laptop) and then scp the file over to Eagle, or get it directly on Eagle with wget.
You should now have a compressed tarball in your scratch directory.
List the contents of the tarball before unpacking. This is very useful to avoid inadvertently filling a directory with gobs of files and directories when the tarball has them at the top of the file structure),
tar -tf openmpi-4.1.0.tar.bz2
Unpack it viaIf you're curious to see what's in the file as it unpacks, add the
tar -xjf openmpi-4.1.0.tar.bz2
You should now have an
cd openmpi-4.1.0, at which point you are in the top level of the package distribution.
You can now proceed to configuring, making, and installing.