ISSM: bring your own script#
This 247-second beginner tutorial imports a three-file MATLAB workflow and its synthetic JSON input, runs native ISSM, then renders and saves the results. Start with Basic ISSM and your reviewed BYO AWS connection plus MATLAB license/Connector setup. Sign in with an approved account and keep the existing license/Connector ready. This recording uses the current native BYO route.
Watch · pause · try it
ISSM: bring your own script
Import three scripts, reference their JSON input, launch native ISSM and inspect the saved archive.
Guided mode pauses after each recorded confirmation. Try the action, then Continue. Mark the checklist yourself after doing each step.
· notes stay in this page visit
1. Run your own ISSM script
Do this:
Goal: upload a small MATLAB workflow and a synthetic JSON input, run native ISSM on your connected AWS resources, then inspect and download its results.
Have an approved CryoStack login, a verified BYO AWS connection, and configured MATLAB plus Connector.
Why: Bring your source, referenced data and native outputs into one reviewed workflow.
Look for: Use a verified BYO AWS connection, your MATLAB license and Connector.
Open CryoLauncher. Choose Cloud → Advanced → ISSM.
2. Download the tutorial inputs
Do this:
Open Pilot Tutorials → Bring your own script and download the supplied native input packet. Extract it.
Scripts: runme.m, Launch.par, validate_launch_dataset.m.
Data: issm-shelf-small-v1.json.
Why: The entry script, two helpers and JSON must be available before importing.
Look for: Scripts: runme.m, Launch.par, validate_launch_dataset.m; data: issm-shelf-small-v1.json.
Scripts are in examples/soft_launch/issm/. JSON is in examples/soft_launch/datasets/.
3. Create your workspace example
Do this:
In Editor, enter a new name and choose New example.
This recording uses pilot-issm-script-1119. Keep the new owned example selected for the following uploads.
Why: An owned example gives your imported scripts a separate editable home.
Look for: Keep that example selected for scripts and dataset references.
New ISSM examples include a starter runme.m. The supplied entry script replaces it.
4. Choose Upload
Do this:
One JSON file is selected. Choose Upload.
The selected-file count changes from 1 to 0 when Upload finishes.
The confirmation names issm-shelf-small-v1.json. Keep this dataset for the next reference step.
Why: Uploading stores the selected JSON in your workspace dataset library. The filename confirms which dataset will be attached next.
Look for: The selected-file count changes from 1 to 0 when upload finishes.
The next view keeps the actual action and confirmation. Datasets are stored separately from source files.
5. Choose Reference in example
Do this:
Select the JSON dataset, then choose Reference in example.
The confirmation gives data/issm-shelf-small-v1.json.
This is the exact relative path read by runme.m. The dataset is now referenced by this owned example.
Why: A reference binds this dataset to the current owned example. The exact relative path connects the attachment to the entry script.
Look for: This exact relative path is read by runme.m.
The next view keeps the actual action and confirmation. The referenced bytes are copied into data/ when the next run is staged.
6. Replace and import all three scripts
Do this:
Choose runme.m, Launch.par and validate_launch_dataset.m together.
Check Replace existing script files, then choose Import script files.
Read the confirmation: runme.m, Launch.par and validate_launch_dataset.m are imported and Files are saved.
The entry script now shows 37 lines, saved.
Why: Replace is essential because a new ISSM example includes a starter runme.m. Check saved source before the next staging step snapshots it.
Look for: The accepted entry script is 37 lines; every submitted input hash matched.
Watch selected count 0 → 3 → 0. Replacement is essential for the starter runme.m. All three scripts and the referenced JSON matched the expected hashes before launch and in the submitted snapshot.
8. Confirm the entrypoint
Do this:
In Experiment, set Action to Run and Run target to runme.m.
Keep the owned example and the three saved scripts from the previous steps.
Choose Review & Launch. Confirm model ISSM, your owned example, and the resources shown in the review.
Use the existing configured license and Connector. Scroll to the bottom and choose Launch cloud run.
Why: The entrypoint chooses which MATLAB workflow is actually executed. The normal review checks resources, license and the selected example.
Look for: Check the model, example, resources, configured license and Connector.
The selected entry script is runme.m; the two helpers and referenced JSON accompany it. This native run used 2 vCPU and 8 GiB. The task time limit was 60 minutes.
10. Follow the new submission
Do this:
The new run enters Submitting, then Queued while AWS starts the container.
Wait for Running and Completed before opening its results.
Why: Follow the new submission rather than a previous completed run.
Look for: Wait for this run’s results, rather than a previous completed run.
The launch confirmation precedes this actual new submission.
11. Completion and elapsed times
Do this:
The native run completed successfully.
Submission → Batch start: 219.980 s.
Batch task: 45.010 s.
Script-reported interval: 2.156046 s.
Why: Startup, task time and script time describe different intervals.
Look for: Startup 219.980 s; Batch task 45.010 s; script interval 2.156 s.
Startup, task time and script time measure different intervals.
12. Render the native velocity
Do this:
In Workspace → Results, choose StressbalanceSolution and Vel, then choose Render.
This is the recorded Render action and its native output.
Why: Render displays the selected native result without rerunning the solve.
Look for: one diagnostic solution with 13 native nodal values.
The selected output contains one diagnostic solution and 13 nodal values.
13. Inspect the saved native field
Do this:
The unchanged native PNG shows speed in metres/year.
13 vertices and 16 triangles. Speed ranges from 0 to 18.89046 m/year.
Node-RMS speed is 6.2386984 m/year. Convergence is the scalar 25.
Why: Use the figure, mesh count and node-weighted metric together.
Look for: Speed: 0–18.89046 m/year; node-RMS: 6.2386984 m/year.
The 10 km square uses one diagnostic SSA Stressbalance solve, without physical time advance.
14. Download this run’s results
Do this:
Choose Download results, then use the fresh HTTPS download link.
The saved ZIP has 13 CRC-valid members: mesh, native fields and figure, model, metrics and runtime/RNG provenance.
Why: Retain the native fields with source/data hashes and runtime provenance.
Look for: Retain the 13-member result ZIP with the input and runtime manifests.
Keep the archive together with the input manifest and recorded runtime versions.
15. What this example establishes
Do this:
This script starts with zero velocity and fixes its non-front boundary velocities. The shared JSON speed setting is unused.
Thickness is source-confirmed at 300–500 m; its arithmetic-node mean is 400 m. The saved model geometry is opaque locally.
Why: The actual script and boundary conditions define this diagnostic result.
Look for: Zero initial and constrained-boundary velocity; the JSON speed is unused.
One verified native diagnostic execution. Full source/data/runtime receipts are linked; this is not a repeat or accuracy result.
Import runme.m, Launch.par and validate_launch_dataset.m from examples/soft_launch/issm/. Upload the JSON from examples/soft_launch/datasets/. Read captions · Download video
Video (MP4) · Captions (VTT) · Sanitized native run receipt · Video and exact input-packet receipt
The silent wide recording retains the same accepted native run and four-file input snapshot. Guided playback and the checklist control the tutorial only; source import and actual job launch remain explicit actions in CryoLauncher.
Download the exact tutorial files#
From Pilot Tutorials → Bring your own script, choose the
native ISSM own-script input packet.
The same download is available here. Extract it before opening the file picker.
Its four members match the scientific files in the successful submitted snapshot;
this is a separate download from the HDF5/MAT initial-field packet.
Extracted folder |
Files and action |
|---|---|
|
Import |
|
Upload |
The ZIP is 2,874 bytes, with four CRC-valid members, SHA-256
ea51a4351d48bc9bb72c2f3c9886962d38bc28240cfe87fcd3013b7dfdd413a9.
The HDF5/MAT packet has different scripts and initial conditions; use this
own-script packet to follow this video.
Follow the controls#
Choose Cloud → Advanced → ISSM. In the right-hand Workspace → Editor, enter a new name and choose New example. Keep that owned example selected. The recording uses
pilot-issm-script-1119.In the left-hand Datasets panel, choose
issm-shelf-small-v1.jsonwith Choose data files, then choose Upload. Watch the selected count change from one to zero and confirm the uploaded filename.Select that dataset and choose Reference in example. Keep its baseline filename as the alias. Confirm
data/issm-shelf-small-v1.json, which is the path read byrunme.m.In Editor, choose the three files in
examples/soft_launch/issm/together. Enable Replace existing script files to replace the seededrunme.m, then choose Import script files. Watch the count change from zero to three to zero.Confirm that the saved-file message names all three files:
runme.m,Launch.parandvalidate_launch_dataset.m. Keep them in the same example.In Experiment, confirm Action = Run and Run target =
runme.m. Source import and target selection are separate controls.Choose Review & Launch. Check model ISSM, your owned example, the referenced JSON, prepared resources, pinned image and existing MATLAB/Connector. This run used 2 vCPU / 8 GiB, with a 60-minute task ceiling. Scroll to the bottom and choose Launch cloud run explicitly.
Follow the new run through Submitting, Queued, Running and Completed. Open its results. In the right-hand Workspace → Results, confirm the run identity and choose StressbalanceSolution → Vel → Render.
Choose Download results, use the fresh HTTPS link, and confirm your browser saved the archive. Keep the ZIP and manifests with the four input files.
Recording scope: separate real setup/result takes and reading holds shorten long waits. The source selection/import, Upload/Reference confirmations, submitted case and native Results/Download evidence belong to the accepted own-script workflow. Measured startup/task/script times below remain separate.
What this script solves#
This is a 10 km × 10 km synthetic floating shelf. Triangle uses the JSON’s
2,500 m mesh spacing; the retained mesh has 13 vertices and 16 triangles,
covering 100,000,000 m². The parameter file sets thickness from 500 m at
y=0 to 300 m at y=width, and computes hydrostatic base/surface using the
runtime material densities. The calving-front contour is at y=width.
Temperature is 253.15 K.
Initial vx/vy are zero. SetIceShelfBC supplies zero finite non-front
velocity constraints for this source, which provides no observed velocity
arrays. The shared JSON’s 100 m/year inflow velocity is unused by this ISSM
workflow. Its dt_years, mesh_nx and mesh_ny are also unused. The file’s
timesteps=1 triggers one diagnostic SSA Stressbalance solve, with requested
np=1, and no physical time advance. It is not a 0.01-year transient run.
The model retains solved md for export. Its MATLAB MCOS representation is
opaque to these local readers, so the thickness formula and zero initial/BC
settings are source-confirmed; they are not independently decoded from the
saved model. A topology-based check infers five non-front boundary vertices and
finds solved vx/vy exactly zero there. That observable-field check does not
decode the saved constraint arrays.
Checked native result#
Vx, Vy, Vel and Pressure each contain 13 finite nodal values.
StressbalanceConvergenceNumSteps is a separate scalar 25. Speed is
0–18.890460 m/year, with node-RMS speed
sqrt(mean(Vel.^2)) = 6.238698 m/year. The thickness range is source-confirmed
at 300–500 m, with an arithmetic-node mean of 400 m, corroborated by the
reported metrics. These node-based means are not area-weighted.
This is the unchanged native PNG from the accepted archive, with its full title, axes and colour bar. Its geometry, initial/boundary conditions and diagnostic solve differ from the MAT full-field case and the Icepack own-script example; their metrics are not an equality comparison.
The saved result ZIP is 236,492 bytes with 13 CRC-valid members, SHA-256
7d3beb7985a8231f9ef8e72d12d3654804654ba7e6565ae58fd6ea6eb726ccca.
It contains mesh, native fields/figure, model, metrics and runtime/RNG metadata.
MATLAB is R2024b Update 7 and ISSM 2026.1. The immutable image digest is
sha256:d68d88dcb7047f29d6e277a45710f50f1bf3023566e0472f07a7dd75ffbcd170.
Requested MPI count is one; solver-child rank observation remains unavailable.
Submission to Batch start took 219.980 s, the task 45.010 s, and the script-reported interval 2.156046 s. The script interval includes its setup, meshing and diagnostic solve; the 60-minute ceiling is not measured model time. MATLAB global RNG state was captured without resetting or advancing it; Triangle’s internal seed remains unknown. This one native execution establishes the supplied source/input workflow, with no independent repeat, PC/AWS agreement or scientific accuracy claim.
Exact submitted scientific hashes#
File |
SHA-256 |
|---|---|
|
|
|
|
|
|
|
|
Icepack own-script guide · Recording matrix · All pilot tutorials
