- Timestamp:
- 10/06/23 17:15:51 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-3.14-win-msys2-mingw-msmpi.sh
r27202 r27944 21 21 22 22 MAKEFILE_GENERATOR='-G "MSYS Makefiles"' 23 PETSC_ARCH="arch-mswin-c-opt" 23 24 PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS 24 25 PREFIX="${ISSM_DIR}/externalpackages/petsc/install" # Set to location where external package should be installed … … 38 39 rm -rf petsc-${VER} 39 40 40 # Copy customized source files to $PETSC_DIR 41 cp configs/3.14/win/msys2/mingw64/config/configure.py ${PETSC_DIR}/config 41 # Patch source 42 sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|' ${PETSC_DIR}/config/configure.py 43 sed -i 's| chkusingwindowspython()|# chkusingwindowspython()|' ${PETSC_DIR}/config/configure.py 44 sed -i 's|(MAKEFLAGS)|(MAKEFLAGS:w=)|' ${PETSC_DIR}/makefile ${PETSC_DIR}/lib/petsc/conf/rules # Fix for issue with GNUMake 4.4.1 (https://gitlab.com/petsc/petsc/-/merge_requests/6140) 42 45 43 46 # Configure … … 69 72 --with-proc-filesystem=0 \ 70 73 --with-mpiexec="${MPIEXEC_DIR}/mpiexec.exe" \ 71 --with-mpi-lib= "-L${MSMPI_ROOT}/lib -lmsmpi"\72 --with-mpi-include= "${MSMPI_ROOT}/include"\74 --with-mpi-lib=["-L${MSMPI_ROOT}/lib","-lmsmpi"] \ 75 --with-mpi-include=["${MSMPI_ROOT}/include"] \ 73 76 --download-fblaslapack=1 \ 74 77 --download-metis=1 \ … … 81 84 82 85 # Compile and install 83 make 84 make install86 make PETSC_DIR="${PETSC_DIR}" PETSC_ARCH="${PETSC_ARCH}" all 87 make PETSC_DIR="${PETSC_DIR}" PETSC_ARCH="${PETSC_ARCH}" install
Note:
See TracChangeset
for help on using the changeset viewer.