...
- Sign up for a free account at http://github.com
- Add your github user name to the "About Me" section in your Confluence profile.
Email James Foucar (jgfouca@sandia.gov) and ask to be added to the ACME private organization on github. Include your Confluence account name so he can verify you're a member of ACME.
Log on to the platform on which you want to run ACME.
- Install an ssh key from that platform to your github account. See these instructions and note you can skip step 2 if you already have an ssh key on your machine.
- Clone the repository to your local account with: git clone git@github.com:ACME-Climate/ACME.git This will create a directory called "ACME" with the code.
- cd to the ACME directory.
- When running with an MPAS component: git submodule update --init This will pull the code for MPAS components into their subdirectories, like models/ocncomponents/mpas-o.
- You are now ready to create a case, build and run following the CESM Instructions. By default, you will be running the latest version of "master".
...
- Add your machine to <ACME>/cime/machines-acme/config_machines.xml
- The easiest approach is probably to copy the configuration for some other machine and then replace all the values
- Choose a directory to serve as the inputdata store called DIN_LOC_ROOT in config_machines.xml. Ideally, this should be readable by all ACME developers on your platform.
- Most of the values should be obvious. You can look at the "userdefined" block to see which items are required and to see documentation on each item.
- Add compiler-specific information for each compiler supported by your machine to <ACME>/cime/machines-acme/config_compilers.xml
- Here, for each compiler you want to support, you'll need to create a block <compiler COMPILER="<toolset>" MACH="<machine>">
- This block will inherit the properties of the primary block for that toolset and allow you to add/override values for your machine.
- The most common thing you'll need to do is add link flags with the ADD_SLIBS item.
- You may also need to define NETCDF_PATH and PNETCDF_PATH
- Add environment settings for your machine by creating this file: <ACME>/cime/machines-acme/env_mach_specific.<machine>
- This is a csh script that, once sourced, should setup your environment for running ACME
- Common actions here are loading modules, setting PATH and LD_LIBRARY_PATH
- You may need indirection in this file if your machine supports multiple compilers, e.g: if ($COMPILER == "intel") then; module load intel; else; module load gcc; endif
- Add batch settings for your machine by editing <ACME>/cime/machines-acme/config_machines.xml
- Machines with similar batch systems should serve a good example of what to add.
- If you need a batch system that doesn't exit or special settings, you may have to edit <ACME>/cime/machines-acme/config_batch.xml
- Verify the install is working by running 2 cases:building and running a simple X case.
- ./create_newcase -case <yourcasename> -compset X -res f19_g16 -mach <yourmachine>
- If the X case works, try more complex cases.
- ./create_newcase -case <yourcasename> -compset B1850C5CN I1850CLM45CN -res ne30f09_g16 -mach <yourmachine>
- ./create_newcase -case <yourcasename> -compset I1850CLM45CN FC5 -res f09ne30_g16 ne30 -mach <yourmachine>
- If you have more then one compiler, add -compiler <compiler> to the above.
- The above should run for 5 days successfully.
...