Skip to content

Commit

Permalink
Fix format and links
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiZhuang committed Dec 7, 2018
1 parent 5d0ee22 commit 0a3784e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# All scripts used for building GEOS-Chem on the cloud.
# All scripts used for building GEOS-Chem on AWS cloud

## Steps to create a GEOS-Chem AMI.
## Steps to create GEOS-Chem AMI
(Note for the GEOS-Chem Support Team for future maintenance.)

0. Read main documentation http://cloud.geos-chem.org including the [developer guide](https://cloud-gc.readthedocs.io/en/latest/chapter04_developer-guide/index.html) to learn the basics.
Expand All @@ -15,20 +15,20 @@

Can automate this by [AWSCLI command](https://cloud-gc.readthedocs.io/en/latest/chapter03_advanced-tutorial/advanced-awscli.html). It needs account-specific information so I don't put the script here.

3. Build GEOS-Chem (see ./build_environment/GC-classic and ./build_environment/GCHP for full scripts). Three major steps are:
3. Build GEOS-Chem (see [./build_environment/GC-classic](./build_environment/GC-classic) and [./build_environment/GCHP](./build_environment/GCHP) for full scripts). Three major steps are:
- Install libraries.
- Add environment file (bashrc).
- Get source code, compile the model.

4. Pull minimum neccessary input data from S3. See [./download_data/]
4. Pull minimum neccessary input data from S3. See [./download_data/]([./download_data/])

5. Test a short model run to generate output data.

6. Install Anaconda python environment. See [./Python]
6. Install Anaconda python environment. See [./build_environment/Python]

7. Run [sample Python code](https://cloud-gc.readthedocs.io/en/latest/chapter06_appendix/sample-python-code.html) on output data.

8. Clean-up history (see ./minor_util/clean_history.sh]). Save AMI. Change AMI permission to public.
8. **Clean-up history** (see [./minor_util/clean_history.sh](./minor_util/clean_history.sh])). Save AMI. Change AMI permission to public.

9. **Using another account to test the new AMI**.

Expand All @@ -38,4 +38,4 @@ Can automate this by [AWSCLI command](https://cloud-gc.readthedocs.io/en/latest/
- [Resources list](https://cloud-gc.readthedocs.io/en/latest/chapter06_appendix/aws-resources-for-gc.html)

Final remarks:
- This process is semi-automated. Each step is automated (just run a few scripts), but the entire process still need some manual operation. It is possible to automate the entire process using AWSCLI but that can be hard to debug. This only needs to be done after every major version release (12.1.0, 12.2.0) so hopefully the maintainence burden is minimal.
- This process is semi-automated. Each step is automated (just run a few scripts), but the entire process still needs some manual operations. It is possible to automate the entire process using AWSCLI but that can be hard to debug. This only needs to be done after every major version release (12.1.0, 12.2.0) so hopefully the maintainence burden is minimal.

0 comments on commit 0a3784e

Please sign in to comment.