File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,22 @@ jobs:
1010
1111 env :
1212 FC : gfortran
13- GCC_V : 11
13+ GCC_V : 13
1414
1515 steps :
1616 - name : Checkout code
1717 uses : actions/checkout@v3
1818
1919 - name : Install Dependencies
2020 run : |
21- sudo apt install -y gfortran-${GCC_V} cmake mpich
21+ sudo apt install -y gfortran-${GCC_V} cmake
2222 sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} 100
2323
24+ - name : Setup MPI
25+ uses : mpi4py/setup-mpi@v1
26+ with :
27+ mpi : impi
28+
2429 - name : Build and Test
2530 run : |
2631 mkdir build
Original file line number Diff line number Diff line change 4242 ls "${I_MPI_ROOT}/bin"
4343 ls "${I_MPI_ROOT}"
4444 ls "${I_MPI_ROOT}/lib"
45+ ls "${I_MPI_ROOT}/env"
46+ cat "${I_MPI_ROOT}/env/vars.bat"
47+ source "${I_MPI_ROOT}/env/vars.bat"
4548 mpifc.bat -show
4649 mpicc.bat -show
4750 mpifc.bat -version || echo "ifort not installed"
You can’t perform that action at this time.
0 commit comments