File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,22 @@ jobs:
10
10
11
11
env :
12
12
FC : gfortran
13
- GCC_V : 11
13
+ GCC_V : 13
14
14
15
15
steps :
16
16
- name : Checkout code
17
17
uses : actions/checkout@v3
18
18
19
19
- name : Install Dependencies
20
20
run : |
21
- sudo apt install -y gfortran-${GCC_V} cmake mpich
21
+ sudo apt install -y gfortran-${GCC_V} cmake
22
22
sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} 100
23
23
24
+ - name : Setup MPI
25
+ uses : mpi4py/setup-mpi@v1
26
+ with :
27
+ mpi : mpich
28
+
24
29
- name : Build and Test
25
30
run : |
26
31
mkdir build
Original file line number Diff line number Diff line change 42
42
ls "${I_MPI_ROOT}/bin"
43
43
ls "${I_MPI_ROOT}"
44
44
ls "${I_MPI_ROOT}/lib"
45
+ ls "${I_MPI_ROOT}/env"
46
+ source "${I_MPI_ROOT}/env/vars.sh"
45
47
mpifc.bat -show
46
48
mpicc.bat -show
47
49
mpifc.bat -version || echo "ifort not installed"
You can’t perform that action at this time.
0 commit comments