Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
db9e69c
CHG: src/m/mech/basalstress.m - Enable calculate basal drag using "fr…
inwoo-park Nov 18, 2025
00dc871
Updated math77 install script to grab from GitHub; cleanup
TidbitSoftware Dec 2, 2025
358a764
External package cleanup
TidbitSoftware Dec 2, 2025
a7dd1a3
Update MATLAB version
TidbitSoftware Dec 2, 2025
c3a0977
CHG: do not use Scotch anymore
MathieuMorlighem Dec 2, 2025
c2b854d
Merge branch 'ISSMteam:main' into main
inwoo-park Dec 3, 2025
941f4ee
CHG: Matlab > Python conversion - basalstress.py. Support for Schoof …
inwoo-park Dec 3, 2025
91efd9d
Merge branch 'main' of https://github.com/inwoo-park/ISSM
inwoo-park Dec 3, 2025
e0034cf
Merge pull request #110 from inwoo-park/main
MathieuMorlighem Dec 3, 2025
6a81546
Trying a different cleanup method
TidbitSoftware Dec 3, 2025
78ecccf
Updated modules ext pkg; cleanup
TidbitSoftware Dec 3, 2025
207b5c3
add two Enums for DJUICE
enigne Dec 3, 2025
ecb09c5
Merge branch 'main' of github.com:ISSMteam/ISSM
enigne Dec 3, 2025
0c2a113
Change MATLAB version in CI back to R2023b
enigne Dec 4, 2025
674d88e
Clean up ISSM artifact after unpacking
enigne Dec 4, 2025
de61e31
Remove disk cleanup and update MATLAB version
enigne Dec 4, 2025
36e9b9a
Add disk space cleanup step to workflow
enigne Dec 4, 2025
f3f2a4a
Update common-workflow.yml
enigne Dec 4, 2025
0d7395a
Format free disk space step in common workflow
enigne Dec 4, 2025
af399fb
Merge pull request #111 from ISSMteam/enigne-patch-1
enigne Dec 4, 2025
7b29db2
CHG: fixed compilation error about ‘operator==’ (operand types are ‘s…
MathieuMorlighem Dec 4, 2025
c6992bf
CHG: fixing complex operations
MathieuMorlighem Dec 4, 2025
f24fbaf
CHG: simplified code
MathieuMorlighem Dec 4, 2025
bac11ab
Added additional cleanup step to CoDiPack build and common workflow
TidbitSoftware Dec 4, 2025
42ef946
Fork was missing artifact tarball cleanup
TidbitSoftware Dec 4, 2025
67f6e65
Modified cleanup so that it occurs before creation of artifact
TidbitSoftware Dec 4, 2025
8aa18d7
Adjusted tolerances
TidbitSoftware Dec 4, 2025
a00aebc
Merge branch 'ISSMteam:main' into main
TidbitSoftware Dec 4, 2025
2074773
Merge pull request #112 from TidbitSoftware/main
TidbitSoftware Dec 4, 2025
fbb6c8b
CHG: ignoring some examples directories
MathieuMorlighem Dec 10, 2025
710c187
CHG: fixed banner urls
MathieuMorlighem Dec 10, 2025
9bb1105
CHG: minor estetics
MathieuMorlighem Dec 10, 2025
cefb2ab
CHG: minor estetics
MathieuMorlighem Dec 10, 2025
e818b8b
CHG: fixed percentage completion print
MathieuMorlighem Dec 10, 2025
d33a881
Update README.md
TidbitSoftware Dec 10, 2025
5438a7d
fixed paths to find the source code of older PETSc versions.
Dec 11, 2025
2ab968c
Merge pull request #114 from LukasvdWiel/main
MathieuMorlighem Dec 11, 2025
a2f7433
Updating macOS ISSM package scripts
TidbitSoftware Dec 15, 2025
8d0444c
Remove license check from packager (will add separate Jenkins jobs); …
TidbitSoftware Dec 17, 2025
53ec41a
Adding scripts for testing if MATLAB license will expire soon
TidbitSoftware Dec 17, 2025
83c9c45
Missing grep of matlab.log
TidbitSoftware Dec 18, 2025
5be4334
Need full wait loop for MATLAB license check on Windows build node
TidbitSoftware Dec 18, 2025
b43a8f2
add interpolation of seaRISE modeldata
justinh2002 Dec 23, 2025
fa6f43e
interpolate Mouginot et al. AIS surface model velocities onto grid po…
justinh2002 Dec 23, 2025
829870a
python port of interpBedmachineAntarctica.m
justinh2002 Dec 23, 2025
8ea5103
python port of interpISMIP6AntarcticaOcn
justinh2002 Dec 23, 2025
fe72a7d
add basal forcings ismip class and outflow BC handler
justinh2002 Dec 23, 2025
acc0914
CHG: Matlab > Python - Fix "plot_none.py" in python.
inwoo-park Dec 24, 2025
964ad73
Merge branch 'main' into plot
inwoo-park Dec 25, 2025
8c1068d
Merge pull request #117 from inwoo-park/plot
MathieuMorlighem Dec 26, 2025
470821f
BUG: Python sees \{ and tries to interpret it as an escape sequence (…
MathieuMorlighem Dec 26, 2025
007c0a8
BUG: \{ and \} are invalid escape sequences.
MathieuMorlighem Dec 26, 2025
8b9992f
CHG: problem with backslash
MathieuMorlighem Dec 26, 2025
d3c7447
CHG: numpy does not have ind1 anymore
MathieuMorlighem Dec 26, 2025
30afd8f
More fixes for numpy.in1d
TidbitSoftware Dec 27, 2025
aced865
CHG: updated release number
MathieuMorlighem Jan 6, 2026
0accb71
Testing to see if libpostscript is breaking signing build
TidbitSoftware Jan 9, 2026
3c19df7
CHG: update interpdH to use the lastest update od dHdt from https://d…
enigne Jan 9, 2026
072aa29
Updating GMT version (specifically for distributable packages)
TidbitSoftware Jan 10, 2026
23c1bd8
Missing GMT configs for version 6.6
TidbitSoftware Jan 10, 2026
618e484
Updated packaging scripts
TidbitSoftware Jan 11, 2026
bb8ce20
CHG: speed up compilation with codipack by hiding rarely used finite …
MathieuMorlighem Jan 12, 2026
7cab639
CHG: updated date
MathieuMorlighem Jan 12, 2026
f78dc62
CHG: minor documentation for runme.m
MathieuMorlighem Jan 20, 2026
5c88b4f
CHG: need to transpose bias correction to be self consistent
MathieuMorlighem Jan 21, 2026
777a319
Merge branch 'main' of github.com:ISSMteam/ISSM
MathieuMorlighem Jan 21, 2026
2ade081
ADD: latlongrid for making lat lon grid on figure
enigne Jan 21, 2026
4911519
Merge branch 'main' of github.com:ISSMteam/ISSM
enigne Jan 21, 2026
2899e08
CHG: solve now prints upload/execution of jobs, not clusters
MathieuMorlighem Jan 21, 2026
6b50cc7
DEL: should not be commited
MathieuMorlighem Jan 21, 2026
3282e1f
CHG: fix cores that were printing the ssame thing as FemModel
MathieuMorlighem Jan 21, 2026
6f09419
CHG: added Weertman
MathieuMorlighem Jan 21, 2026
c28f260
CHG: Fix bug in basalstress.py
inwoo-park Jan 22, 2026
273901f
NEW: added utility to reconstruct model from bin file (only works wit…
MathieuMorlighem Jan 22, 2026
a6cf0bd
CHG: making in work in 3d
MathieuMorlighem Jan 22, 2026
77745f3
CHG: better link to doc
MathieuMorlighem Jan 23, 2026
452e09d
CHG: minor estetics
MathieuMorlighem Jan 23, 2026
df69a40
CHG: estetics
MathieuMorlighem Jan 26, 2026
50f1a1d
CHG: estetics
MathieuMorlighem Jan 26, 2026
bfc4ca0
Updated install script for sqlite; cleaned up binaries signing script
TidbitSoftware Jan 26, 2026
e9b7553
add python conversion of test134.py
justinh2002 Jan 26, 2026
e81cb1e
CHG: added performance measurements flags for Max
MathieuMorlighem Jan 27, 2026
342ae88
BUG: fixed bad coming from Justin
MathieuMorlighem Jan 27, 2026
a2880ee
CHG: added check to make sure X does not have any NaN
MathieuMorlighem Jan 27, 2026
f9b20b8
Merge branch 'main' of github.com:ISSMteam/ISSM
MathieuMorlighem Jan 27, 2026
cb5429a
CHG: making sure scaling factor is >0 and not NaN
MathieuMorlighem Jan 27, 2026
eb430ce
CHG: fixed syntax copied from MATLAB
MathieuMorlighem Jan 27, 2026
5f9fbfc
CHG: added default scaling to 1
MathieuMorlighem Jan 27, 2026
88a91f8
CHG: make sure scaling is 1 by default
MathieuMorlighem Jan 27, 2026
cdfe81d
change how math is imported
justinh2002 Jan 28, 2026
90a218f
delete broken test
justinh2002 Jan 28, 2026
12b623b
CHG: making SHAKTI work when large areas are not grounded, we need to…
MathieuMorlighem Jan 29, 2026
79d88e9
CHG: Cleanup; trimming special characters from Jenkins test log
TidbitSoftware Jan 29, 2026
be7e41d
Correction to commands to strip special chars from Jenkins test log
TidbitSoftware Jan 29, 2026
12bec7d
Correction to commands to strip special chars from Jenkins test log (…
TidbitSoftware Jan 29, 2026
769d3a5
Correction of test log file to strip special chars from
TidbitSoftware Jan 29, 2026
a2e0c5f
Need to strip special chars from individual test log files
TidbitSoftware Jan 29, 2026
b2de01a
Also need to strip \e from Jenkins test logs
TidbitSoftware Jan 29, 2026
9a75a8d
Need to remove escape chars as octals
TidbitSoftware Jan 29, 2026
92dd69e
Target chars to filter out of Jenkins test logs with hex instead of o…
TidbitSoftware Jan 29, 2026
32c243e
Targeting incorrect log file
TidbitSoftware Jan 29, 2026
a6536fc
Correcting order of independent class setup; cleanup
TidbitSoftware Jan 29, 2026
c92f36d
add extrude for tf structure
Jan 29, 2026
7eef9cf
fixing spacing...
totorotoby Jan 29, 2026
3795fa2
Updated patch files for GMT 6.6
TidbitSoftware Jan 29, 2026
7d71c45
changed to specfically modify basalforcings
Jan 29, 2026
dc132db
more spacing...
totorotoby Jan 29, 2026
9a25ef7
Merge pull request #123 from ISSMteam/twh/extrude-tf
MathieuMorlighem Jan 29, 2026
05bb7c5
BUG: end missing
MathieuMorlighem Jan 29, 2026
db17c31
add optional time argument
Jan 29, 2026
de196e3
clean up a few lines
totorotoby Jan 29, 2026
d7818e9
simpler input parsing
Jan 30, 2026
f13183b
Merge pull request #124 from ISSMteam/twh/interpISMIP6AntOcn-time-option
MathieuMorlighem Jan 30, 2026
2009b14
CHG: fixed documentation
MathieuMorlighem Jan 30, 2026
94c3307
CHG: removed unused variables and cleaned up code
MathieuMorlighem Jan 30, 2026
20c8fdf
correcting floating ice deactivation in SHAKTI
aleahsommers Jan 30, 2026
3f70c7c
NEW: Added test to check floating ice in SHAKTI
aleahsommers Jan 30, 2026
76f0690
CHG: minor, estetics
MathieuMorlighem Feb 1, 2026
1ddf418
CHG: minor cleanup
MathieuMorlighem Feb 2, 2026
e575eb0
CHG: removed duplicate printf launching solution sequence
MathieuMorlighem Feb 2, 2026
b5a2357
CHG: better syntax for consistency checks
MathieuMorlighem Feb 2, 2026
9e3e751
CHG: fixing problem with independent declared as an int
MathieuMorlighem Feb 2, 2026
e1f570c
Fix universal size checks
lawrenceabird Feb 2, 2026
139059a
CHG: added check that isslc should be turned on
MathieuMorlighem Feb 2, 2026
26ef6ba
Update test306 + archive
lawrenceabird Feb 2, 2026
1688c62
Update test502 + archive
lawrenceabird Feb 2, 2026
66425b8
Update test503 + archive
lawrenceabird Feb 2, 2026
327e1ad
Update test512 + archive
lawrenceabird Feb 2, 2026
855b62c
Testing fix for running checkfield on subclass members that are lists…
TidbitSoftware Feb 2, 2026
27d6c2e
Merge pull request #125 from ACCESS-NRI/lb/020226_local
MathieuMorlighem Feb 2, 2026
24f13a1
checkfield should allow indexing by int or str
TidbitSoftware Feb 2, 2026
eb83cda
Modify handling in checkfield under Python based on whether index can…
TidbitSoftware Feb 2, 2026
b314156
CHG: Updated SHAKTI PIG nightly test to be faster
aleahsommers Feb 2, 2026
6cdfb0e
Merge branch 'main' of ssh://github.com/ISSMteam/ISSM
aleahsommers Feb 2, 2026
878dec1
add andes petsc23 and adjointpetsc andes install
Feb 2, 2026
2ef73b5
Added checkfield handling for 2D lists or lists of dicts; cleanup
TidbitSoftware Feb 3, 2026
f131554
Excluding test550 from Silicon builds (archive dimension issue) and p…
TidbitSoftware Feb 3, 2026
f9a771b
Update CI external package command
lawrenceabird Feb 4, 2026
df51c0c
Merge pull request #126 from ISSMteam/twh/andes-adjoint-petsc
MathieuMorlighem Feb 4, 2026
cba6a6f
Merge pull request #127 from ACCESS-NRI/main
MathieuMorlighem Feb 4, 2026
cf61d47
CHG: reset tape if first solver fails
MathieuMorlighem Feb 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 24 additions & 44 deletions .github/workflows/common-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
build_command:
required: true
type: string
ext_install_command:
ext_pkg_build_command:
required: true
type: string
test_cases:
Expand All @@ -39,46 +39,20 @@ jobs:
test_matrix: ${{ steps.createTestMatrix.outputs.test_output }}
steps:
- name: Free disk space
run: |
# Source: https://dev.to/mathio/squeezing-disk-space-from-github-actions-runners-an-engineers-guide-3pjg#6-how-to-automate-cleanup-in-your-ci
#

# Remove Java (JDKs)
#sudo rm -rf /usr/lib/jvm

# Remove .NET SDKs
sudo rm -rf /usr/share/dotnet

# Remove Swift toolchain
sudo rm -rf /usr/share/swift

# Remove Haskell (GHC)
sudo rm -rf /usr/local/.ghcup

# Remove Julia
sudo rm -rf /usr/local/julia*

# Remove Android SDKs
sudo rm -rf /usr/local/lib/android

# Remove Chromium (optional if not using for browser tests)
sudo rm -rf /usr/local/share/chromium

# Remove Microsoft/Edge and Google Chrome builds
sudo rm -rf /opt/microsoft /opt/google

# Remove Azure CLI
sudo rm -rf /opt/az

# Remove PowerShell
sudo rm -rf /usr/local/share/powershell

# Remove CodeQL and other toolcaches
sudo rm -rf /opt/hostedtoolcache

docker system prune -af || true
docker builder prune -af || true
df -h
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Check out copy of repository
uses: actions/checkout@v4

Expand All @@ -96,7 +70,7 @@ jobs:
- name: Prepare external packages
if: ${{ steps.cache-externalpackages.outputs.cache-hit != 'true' }}
run: |
${{ inputs.ext_install_command }}
${{ inputs.ext_pkg_build_command }}

- name: Get MATLAB
if: ${{ inputs.interface == 'matlab' }}
Expand Down Expand Up @@ -138,7 +112,12 @@ jobs:
run: make -j4 install

- name: Compress ISSM artifact
run: tar --exclude='./externalpackages/petsc/src' -cvf ISSM_artifact-${{ runner.os }}-${{ inputs.build_type }}.tar -C ${{ env.ISSM_DIR }}/ .
run: |
rm -rf .git
find externalpackages -maxdepth 1 -name src -exec rm -rf {} \;
find externalpackages -maxdepth 1 -name *tar.gz -exec rm -rf {} \;
find externalpackages -maxdepth 1 -name *zip -exec rm -rf {} \;
tar --exclude='./externalpackages/petsc/src' -cvf ISSM_artifact-${{ runner.os }}-${{ inputs.build_type }}.tar -C ${{ env.ISSM_DIR }}/ .

- name: Upload ISSM artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -166,6 +145,7 @@ jobs:
- name: Unpack ISSM artifact
run: |
tar -xvf ISSM_artifact-${{ runner.os }}-${{ inputs.build_type }}.tar
rm -rf ISSM_artifact-${{ runner.os }}-${{ inputs.build_type }}.tar
source $ISSM_DIR/etc/environment.sh
working-directory: ${{ env.ISSM_DIR }}
shell: 'bash'
Expand All @@ -175,7 +155,7 @@ jobs:
id: setup-matlab
uses: matlab-actions/setup-matlab@v2
with:
release: R2023b
release: R2025b
cache: true

- name: Creating matlab_ci.m
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
--with-triangle-dir="${ISSM_DIR}/externalpackages/triangle/install" \
--with-semic-dir="${ISSM_DIR}/externalpackages/semic/install" \
--with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install"
ext_install_command: |
ext_pkg_build_command: |
cd $ISSM_DIR/externalpackages/triangle && ./install-linux.sh
cd $ISSM_DIR/externalpackages/m1qn3 && ./install-linux.sh
cd $ISSM_DIR/externalpackages/petsc && ./install-3.22-linux.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-codipack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
--with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \
--with-medipack-dir="${ISSM_DIR}/externalpackages/medipack/install" \
--with-codipack-dir="${ISSM_DIR}/externalpackages/codipack/install"
ext_install_command: |
ext_pkg_build_command: |
cd $ISSM_DIR/externalpackages/triangle && ./install-linux.sh
cd $ISSM_DIR/externalpackages/m1qn3 && ./install-linux.sh
cd $ISSM_DIR/externalpackages/petsc && ./install-3.22-linux.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
--with-triangle-dir="${ISSM_DIR}/externalpackages/triangle/install" \
--with-semic-dir="${ISSM_DIR}/externalpackages/semic/install" \
--with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install"
ext_install_command: |
ext_pkg_build_command: |
cd $ISSM_DIR/externalpackages/triangle && ./install-linux.sh
cd $ISSM_DIR/externalpackages/m1qn3 && ./install-linux.sh
cd $ISSM_DIR/externalpackages/petsc && ./install-3.22-linux.sh
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,4 @@ examples/Data/*.mat
examples/Data/*.txt
examples/Data/*.zip
examples/Data/Jakobshavn_2008_2011_Composite
examples/Helheim/Models
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
ISSM is a large-scale thermo-mechanical 2D/3D parallelized multi-purpose finite-element software dedicated to ice sheet and sea-level modeling.

## Documentation
<a href="https://issmteam.github.io/ISSM-Documentation" target="_blank">Just The Docs</a>
A complete <a href="https://issmteam.github.io/ISSM-Documentation" target="_blank">documentation</a> is available <a href="https://issmteam.github.io/ISSM-Documentation" target="_blank">here</a>.

## Contact
- Bug Reporting: Please direct compile and run time bug reports strictly related to ISSM's core code or API's to the 'Issues' page.
- Questions: Please direct all other questions (e.g. model setup, configuration/compiling on a particular platform, compute cluster configuration) to the 'Discussions' page.
- <a href="https://github.com/ISSMteam/ISSM/discussions/113" target="_blank">Slack Workspace</a>
- Website: https://issm.jpl.nasa.gov (will be decommissioned soon)

## Checking Out a Copy of the Repository
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

#Initializing configure
AC_INIT([Ice-sheet and Sea-level System Model (ISSM)],[4.24],[https://github.com/ISSMteam/ISSM/],[issm],[https://issmteam.github.io/ISSM-Documentation/])
AC_CONFIG_AUX_DIR([./aux-config]) # Put config files in aux-config
AC_CONFIG_MACRO_DIR([m4]) # m4 macros are located in m4
AC_INIT([Ice-sheet and Sea-level System Model (ISSM)],[2026.1],[https://github.com/ISSMteam/ISSM/],[issm],[https://issmteam.github.io/ISSM-Documentation/])
AC_CONFIG_AUX_DIR([./aux-config]) # Put config files in aux-config
AC_CONFIG_MACRO_DIR([m4]) # m4 macros are located in m4
m4_include([m4/issm_options.m4])

#print header
Expand Down
10 changes: 0 additions & 10 deletions etc/environment.csh
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ if ( -d {$PETSC_ROOT} ) then
endif
endif

set SCOTCH_ROOT="{$ISSM_EXT_DIR}/scotch/install"
if ( -d {$SCOTCH_ROOT} ) then
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:{$SCOTCH_ROOT}/lib
endif

set DAKOTA_ROOT="{$ISSM_EXT_DIR}/dakota/install"
if ( -d {$DAKOTA_ROOT} ) then
setenv PATH {$PATH}:{$DAKOTA_ROOT}/bin
Expand Down Expand Up @@ -202,11 +197,6 @@ if ( -d {$TRIANGLE_ROOT} ) then
setenv DYLD_LIBRARY_PATH {$DYLD_LIBRARY_PATH}:{$TRIANGLE_ROOT}/lib
endif

set YAMS_ROOT="{$ISSM_EXT_DIR}/yams/install"
if ( -d {$YAMS_ROOT} ) then
setenv PATH {$PATH}:{$YAMS_ROOT}
endif

set VALGRIND_ROOT="{$ISSM_EXT_DIR}/valgrind/install"
if ( -d {$VALGRIND_ROOT} ) then
setenv PATH {$VALGRIND_ROOT}/bin:{$PATH}
Expand Down
18 changes: 0 additions & 18 deletions etc/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,6 @@ if [ -d "${ADJOINTPETSC_TEMP}" ]; then
ld_library_path_append "${ADJOINTPETSC_TEMP}/lib"
fi

SCOTCH_ROOT_TEMP="${ISSM_EXT_DIR}/scotch/install"
ld_library_path_append "${SCOTCH_ROOT_TEMP}/lib"

BOOST_ROOT_TEMP="${ISSM_EXT_DIR}/boost/install"
if [ -d "${BOOST_ROOT_TEMP}" ]; then
export BOOST_ROOT=${BOOST_ROOT_TEMP} # Used in installation of Dakota
Expand Down Expand Up @@ -445,16 +442,6 @@ if [ -d "${TRIANGLE_ROOT_TEMP}" ]; then
fi
fi

BBFTP_ROOT_TEMP="${ISSM_EXT_DIR}/bbftp/install"
if [ -d "${BBFTP_ROOT_TEMP}" ]; then
path_append "${BBFTP_ROOT_TEMP}/bin"
fi

SHAPELIB_ROOT_TEMP="${ISSM_EXT_DIR}/shapelib/install"
if [ -d "${SHAPELIB_ROOT_TEMP}" ]; then
path_append "${SHAPELIB_ROOT_TEMP}/exec"
fi

ESMF_ROOT_TEMP="${ISSM_EXT_DIR}/esmf/install"
if [ -d "${ESMF_ROOT_TEMP}" ]; then
path_prepend "${ESMF_ROOT_TEMP}/bin"
Expand All @@ -466,11 +453,6 @@ if [ -d "${NEOPZ_ROOT_TEMP}" ]; then
export REFPATTERNDIR="${NEOPZ_ROOT_TEMP}/include/refpatterns"
fi

YAMS_ROOT_TEMP="${ISSM_EXT_DIR}/yams/install"
if [ -d "${YAMS_ROOT_TEMP}" ]; then
path_prepend "${YAMS_ROOT_TEMP}"
fi

VALGRIND_ROOT_TEMP="${ISSM_DIR}/externalpackages/valgrind/install"
if [ -d "${VALGRIND_ROOT_TEMP}" ]; then
path_prepend "${VALGRIND_ROOT_TEMP}/bin"
Expand Down
29 changes: 29 additions & 0 deletions externalpackages/adjointpetsc/install-andes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash
set -eu

#Some cleanup
rm -rf install src build

#Download development version
git clone https://github.com/SciCompKL/adjoint-PETSc.git src
mkdir install
mkdir build

grep -rl 'remove_cvref_t' . | xargs sed -i 's/std::remove_cvref_t<\([A-Za-z0-9_]*\)>/std::remove_cv_t<std::remove_reference_t<\1>>/g'

$ISSM_DIR/externalpackages/cmake/install/bin/cmake src \
-B build \
-DBUILD_TESTING=OFF \
-DBUILD_EXAMPLES=OFF \
-DCMAKE_BUILD_TYPE=RELEASE \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_PREFIX=$ISSM_DIR/externalpackages/adjointpetsc/install \
-DCoDiPack_DIR=$ISSM_DIR/externalpackages/codipack/install/cmake \
-DPETSc_DIR=$ISSM_DIR/externalpackages/petsc/install

if [ $# -eq 0 ]; then
cmake --build build
else
cmake --build build -j $1
fi
cmake --install build
27 changes: 0 additions & 27 deletions externalpackages/bbftp/install.sh

This file was deleted.

18 changes: 0 additions & 18 deletions externalpackages/cppcheck/install-dev.sh

This file was deleted.

28 changes: 13 additions & 15 deletions externalpackages/cppcheck/install.sh
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
#!/bin/bash
set -eu

#Erase install
rm -rf install src cppcheck-1.48
mkdir src

#Download from ISSM server
$ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/cppcheck-1.48.tar' 'cppcheck-1.48.tar'
tar -xvf cppcheck-1.48.tar
## Constants
#
PREFIX="${ISSM_DIR}/externalpackages/cppcheck/install" # Set to location where external package should be installed

mv cppcheck-1.48/* src
rm -rf cppcheck-1.48
# Cleanup
rm -rf ${PREFIX} src

#compile
# Download source
git clone [email protected]:danmar/cppcheck.git src

# Compile and install
cd src
if [ $# -eq 0 ]; then
make
else
make -j $1
fi
make install PREFIX=$ISSM_DIR/externalpackages/cppcheck/install
cd ..
make MATCHCOMPILER=yes FILESDIR="${PREFIX}" HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"
else
make -j $1 MATCHCOMPILER=yes FILESDIR="${PREFIX}" HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"
fi
45 changes: 27 additions & 18 deletions externalpackages/esmf/install.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,30 @@
#!/bin/bash
set -eu

#DOC: https://earthsystemmodeling.org/docs/nightly/develop/ESMC_crefdoc/node5.html#SECTION05063000000000000000
# https://cpp.hotexamples.com/examples/-/-/ESMC_MeshAddNodes/cpp-esmc_meshaddnodes-function-examples.html

$ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/ESMF_8_0_1.tar.gz" "ESMF_8_0_1.tar.gz"
tar -zxvf ESMF_8_0_1.tar.gz
mv ESMF_8_0_1 esmf
export ESMF_DIR=$ISSM_DIR/externalpackages/esmf/esmf
export ESMF_INSTALL_PREFIX=$ISSM_DIR/externalpackages/esmf/install

#Compile and install esmf
cd esmf
if [ $# -eq 0 ]; then
make
make install
else
make -j $1
make -j $1 install
fi
## Sources
# - https://earthsystemmodeling.org/docs/nightly/develop/ESMC_crefdoc/node5.html#SECTION05063000000000000000
# - https://cpp.hotexamples.com/examples/-/-/ESMC_MeshAddNodes/cpp-esmc_meshaddnodes-function-examples.html

## Constants
#
PREFIX="${ISSM_DIR}/externalpackages/math77/install" # Set to location where external package should be installed

VER="8_0_1"

export ESMF_DIR="${ISSM_DIR}/externalpackages/esmf/src"
export ESMF_INSTALL_PREFIX="${PREFIX}"

# Cleanup
rm -rf ${PREFIX} src

# Download source
${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://github.com/esmf-org/esmf/archive/refs/tags/ESMF_${VER}.tar.gz" "ESMF_${VER}.tar.gz"

# Unpack source
tar -zxvf ESMF_${VER}.tar.gz
mv esmf-ESMF_${VER} ${ESMF_DIR}

# Compile and install
cd ${ESMF_DIR}
make
make install
Loading