Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
063b6b1
placeholder issm gridcomp, directory, cmakelists
Sep 16, 2025
99c9be8
filling out basic gridcomp structure
Sep 16, 2025
9bef4de
add call to child in landice
Sep 16, 2025
3aa9eea
update issm cmakelists, add comments
Sep 17, 2025
ebacece
more comments
Sep 17, 2025
6d53c14
comments
Sep 17, 2025
a676596
comment out alot to try hello-world child
Sep 17, 2025
8416bf3
edit cmakelists
Sep 17, 2025
6bcbae7
trying to fix cmakelists
Sep 17, 2025
022be8b
shuffling cmakelists commands
Sep 17, 2025
0c6e441
comments
Sep 17, 2025
fa5981a
trying to rename issm gridcomp
Sep 17, 2025
d5b52bf
correct gridcomp name
Sep 17, 2025
3bd7776
add mapl metacomp pointers
Sep 17, 2025
ba5ec9a
debugging child run call
Sep 17, 2025
0763c6a
comment
Sep 18, 2025
5fe0310
uncomment actual issm calls
Sep 18, 2025
c9ec4f8
comment fix
Sep 18, 2025
23b95cb
remove redundancy
Sep 18, 2025
4ae646f
comment out just the run issm call
Sep 18, 2025
1a03c79
also comment out issm finalize just in case
Sep 18, 2025
0eebfbe
try printing vm info
Sep 18, 2025
bf083eb
trying to call issm initialize again
Sep 18, 2025
ae2b379
shuffles calls around
Sep 18, 2025
0ef069d
call get vm
Sep 19, 2025
70688d9
call issm finalize
Sep 19, 2025
2cb4389
try gridcompcreate with issm mesh
Sep 19, 2025
85a1318
comment a comment...
Sep 19, 2025
6f72205
try gridcompset for issm mesh...
Sep 19, 2025
847ef41
try to call issm run
Sep 19, 2025
2b67056
see if adding vmbarrier fixes petsc error
Sep 19, 2025
b613d5b
try buffering number of elements
Sep 19, 2025
960ea2a
revert number of elements, remove sdim
Sep 19, 2025
b3c8666
trying to run from initialize just to see...
Sep 19, 2025
6c999a0
revert to correct run/initialize structure
Sep 19, 2025
2e8ada2
trying calling mapl_genericinitialize before issm
Sep 19, 2025
f117650
print smb inputs, never give up
Sep 19, 2025
bd4fcf5
smb all zeros is good, print sizes to make sure...
Sep 19, 2025
e608ffa
try running again
Sep 19, 2025
651392b
fix issm rootdir
Sep 21, 2025
b076005
fix directory argv trunction
Sep 21, 2025
2d3f151
minor comments
Sep 22, 2025
ed312fe
remove vm print info
Sep 22, 2025
59dd3de
duplicate vm comm for issm use
Sep 23, 2025
f562b8d
child call according to run alarm
Sep 24, 2025
9138e80
add barriers and deallocates
Sep 26, 2025
466366a
try mpi barrier
Sep 26, 2025
babce7c
don't forget allocations
Sep 26, 2025
9d804ff
add suffix just in case
Sep 26, 2025
b815972
add intrinsics and comments
Oct 1, 2025
b0f7b07
point to petsc debug version
Oct 1, 2025
09d2dee
remove intrinsics, threw syntax error
Oct 1, 2025
c8b848d
remove some comments
Oct 6, 2025
6d9522f
add ISSM alarm test
Oct 6, 2025
5fb8a79
declare alarm
Oct 6, 2025
b58a751
remove some printing and alarm_off call
Oct 7, 2025
323e11f
change mesh coordsys to lat-lon, mv runchild call
Oct 7, 2025
6319060
minor comments
Oct 9, 2025
751463b
comment about lat/long
Oct 9, 2025
1df4220
add mesh-to-agrid regridding
agstub Nov 4, 2025
3648359
add locstream transform
Nov 5, 2025
1e0ea27
replace mktile
Nov 5, 2025
677278b
fix typo
Nov 5, 2025
69b3a50
various comments and renaming
Nov 5, 2025
b081fed
fix type error
Nov 5, 2025
ba28650
fix type error
Nov 5, 2025
ec50d30
fix several types
Nov 5, 2025
3a08816
fix fieldfill
Nov 5, 2025
9c9bafd
add grid-to-mesh routehandle
Nov 6, 2025
d9c9c51
fix assignment
Nov 6, 2025
0dbc28c
add import states
Nov 6, 2025
e61d17d
format consistency
Nov 6, 2025
9c5e7e3
formatting consistency
Nov 6, 2025
04f127d
some comments
Nov 6, 2025
bcc108d
add some smb variables
Nov 6, 2025
eb27956
fix deallocate
Nov 6, 2025
12f5fe9
add regrid for smb
Nov 6, 2025
bda5182
allocate grid field
Nov 7, 2025
fb87304
fix meshloc
Nov 7, 2025
414fddd
fixed allocation issue-mostly working
agstub Nov 7, 2025
cc2bff0
update locstream transforms-working
agstub Nov 12, 2025
578b77e
add do_issm flag
Nov 18, 2025
0426593
specify issm expdir/input in rc file
Nov 18, 2025
79728a9
add average,refresh intervals to smb import
agstub Nov 19, 2025
dc0d67e
add mesh save option
agstub Nov 21, 2025
50add94
Merge branch 'develop' into feature/agstub/issm-gridcomp
Feb 5, 2026
04a6376
set initialize method to be consistent w/o issm
Feb 5, 2026
d3ab7ff
v11: Build ISSM based on detection of ISSM
mathomp4 Feb 6, 2026
d3af239
Merge pull request #1206 from GEOS-ESM/feature/issm-optional
agstub Feb 9, 2026
1faf388
set issm surface resource parameters, fix comment
Feb 11, 2026
ccb0f3f
add element IDs to mesh save
agstub Feb 11, 2026
e796a23
init changes
weiyuan-jiang Feb 11, 2026
52f80e5
Merge branch 'feature/agstub/issm-gridcomp' into feature/agstub/issm-…
weiyuan-jiang Feb 11, 2026
0660d34
hide locstream and grid in internal state
weiyuan-jiang Feb 12, 2026
dbfbadb
create mesh_grid for output
weiyuan-jiang Feb 12, 2026
021fc34
Merge pull request #1209 from GEOS-ESM/feature/jiang/issm-gridcomp
agstub Feb 13, 2026
47cb3ed
add new issm expots to gridcomp
Feb 16, 2026
0ea9f88
fix variable name typo
Feb 16, 2026
981e4da
fix fielddestroy calls
Feb 16, 2026
f965e23
initialize issm outputs to zero
Feb 16, 2026
6af64bd
rm whitespace
Feb 16, 2026
877ac87
edit formatting
Feb 16, 2026
c41c4dc
rename mesh file
Feb 16, 2026
7318859
Merge pull request #1210 from GEOS-ESM/feature/agstub/issm-outputs
agstub Feb 16, 2026
645987b
name mesh file according to issm coniguration name
Feb 18, 2026
15ba70f
Merge branch 'feature/agstub/issm-gridcomp' into feature/agstub/issm-…
agstub Feb 18, 2026
2e46e29
Merge pull request #1211 from GEOS-ESM/feature/agstub/issm-outputs
agstub Feb 18, 2026
220a99d
get issm exports in landice tile space
weiyuan-jiang Feb 19, 2026
d25e139
initial changes
Feb 23, 2026
1f6c2e9
fix interface arg
agstub Feb 24, 2026
95ca554
Merge pull request #1216 from GEOS-ESM/feature/agstub/issm-multiglac
agstub Feb 24, 2026
d1e4241
Merge branch 'feature/wjiang/retrieve_issm_exports' into feature/agst…
Mar 10, 2026
905f72e
icesurf export on landice tile via internal state
Mar 10, 2026
a6e7527
fix deallocate error
Mar 10, 2026
67112db
subroutine for transform mesh to tile
Mar 11, 2026
08f3b0c
allocates outside subroutine
Mar 11, 2026
3e72811
Revert "allocates outside subroutine"
Mar 11, 2026
be86e5a
Revert "subroutine for transform mesh to tile"
Mar 11, 2026
b45bca8
add flow speed and thick exports
Mar 11, 2026
f6d0a1a
rm grid deallocates
Mar 11, 2026
e5f4e6c
Revert to 67112db, rm deallocate
Mar 11, 2026
3d31183
subroutine calls for other exports
Mar 11, 2026
22921db
add deallocates
Mar 11, 2026
846becc
mv fielddestroys
Mar 11, 2026
0622a13
subroutine for tile to mesh transform
Mar 11, 2026
38ac76f
rm redundant fielddestroys
Mar 11, 2026
d23f096
add allocates
Mar 11, 2026
77db7e7
commentary
Mar 11, 2026
dc53ec9
remove vm barriers
Mar 12, 2026
4fc7138
Revert "remove vm barriers"
Mar 12, 2026
649cf4c
keep necessary barriers
Mar 12, 2026
2d9ed71
comments
Mar 12, 2026
03067fe
Revert "keep necessary barriers"
Mar 12, 2026
a790d92
remove stray barrier
Mar 12, 2026
431cf8e
comment
Mar 12, 2026
2608854
rename ice-equiv smb export
Mar 12, 2026
86c1c6d
comment
Mar 12, 2026
5533eff
add elementCoords for the output
weiyuan-jiang Mar 16, 2026
008943b
convert unit to radiant
weiyuan-jiang Apr 2, 2026
efd1a19
Merge pull request #1227 from GEOS-ESM/feature/wjiang/ISSM_latlon
agstub Apr 2, 2026
a50add0
add internal state
Apr 3, 2026
47da438
fix mesh seam in antarctica
agstub Apr 9, 2026
1aa946f
add ice thickness internal
Apr 9, 2026
b150dfb
Merge branch 'develop' into feature/agstub/issm-gridcomp
Apr 9, 2026
99dfd49
add new exports and internals
Apr 13, 2026
09cd6c2
initial node updates
Apr 13, 2026
76b7126
update regridding routines with halo info
Apr 13, 2026
07c8ea0
minor fixes
Apr 13, 2026
a62eb9a
add nodeowners
Apr 13, 2026
b1a33f0
fix typo
Apr 13, 2026
8f7f436
fix allocate omission
Apr 13, 2026
34a6669
fix mask type
Apr 14, 2026
1f07daa
rename iceeqsmb for simplicity
Apr 14, 2026
a5fd6ca
comment
Apr 14, 2026
1a4e711
fix mask index
Apr 15, 2026
c6eaa31
switch from logical mask to indices
Apr 15, 2026
c04bdb2
fix typos
Apr 15, 2026
ba61053
import icesmb by private state (fix alloc issue)
Apr 24, 2026
79234b9
add icesmb to derived type
Apr 24, 2026
746049e
fix deallocates
Apr 24, 2026
ea1fc6f
fixed deallocates; everything works now
agstub Apr 24, 2026
9b8750d
Merge pull request #1378 from GEOS-ESM/feature/agstub/issm-nodes
agstub Apr 24, 2026
f0ba494
put grid variables in subroutine
agstub Apr 27, 2026
5832cf4
set issm restarts from geos
agstub Apr 28, 2026
7958aec
update gridcomp description
agstub Apr 28, 2026
fc5527b
set issm_expdir to scratch dir
agstub Apr 29, 2026
94ddb89
remove elementConn from run and restart interface
agstub May 1, 2026
739e1bb
Merge pull request #1384 from GEOS-ESM/develop
agstub May 1, 2026
9db5677
comment and add allocate trues
May 1, 2026
1340e71
add comment
May 1, 2026
e720d6a
delete whitespace
May 1, 2026
2f2750f
more comments
May 1, 2026
a137a1b
conditional compilation directives
agstub May 3, 2026
f4b6ec1
try preprocess property
agstub May 3, 2026
0688813
Revert "try preprocess property"
agstub May 3, 2026
38daed0
start preproc macros on first columns
May 4, 2026
1ad658c
Merge branch 'develop' into feature/agstub/issm-gridcomp
sdrabenh May 6, 2026
1fdf452
Merge branch 'develop' into feature/agstub/issm-gridcomp
gmao-rreichle May 7, 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
Original file line number Diff line number Diff line change
@@ -1,6 +1,40 @@
esma_set_this ()

