Installation
The present version of the workflow requires the entire execution is carried out on the same (HPC) cluster, which must be equipped with GPUs in order to be able to run the tsunami simulations. Here is a table of the presently available clusters:
| INSTITUTE | CLUSTER |
|---|---|
| INGV | mercalli |
| CINECA | leonardo |
The hosting institute will provide instructions on how to connect to the cluster.
Note
Before installing, check that the software and data requirements are satisfied.
Then, follow these instructions:
-
download the package from the master branch of the gitLab repository using the "Code" button on the top-right of the repository homepage and choosing the preferred compression format;
Warning
The gitLab repository is private and can be accessed only by members. If you are not a member, please contact us.
-
connect to the cluster and transfer the package to the preferred folder (hereinafter referred to as
/path-to-software/); -
unpack the archive: a folder
cheese-ptha-masterwill be created, whose structure is illustrated in this diagram; -
create/choose a working folder for IO (hereinafter referred to as
/path-to-wdir/) where all the outputs will be saved; -
copy and rename the provided template for input files to your prefererred location, for example in your working folder (but other locations can be chosen as well):
Instructions on how to fill out the JSON file are provided on the dedicated page, while thecp /path-to-software/cheese-ptha-master/templates/workflow_input.json.template /path-to-wdir/workflow_input.json cp /path-to-software/cheese-ptha-master/templates/load_env.source.template /path-to-wdir/load_env.sourceload_env.sourcefile should be modified according to the preferred package and environment management system. We suggest Spack to build and configure the software environment, but a different package manager (e.g. conda) can be also used. -
unpack the initial conditions for PS seismicity (see NEAMTHM18 for details) by typing:
This operation can take a while and can be skipped at the beginning, but must be executed before running STEP 4 of the workflow.cd /path-to-software/cheese-ptha-master/inputs/SUBDUCTIONS_from_NEAMTHM18 bunzip2 INIT_COND_PS.tar.bz2 tar -xvf INIT_COND_PS.tar
In case of target sites located along the North-Eastern Atlantic coast, outside the Mediterranean Sea, the same unpacking process must be carried out for the initial conditions of sources belonging to the Mid Atlantic Ridge and to the Caribbean arc:
cd /path-to-software/cheese-ptha-master/inputs/MidAtlantic_from_NEAMTHM18
bunzip2 INIT_COND_PSMar.tar.bz2
tar -xvf INIT_COND_PSMar.tar
cd /path-to-software/cheese-ptha-master/inputs/Caribbean_from_NEAMTHM18
bunzip2 INIT_COND_PSSlip.tar.bz2
tar -xvf INIT_COND_PSSlip.tar
/path-to-grids/). Having this folder, and the grid files inside it, is not mandatory until the tsunami simulations are executed ( STEP 5), although the highest resolution grid can be optionally used for the selection of the Point(s) of Interest (POIs) in STEP 1.