Skip to content

Commit

Permalink
CHG: getting PETSc from apt-get
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuMorlighem committed Jul 10, 2024
1 parent db0c094 commit 4fbda8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
20 changes: 10 additions & 10 deletions .github/ci_scripts/github_linux_basic
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ ISSM_CONFIG='\
--with-numthreads=4 \
--with-matlab-dir=${MATLAB_PATH} \
--with-fortran-lib="-L/usr/lib/x86_64-linux-gnu -lgfortran" \
--with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
--with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
--with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
--with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
--with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \
--with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
--with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
--with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
--with-mpi-include="-I/usr/lib/x86_64-linux-gnu/openmpi/include/" \
--with-mpi-libflags="-L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi" \
--with-petsc-dir="/usr/lib/petscdir/petsc-real/" \
--with-blas-lapack-dir="/usr/lib/petscdir/petsc-real/" \
--with-metis-dir="/usr/lib/petscdir/petsc-real/" \
--with-parmetis-dir="/usr/lib/petscdir/petsc-real/" \
--with-scalapack-dir="/usr/lib/petscdir/petsc-real/" \
--with-mumps-dir="/usr/lib/petscdir/petsc-real/" \
--with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
--with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
--with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
Expand All @@ -28,10 +28,10 @@ ISSM_CONFIG='\
#-------------------#
#
#autotools install-linux.sh
#cmake install.sh
#petsc install-3.21-linux.sh

EXTERNALPACKAGES="
cmake install.sh
petsc install-3.21-linux.sh
triangle install-linux.sh
m1qn3 install-linux.sh
semic install.sh
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,9 @@ jobs:
with:
release: R2023b

- name: Print MATLAB root folder directly
run: echo ${{ steps.setup-matlab.outputs.matlabroot }}

- name: Check CMAKE
run: which cmake

- name: Install PETSc
run: sudo apt-get install -y petsc-dev

- name: Find PETSc lib
run: ls /usr/lib/x86_64-linux-gnu/

- name: compile ISSM on linux basic
env:
MATLAB_PATH: ${{ steps.setup-matlab.outputs.matlabroot }}
Expand Down

0 comments on commit 4fbda8b

Please sign in to comment.