Remote Icepack: bring your own Python script#

Create an owned example, import your script and helper, reference a JSON input, and run the native Icepack model through your HPC allocation. The source files and scientific configuration are the same as the Cloud own-script example.

Download the exact tutorial files#

Download the Remote Icepack inputs (.zip) and extract them.

Extracted file

Use in CryoLauncher

scripts/run.py

Import into the owned example; choose it as Run target.

scripts/validate_dataset.py

Import alongside run.py.

datasets/remote-icepack-site-1125.json

Upload through Datasets, then reference with alias icepack-shelf-small-v1.json.

The script reads data/icepack-shelf-small-v1.json. The uploaded filename and its staged alias differ. Set icepack-shelf-small-v1.json as the reference alias, without the data/ prefix, before choosing Reference in example. The packet includes the input hashes and uses unchanged AWS-baseline scientific bytes.

Before you start#

Have a CryoStack account, a working CryoStack Connector connection, and an authorized HPC allocation. This walkthrough uses a configured PACE resource and the tested ICESEE container. Check that SSH access is Verified. Your own HPC username and allocation belong in the connection and Slurm fields.

For this short example, request one node, one task and one task per node, 16 GiB, and a 30-minute wall-time ceiling. Use the queue configured for your resource. An uncached container can add setup time before the model starts.

Follow the controls#

Watch · pause · try it

Icepack: bring your own script on Remote HPC

Import Python source, reference the JSON alias and inspect native Icepack fields on your HPC allocation.

Open CryoLauncher ↗Download inputs (.zip)15 chapters

Run your own Icepack script on Remote HPC

Do this:

Run your Python shelf script on your HPC allocation.

Why: Keep your source, helpers and data together in a reviewed workflow.

Look for: Have run.py, validate_dataset.py, a JSON input and your Connector ready.

1. Choose Remote HPC and Icepack

Do this:

Choose Remote HPC → Advanced → Icepack.

Why: Keep your own scripts and data in an editable example.

Look for: Remote HPC and Advanced are selected.

2. Create an owned example

Do this:

Enter a new name, then choose New example.

Wait for the created-workspace confirmation.

Why: An owned example keeps your files together.

Look for: The file list is empty and the new example is selected.

3. Import the entry script and helper

Do this:

Choose run.py and validate_dataset.py together.

Choose Import script files and wait for Files are saved.

Why: The validator is a helper imported by the entry script.

Look for: The saved message names run.py and validate_dataset.py.

4. Upload the tutorial JSON

Do this:

Choose the tutorial JSON input in Datasets.

Choose Upload and confirm the stored JSON filename.

Why: Selection prepares a file; Upload stores it in your library.

Look for: The upload count returns to zero.

5. Reference the expected dataset alias

Do this:

Set alias icepack-shelf-small-v1.json, then choose Reference in example.

Confirm that the JSON is referenced by this example.

Why: The unchanged script reads this path beneath data/.

Look for: The reference confirmation names data/icepack-shelf-small-v1.json.

6. Set the run target

Do this:

Set Action to Run and Run target to run.py.

Why: Helpers stay beside the entry script; they are not separate jobs.

Look for: run.py is the selected entrypoint.

7. Select the tested container

Do this:

Use ICESEE-Container with the tested Combined v1.0.2 image.

Why: The tested image supplies Icepack, Firedrake and PETSc together.

Look for: The tested container profile is selected.

8. Review the requested resources

Do this:

Review 1 node, 1 task, 1 task per node and a bounded wall time.

Why: This Icepack workflow currently uses one Python process.

Look for: One task, 16 GiB and a 30-minute ceiling; use your own authorized account.

9. Submit the reviewed example once

Do this:

Choose Submit job once after reviewing your example.

Why: This is the explicit action that starts the native model.

Look for: Submit job is the launch control.

The launch-control close-up was captured after the single real submission. It did not launch another job.

10. Follow this run to completion

Do this:

Follow your new job in Run Log.

Wait for Completed before opening the native results.

Why: Queue and image startup are separate from model runtime.

Look for: Startup: 19 s; batch wall time: 44 s; script interval: 24.12 s.

11. Fetch and render native fields

Do this:

Fetch the completed outputs, then choose Preview results.

Choose icepack → velocity, then Render.

Choose thickness and Render, then read the units and colour scale.

Why: Retrieval brings the completed native output into your workspace.

Look for: Thickness is positive, about 300–500 meters.

12. Prepare and save the result archive

Do this:

Choose Download results to prepare the archive link.

Open the prepared HTTPS link to save this run’s archive.

Confirm that your browser saved the archive before leaving the page.

Why: Keep the native outputs and input manifest with your scripts.

Look for: The prepared Download results_bundle…zip link is visible for this run.

13. Interpret the saved native field

Do this:

Read the native thickness map and its units.

Why: This saved result follows one 0.01-year step on a 10 km square.

Look for: Thickness is 300.023–499.981 m; x and y are metres; 25 vertices and 32 triangles.

14. Retain the run and try your own case

Do this:

Keep the result, input hashes and model versions together.

Why: Start your own scientific case with a bounded compatibility run.

Look for: This synthetic teaching case checks the workflow; it is not a scientific accuracy claim.

Actual recorded control checkpoints; waits are omitted. Read captions · Logical chapters · Recording receipt.

Video · Captions · Logical chapters · Recording receipt

Recording scope#

The edited walkthrough uses real UI checkpoints and reading holds, with waiting shortened. It shows a prepared archive link; a browser Save is not recorded. Complete reference archives were independently verified through an authorized HPC transfer.

What this script solves#

The synthetic floating shelf is 10 km × 10 km, with 4 × 4 subdivisions, 25 vertices and 32 triangles. The script performs a diagnostic velocity solve, advances thickness by one 0.01-year step, then solves velocity again. Thickness and velocity use CG1 fields; temperature is 253.15 K and accumulation is zero.

The 100 → 200 m/year velocity field is an initial guess, not an imposed outflow speed. This is a short workflow check, not a long transient, restart demonstration or scientific accuracy assessment.

Check the native result#

Open Results for the run you submitted. Render thickness and velocity, and read their units: metres and metres/year. The accepted baseline has finite fields and positive final thickness of about 300–500 m on 25 nodes. Accumulation is zero.

Keep the complete archive with your script, validator and JSON. The Remote reference package contains mesh, fields, figures, the transported-input manifest and runtime/RNG provenance. Source-file import does not execute the script; a successful submission alone does not establish a successful model run.

Icepack currently runs one Python/MPI process through this launcher. Existing staged notebooks have separate regression coverage; the script-import control in this lesson imports UTF-8 source files.

Keep the inputs and evidence#

Exact input hashes and staged alias · Cloud version of this example · Remote ISSM guide · All pilot tutorials