Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Nov 15, 2024
1 parent 47f67f9 commit f783882
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20
with:
detached: true
timeout-minutes: 20
limit-access-to-actor: true

- name: Cleanup
Expand All @@ -65,8 +65,10 @@ jobs:
- name: Pip install
run: |
pwd
ls
ls pip_venv
source pip_venv/bin/activate
cd "$VIRTUAL_ENV/src"
cd /home/firedrake/pip_venv/src
export CC="$MPICH_DIR/mpicc"
export CXX="$MPICH_DIR/mpicxx"
export MPICC="$MPICH_DIR/mpicc"
Expand All @@ -78,9 +80,9 @@ jobs:
- name: Add mpiexec to the venv
run: |
source pip_venv/bin/activate
cat << EOF > $VIRTUAL_ENV/bin/mpiexec
cat << EOF > "$VIRTUAL_ENV/bin/mpiexec"
#!/bin/bash
$MPICH_DIR/mpiexec "\$@"
"$MPICH_DIR"/mpiexec "\$@"
EOF
chmod +x $VIRTUAL_ENV/bin/mpiexec
Expand Down

0 comments on commit f783882

Please sign in to comment.