Skip to content

Commit a6335d7

Browse files
committed
MVAPICH: Update workflow
1 parent 6006309 commit a6335d7

1 file changed

Lines changed: 13 additions & 21 deletions

File tree

.github/workflows/mvapich.yml

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ on:
1515
type: string
1616
workflow_dispatch:
1717
inputs:
18-
mpi-svn:
19-
description: 'MPI svn'
20-
default: https://scm.mvapich.cse.ohio-state.edu/svn/mpi/mvapich2
21-
required: false
22-
type: string
23-
mpi-ref:
24-
description: 'MPI ref'
25-
default: ''
26-
required: false
27-
type: string
2818
mpi4py-git:
2919
description: 'mpi4py git'
3020
default: mpi4py/mpi4py
@@ -53,10 +43,11 @@ jobs:
5343
strategy:
5444
fail-fast: false
5545
matrix:
56-
pm:
57-
- hydra
58-
device:
59-
- ch3:mrail
46+
include:
47+
- package: 'mvapich2'
48+
version: '2.3.7-2'
49+
# - package: 'mvapich'
50+
# version: '4.1'
6051

6152
steps:
6253

@@ -68,22 +59,23 @@ jobs:
6859
run: sudo apt-get install -y -q
6960
libnuma-dev
7061
librdmacm-dev
71-
subversion
7262

7363
- name: Checkout MPI
74-
run: svn co $SVN/$REF mpi-build
64+
run: |
65+
tarball=$PACKAGE-$VERSION.tar.gz
66+
rooturl=https://mvapich.cse.ohio-state.edu/download/mvapich/mv2
67+
curl -sSL $rooturl/$tarball | tar -zx
68+
mv ${tarball%.tar.gz} mpi-build
7569
env:
76-
SVN: ${{ inputs.mpi-svn || 'https://scm.mvapich.cse.ohio-state.edu/svn/mpi/mvapich2' }}
77-
REF: ${{ inputs.mpi-ref || 'trunk' }}
70+
PACKAGE: ${{ matrix.package }}
71+
VERSION: ${{ matrix.version }}
7872

7973
- name: Bootstrap MPI
80-
run: ./autogen.sh
74+
run: test -f configure || ./autogen.sh
8175
working-directory: mpi-build
8276

8377
- name: Configure MPI
8478
run: ./configure
85-
--with-pm=${{ matrix.pm }}
86-
--with-device=${{ matrix.device }}
8779
--disable-dependency-tracking
8880
--disable-maintainer-mode
8981
--enable-g=all

0 commit comments

Comments
 (0)