Skip to content

Commit

Permalink
trying Intel MPI compiler
Browse files Browse the repository at this point in the history
because MS-MPI seems bugged?
mpi4py/setup-mpi#9
  • Loading branch information
TysonRayJones committed Feb 2, 2024
1 parent 46e74a4 commit c207ea3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,18 @@ jobs:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- uses: mpi4py/setup-mpi@v1
with:
mpi: 'intelmpi'

- name: compile backend
run: |
cl -c src/core.cpp ${{ env.CPP_FLAGS }}
cl -c src/alts.cpp ${{ env.CPP_FLAGS }}
msmpi -c src/comm.cpp ${{ env.MPI_FLAGS }}
mpicxx -c src/comm.cpp ${{ env.MPI_FLAGS }}
- name: compile and link main
run: |
msmpi main.cpp core.obj alts.obj comm.obj ${{ env.CPP_FLAGS }}
mpicxx main.cpp core.obj alts.obj comm.obj ${{ env.CPP_FLAGS }}
- name: run main
run: |
Expand Down Expand Up @@ -145,16 +147,18 @@ jobs:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- uses: mpi4py/setup-mpi@v1
with:
mpi: 'intelmpi'

- name: compile backend
run: |
cl -c src/core.cpp ${{ env.CPP_FLAGS }}
cl -c src/alts.cpp ${{ env.CPP_FLAGS }}
msmpi -c src/comm.cpp ${{ env.MPI_FLAGS }}
mpicxx -c src/comm.cpp ${{ env.MPI_FLAGS }}
- name: compile and link main
run: |
msmpi main.c core.obj alts.obj comm.obj ${{ env.C_FLAGS }}
mpicc main.c core.obj alts.obj comm.obj ${{ env.C_FLAGS }}
- name: run main
run: |
Expand Down

0 comments on commit c207ea3

Please sign in to comment.