README.md 1.29 KB
Newer Older
1
ACME-Workflow
Juve, Gideon's avatar
Juve, Gideon committed
2 3
=============

4 5
Pegasus workflow for ACME climate models.

Mayer, Benjamin W's avatar
Mayer, Benjamin W committed
6
Consult the [CESM User''s Guide](http://www.cesm.ucar.edu/models/cesm1.2/cesm/doc/usersguide/book1.html)
Juve, Gideon's avatar
Juve, Gideon committed
7 8
for more information about the climate code used by this workflow.

Juve, Gideon's avatar
Juve, Gideon committed
9 10
Steps to Run the Workflow
-------------------------
Mayer, Benjamin W's avatar
Mayer, Benjamin W committed
11
0. On Workflow1.ccs.ornl.gov run 'module load pegasus'
12 13 14

1. Create/edit the configuration file (e.g. test.cfg)

Juve, Gideon's avatar
Juve, Gideon committed
15 16
 a. Set "casename" to match the name of your case.

Juve, Gideon's avatar
Juve, Gideon committed
17
 b. Set "mppwidth" to the number of cores that your run requires.
Juve, Gideon's avatar
Juve, Gideon committed
18 19 20 21

 c. Set "stop_n" and "walltime" to create the number of stages you want
    the workflow to have.

Juve, Gideon's avatar
Juve, Gideon committed
22
2. Create/edit the setup script (e.g. mysetup.sh)
Juve, Gideon's avatar
Juve, Gideon committed
23 24 25 26

 a. Set the create_newcase parameters

3. Generate the DAX
Mayer, Benjamin W's avatar
Mayer, Benjamin W committed
27
    On workflow1.ccs.ornl.gov use the python in:  
28

Juve, Gideon's avatar
Juve, Gideon committed
29
    $ python daxgen.py test.cfg mysetup.sh DIRNAME
30

Juve, Gideon's avatar
Juve, Gideon committed
31
4. Edit the site catalog, sites.xml:
32 33 34 35 36

 a. Update the "shared-scratch" directory entry to have your username

 b. Update the "shared-storage" directory entry

Juve, Gideon's avatar
Juve, Gideon committed
37
5. Plan the DAX
38

Juve, Gideon's avatar
Juve, Gideon committed
39
    $ ./plan.sh DIRNAME
40

Juve, Gideon's avatar
Juve, Gideon committed
41
6. Get NERSC grid proxy using:
42 43 44

    $ myproxy-logon -s nerscca.nersc.gov:7512 -t 24 -T -l YOUR_NERSC_USERNAME

Juve, Gideon's avatar
Juve, Gideon committed
45
7. Follow output of plan.sh to submit workflow
46

Juve, Gideon's avatar
Juve, Gideon committed
47
    $ pegasus-run DIRNAME/path/to/submit/dir
48

Juve, Gideon's avatar
Juve, Gideon committed
49
8. Monitor the workflow:
50

Juve, Gideon's avatar
Juve, Gideon committed
51
    $ pegasus-status -l DIRNAME/path/to/submit/dir
52