Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Workflow on DesignSafe / TACC

Cascadia CoPes Hub researchers (and others doing data-intensive research related to natural hazards) can get an account on DesignSafe.

Once logged in, you can start a JupyterHub instance from the Tools & Applications page. The notebooks in this respository should run on the JupyterHub instance this opens.

You can also request an allocation of computing time on TACC, which is useful if you want to run GeoClaw or other codes there. It is also useful if you need to use ssh to scp or rsync files elsewhere, or to push commits to Github, since a terminal in the JupyterHub does not support ssh tools.

Using the JupyterHub on DesignSafe

In your top level directory you should see

and possibly other subdirectories.

Of particular interest for the CoPes Hub:

Running Jupyter notebooks on DesignSafe

You can create and run your own notebooks, or you can clone this repository and run the notebooks included:

git clone https://github.com/rjleveque/CHTuser.git

Running these notebooks generally requires a number of Python packages that are not installed in the default Python kernel. See Python Environment.

Downloading data

The data found in CommunityData/geoclaw can be downloaded to your own computer if you want to run the notebooks locally, or do your own analysis/plotting with different tools. This requires an account on TACC, and then you can do, e.g.

scp username@stampede3.tacc.utexas.edu:/corral/projects/NHERI/community/geoclaw/filename ./

Accessing files from TACC

If you have an account/allocation on TACC, e.g. on stampede3, then you can access the CommunityData/geoclaw folder mentioned above as /corral/projects/NHERI/community/geoclaw. Files in the directory MyProjects/PRJ-6005 on DesignSafe can be accessed from TACC as /corral/projects/NHERI/projects/7f2e74be-d7ca-4e0e-b69a-22c24840b078

You can access corral from a login node, but not from a computational job run on an interactive shell created with the idev command, or submitted via Slurm, since compute nodes do not have access to /corral. So you will first have to copy files to your $SCRATCH or $WORK directory to use them. See the TACC corral documentation for more information.

Files in your Work directory on DesignSafe are in your $WORK directory on TACC. When running large jobs on TACC you probably want to direct the output to your $SCRATCH directory, but then you might want to copy some output to $WORK to make it available for analysis in a Jupyter notebook running on DesignSafe.

Some files to be shared among collaborators can be found on TACC in

/work2/04137/rjl/CHTshare

If you plan to run GeoClaw yourself, see Running GeoClaw on TACC for more about these shared files.

Files (such as topofiles or dtopofiles) found in this directory can also be downloaded to your own computer (if you have an account at TACC) using e.g. rsync or scp.

References
  1. Dunham, A., Wirth, E., grant, alex, & Frankel, A. (2025). CSZ Full-Margin Megathrust Earthquake Scenarios. Designsafe-CI. 10.17603/DS2-DQRM-DH11