Skip to content

Commit

Permalink
better place
Browse files Browse the repository at this point in the history
  • Loading branch information
suzanmanasreh committed Jun 22, 2024
1 parent 1bc6e34 commit 8076b0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/phoenix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ jobs:
# use mkl option
- name: Build Packages
run: |
ml gcc openmpi mkl python/3.9.12-rkxvr6
ml gcc mvapich2 mkl python/3.9.12-rkxvr6
./rbc.sh install
cat packages/petsc-3.19.6/configure.log
# will stop on any errors
- name: Compile Cases
Expand Down
9 changes: 5 additions & 4 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ cd petsc-3.19.6
--with-mpiexec=srun \
--with-x11=0 --with-x=0 --with-windows-graphics=0

# if (($?)); then
# echo "[install.sh] Error: PETSc configure failed"
# exit 1
# fi
if (($?)); then
echo "[install.sh] Error: PETSc configure failed. See configure.log for more details"
cat configure.log
exit 1
fi

make PETSC_DIR=`pwd` PETSC_ARCH=arch-linux-c-opt all
make PETSC_DIR=`pwd` PETSC_ARCH=arch-linux-c-opt check
Expand Down

0 comments on commit 8076b0d

Please sign in to comment.