# First set alldirs to empty
set(alldirs)
# ... and srcs to the LandIceGridComp
set (srcs GEOS_LandIceGridComp.F90)

# Then try to find ISSM
find_package (ISSM QUIET COMPONENTS Core)

if(ISSM_FOUND)
# If ISSM is found, append the directory to alldirs
message(STATUS "ISSM found, building gridded component")
list (APPEND alldirs GEOSissm_GridComp)
else()
# If ISSM is not found, append the stub component to srcs
message(STATUS "ISSM not found, using stub component")
# For esma_create_stub_component, we need the name of the *module*
# that the landice gc is expecting, minus the mod. Also we
# have to use the variable srcs but not the ${srcs} because
# esma_create_stub_component is expecting the list itself, not the
# contents of the list.
esma_create_stub_component(srcs GEOS_IssmGridComp)
endif()

# We have to do the above way because what esma_create_stub_component
# does is to append the stub component it creates in the build tree to a
# list of sources srcs. So if ISSM is found, we go into the subdir and
# build the real component, and if ISSM is not found, we create the stub
# component and append it to srcs.

esma_add_library (${this}
SRCS GEOS_LandIceGridComp.F90
DEPENDENCIES MAPL GEOS_Shared GEOS_SurfaceShared ESMF::ESMF NetCDF::NetCDF_Fortran
)
SRCS ${srcs}
SUBCOMPONENTS ${alldirs}
DEPENDENCIES MAPL GEOS_Shared GEOS_SurfaceShared ESMF::ESMF NetCDF::NetCDF_Fortran)

if(ISSM_FOUND)
# If ISSM is found, add this definition
target_compile_definitions(${this} PRIVATE HAVE_ISSM)
endif()
Loading