GEOS-5 Checkout and Build Instructions: Difference between revisions
Line 144: | Line 144: | ||
I haven't told you anything much about the resource files. Suffice to say for now that this group I am providing here will differ from the resource files in your source code collection. I've modified these to run aerosols and use aerosol source files that will work for the time period we will simulate. | I haven't told you anything much about the resource files. Suffice to say for now that this group I am providing here will differ from the resource files in your source code collection. I've modified these to run aerosols and use aerosol source files that will work for the time period we will simulate. | ||
=== Populate the Home Directory === | |||
Now go into your home directory and copy the contents of my sample into yours: | |||
% cd /home/USERNAME/geos5/YOUR_EXPID | |||
% cp /home/colarco/geos5/dragnet/* . | |||
There are several files here: | |||
AGCM.tmpl | |||
CAP.tmpl | |||
HISTORY.tmpl | |||
gcm_run.j | |||
gcm_post.j | |||
gcm_post.script | |||
gcm_regress.j | |||
For the moment, we don't need to do anything to AGCM.tmpl or CAP.tmpl. They are filled in with information from the run script and written as AGCM.rc and CAP.rc in your experiment directory. (As a rule, if you have AGCM.rc and CAP.rc and HISTORY.rc in your experiment directory, you might want to remove them before starting an experiment so that you know you are using the *.tmpl files from your home directory.) | |||
We have to make several edits to the remaining files. In particular, we need to change the group ID code used to charge your jobs to PBS, we need to change the experiment ID to match the ID you've chosen for your experiment, and we need to modify various path variables to point to your user ID (not mine!). You can accomplish these changes by using ''grep'' on the files. For example, look for instances of my group ID ''r0605'': | |||
% grep r0605 * | |||
on these files find the following: | |||
gcm_post.j:#PBS -W group_list=r0605 | |||
gcm_regress.j:#PBS -W group_list=r0605 | |||
gcm_run.j:#PBS -W group_list=r0605 | |||
Unless you have permission to charge to r0605 you need to change these numbers. Use your favorite editor to do this. Recall, to find your group ID, use ''getsponsor''. | |||
Here's the result of grepping on my username: |