File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test for mpi injection script
2+ on :
3+ pull_request :
4+ workflow_dispatch :
5+ permissions :
6+ contents : read # to fetch code (actions/checkout)
7+ jobs :
8+ build :
9+ runs-on : ubuntu-24.04
10+ steps :
11+ - uses : actions/checkout@v4
12+ - uses : eessi/github-action-eessi@v3
13+
14+ - name : Install OpenMPI
15+ run : |
16+ module load EESSI-extend
17+ eb --rebuild OpenMPI-4.1.6-GCC-13.2.0.eb
18+
19+ - name : Inject OpenMPI libs
20+ run : |
21+ mkdir /opt/eessi
22+ ./../scripts/mpi_support/install_openmpi_host_injection.sh --mpi-path $HOME/eessi/versions/2023.06/software/linux/$EESSI_SOFTWARE_SUBDIR/software/OpenMPI/4.1.6-GCC-13.2.0/
23+
24+ - name : Check with OSU
25+ run : |
26+ module load OSU-Micro-Benchmarks/7.2-gompi-2023b
27+ mpirun -n 2 osu_latency
28+ export output=$?
29+ if [ $output -ne 0 ]; then
30+ echo "MPI injection failed, check the logs for more detail"
31+ else
32+ echo "MPI injection succeded!"
33+ fi
You can’t perform that action at this time.
0 commit comments