Skip to content

Commit bd07d6e

Browse files
committed
Added section for specifically building HPL on Ubuntu-based systems.
1 parent 6fe1f43 commit bd07d6e

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

tutorial1/README.md

+23-8
Original file line numberDiff line numberDiff line change
@@ -647,18 +647,33 @@ You will now install and run HPL on your **head node**.
647647
```
648648

649649
You need to carefully edit your `Make.<TEAM_NAME>` file, ensuring that you make the following changes:
650-
```conf
651-
ARCH = <TEAM_NAME>
650+
* RHEL, Rocky, Alma, CentOS Stream based systems
651+
```conf
652+
ARCH = <TEAM_NAME>
652653
653-
MPdir = /usr/lib64/openmpi
654+
MPdir = /usr/lib64/openmpi
654655
655-
LAdir = /usr/lib64/atlas
656-
LAlib = $(LAdir)/libtatlas.so $(LAdir)/libsatlas.so
656+
LAdir = /usr/lib64/atlas
657+
LAlib = $(LAdir)/libtatlas.so $(LAdir)/libsatlas.so
657658
658-
CC = mpicc
659+
CC = mpicc
660+
661+
LINKER = mpicc
662+
```
663+
* Ubuntu based systems
664+
```conf
665+
ARCH = <TEAM_NAME>
666+
667+
MPdir = /usr/lib/x86_64-linux-gnu/openmpi
668+
669+
LAdir = /usr/lib/x86_64-linux-gnu/atlas/
670+
LAlib = $(LAdir)/libblas.so $(LAdir)/liblapack.so
671+
672+
CC = mpicc
673+
674+
LINKER = mpicc
675+
```
659676
660-
LINKER = mpicc
661-
```
662677
1. Temporarily edit your `PATH` variable
663678
664679
You are almost ready to compile HPL, you will need to modify your path variable in order for your MPI C Compiler `mpicc` to be a recognized binary.

0 commit comments

Comments
 (0)