Skip to content

Commit bfa2664

Browse files
Merge branch 'main' of github.com:ISSMteam/ISSM
2 parents 92a61ed + eb1e1f0 commit bfa2664

File tree

6 files changed

+66
-4
lines changed

6 files changed

+66
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Note that checkout via HTTPS does not require credentials, but does not allow co
3232
## Committing Changes to the Repository
3333
A good basic workflow for committing changes to the repository is,
3434

35-
```
35+
```bash
3636
#1. Stash your local changes
3737
git stash
3838

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#!/bin/bash
2+
set -eu
3+
4+
## Constants
5+
#
6+
VER="3.23.4"
7+
8+
PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS
9+
PREFIX="${ISSM_DIR}/externalpackages/petsc/install" # Set to location where external package should be installed
10+
11+
# Environment
12+
if [ -z ${LDFLAGS+x} ]; then
13+
LDFLAGS=""
14+
fi
15+
16+
# Download source
17+
${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-${VER}.tar.gz" "petsc-${VER}.tar.gz"
18+
19+
# Unpack source
20+
tar -zxvf petsc-${VER}.tar.gz
21+
22+
# Cleanup
23+
rm -rf ${PREFIX} ${PETSC_DIR}
24+
mkdir -p ${PETSC_DIR}
25+
26+
# Move source to $PETSC_DIR
27+
mv petsc-${VER}/* ${PETSC_DIR}
28+
rm -rf petsc-${VER}
29+
30+
# Configure
31+
cd ${PETSC_DIR}
32+
./configure \
33+
--prefix="${PREFIX}" \
34+
--PETSC_DIR="${PETSC_DIR}" \
35+
--with-debugging=0 \
36+
--with-valgrind=0 \
37+
--with-x=0 \
38+
--with-ssl=0 \
39+
--with-pic=1 \
40+
--LDFLAGS="-Wl,-ld_classic" \
41+
--download-metis=1 \
42+
--download-mpich=1 \
43+
--download-mumps=1 \
44+
--download-parmetis=1 \
45+
--download-scalapack=1 \
46+
--download-zlib=1
47+
48+
# Compile and install
49+
make
50+
make install

externalpackages/vim/addons/vimrc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
" =================
2+
" ISSM vim settings
3+
" =================
4+
" Many files in ISSM rely on vim's folds. The option below
5+
" make ISSM development easier by highlighting ISSM classes
6+
" and Enums.
7+
" For dark background select colorscheme issm_black
8+
" For light background select colorscheme issm_white
9+
" Report problems to:
10+
" Mathieu Morlighem [email protected]
111

212
" General setup{{{
313
" ----------------------------------------------------------------------
@@ -79,7 +89,6 @@ set su=.h,.bak,~,.o,.info,.swp,.obj
7989
" Colors and theme {{{
8090
" ----------------------------------------------------------------------
8191
" use 256 colors
82-
"set t_Co=8
8392
set t_Co=256
8493
" backgrounb color
8594
"set background=light

jenkins/mac-silicon-binaries-matlab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MATLAB_PATH="/Applications/MATLAB_R2023b.app"
22
LIBGFORTRAN_PATH="/opt/homebrew/lib/gcc/current"
3-
LIBGCC_PATH="${LIBGFORTRAN_PATH}/gcc/aarch64-apple-darwin23/13"
3+
LIBGCC_PATH="${LIBGFORTRAN_PATH}/gcc/aarch64-apple-darwin24/15"
44

55
#--------------------#
66
# ISSM Configuration #

jenkins/mac-silicon-binaries-python-3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
LIBGFORTRAN_PATH="/opt/homebrew/lib/gcc/current"
2-
LIBGCC_PATH="${LIBGFORTRAN_PATH}/gcc/aarch64-apple-darwin23/13"
2+
LIBGCC_PATH="${LIBGFORTRAN_PATH}/gcc/aarch64-apple-darwin24/15"
33

44
#--------------------#
55
# ISSM Configuration #

packagers/linux/package-issm-linux-binaries-matlab.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ LIBPSL="${ISSM_DIR}/externalpackages/gmt/install/lib/libpostscriptlight.so.6.5.0
4040
LIBPSL_DIST="${ISSM_DIR}/lib/libpostscriptlight.so.6" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it
4141
LIBQUADMATH="/usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0" # Important that this is the library itself
4242
LIBQUADMATH_DIST="${ISSM_DIR}/lib/libquadmath.so.0" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it
43+
LIBSTDCXX="/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30" # Important that this is the library itself
44+
LIBSTDCXX_DIST="${ISSM_DIR}/lib/libstdc++.so.6.0.30" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it
4345

4446
## Environment
4547
#
@@ -85,6 +87,7 @@ cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2>/dev/null
8587
cp ${LIBQUADMATH} ${LIBQUADMATH_DIST} 2>/dev/null
8688
cp ${LIBGMT} ${LIBGMT_DIST} 2>/dev/null
8789
cp ${LIBPSL} ${LIBPSL_DIST} 2>/dev/null
90+
cp ${LIBSTDCXX} ${LIBSTDCXX_DIST} 2>/dev/null
8891

8992
echo "Moving MPICH binaries to bin/"
9093
if [ -f ${ISSM_DIR}/externalpackages/petsc/install/bin/mpiexec ]; then

0 commit comments

Comments
 (0)