You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/configurationfiles.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ The **global-options** section of config.yml specifies options that should, by d
17
17
* **pyear_step**: step size between projection years
18
18
* **pyear_end**: year in which to end projections
19
19
* **baseyear**: zero point for sea level projections
20
+
* **pipeline_file**: default pipeline file name (optional; defaults to 'pipeline.yml'). See *pipeline_file* under experiment step configuration.
20
21
21
22
In addition, this section can specify:
22
23
@@ -50,7 +51,7 @@ The following third-level entries are used under the module label:
50
51
51
52
* **stages**: Specifies stages from the pipeline.yml file to be run. Defaults to 'preprocess', 'fit', 'project', 'postprocess'.
52
53
53
-
* **pipeline_file**: Pipeline file name. Defaults to 'pipeline.yml'. Alternatives can be useful for special cases (e.g., using only Antarctic ice sheet output from a module that produces both Greenland and Antarctic ice sheet output.)
54
+
* **pipeline_file**: Pipeline file name. Defaults to 'pipeline.yml'. Alternatives can be useful for special cases (e.g., using only Antarctic ice sheet output from a module that produces both Greenland and Antarctic ice sheet output.) Many modules include a 'pipeline.global.yml' file for running the module without producing localized output.
54
55
55
56
* **include_in_workflow**: A list of all workflows the module output should be included in at the totaling steps.
3. Create and activate a Python virtual environment, and install FACTS's Python dependences in it. You can use `venv`, `conda` or `virtualenv` to create your Python virtual environment. See `these instructions <https://radicalpilot.readthedocs.io/en/stable/getting_started.html#Installation>`_ for further details. Using `venv`::
4. Test your install by running the dummy experiment::
32
40
@@ -46,13 +54,18 @@ Installing and Using FACTS on a GNU/Linux Workstation
46
54
47
55
python3 runFACTS.py test
48
56
49
-
Note that if you are running FACTS using localhost as a resource, all the input files for the experiment (which can be tens of GB) will get copied to ``~/radical.pilot.sandbox``. If you have space limits on your home directory, you may want to make this a symlink to a directory with fewer space limits prior to running FACTS.
50
57
51
-
Note that the data files for a FACTS experiment and transfered to the compute
58
+
Note that all the input files for the experiment (which can be tens of GB if you are doing local sea-level projections that rely upon CMIP output) will get copied to a sandbox
59
+
created for each run. If you are running FACTS using localhost as a resource, this sandbox directory is ``~/radical.pilot.sandbox``. If you have space limits on your home directory, you may want to make this a symlink to a directory with fewer space limits prior to running FACTS. The task-level ``.out`` and ``.err`` files in the sandbox are key to debugging module-level code failures; thus, this sandbox is not deleted by default. However, if you wish to save space and do not need these files for debugging, you may wish to save space by deleting the subdirectories of the sandbox folder after each run.
60
+
61
+
Note that the data files for a FACTS experiment are transfered to the compute
52
62
resource with each experiment run. Thus, while it might in principle be possible
53
63
to run FACTS on your desktop and use a remote HPC resource, you probably don't
54
-
want to do this. At a minimum, you will want to have a fast, high-capacity
55
-
network connection to the resource.
64
+
want to do this. Most likely, you want to install and run FACTS directly on the remote resource.
65
+
At a minimum, you will want to have a fast, high-capacity network connection to the resource.
66
+
67
+
If you need to run on a HPC resource not previously configured for RADICAL-Pilot (see the `RADICAL-Pilot documentation <https://radicalpilot.readthedocs.io/en/stable/supported.html>`_) ,
68
+
the resource will need to be configured. To get assistance with this, create an `issue <https://github.com/radical-cybertools/radical.pilot/issues>`_ on the RADICAL-Pilot repo.
56
69
57
70
Installing and Using FACTS on a GNU/Linux Container
@@ -67,6 +80,8 @@ assume FACTS resides outside the container in ``$HOME/facts`` and mounts it with
67
80
``/opt/facts``. At the moment, the docker environment appears to work fairly reliably when
68
81
using localhost as the resource, but working with remote resources will require additional configuration.
69
82
83
+
The sandbox directory resides within the container at ``~/radical.pilot.sandbox``. You will likely wish to keep an eye on the size of this directory if you are doing runs that involve large files.
84
+
70
85
To install FACTS through Docker please follow the steps below:
71
86
72
87
1. Clone the FACTS repository::
@@ -94,6 +109,9 @@ To install FACTS through Docker please follow the steps below:
94
109
95
110
modules/emulandice/emulandice_config.sh
96
111
112
+
The Dockerfile also creates a ``facts-jupyter`` image, should you wish to run FACTS from a Jupyter notebook rather than the commandline. This Docker image can be launched::
0 commit comments