Skip to content

Commit

Permalink
Merge pull request #184 from dabail10/project_number
Browse files Browse the repository at this point in the history
Change to generic project number
  • Loading branch information
dabail10 authored Jun 6, 2024
2 parents d2fa413 + 37a1bf5 commit 66a5bb8
Show file tree
Hide file tree
Showing 25 changed files with 46 additions and 46 deletions.
6 changes: 3 additions & 3 deletions notebooks/challenge/cam-chem_waccm/exercise_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@
"cd /glade/work/$USER/code/my_cesm_code/cime/scripts/\n",
"./create_newcase --case $CASEDIR --res $RESOLUTION --compset $COMPSET\n",
"```\n",
"You may need to add ``--project \"UESM0012\"`` when creating a new case.\n",
"You may need to add ``--project \"UESM00??\"`` when creating a new case.\n",
"\n",
"**# Change the job queue and account number**\n",
"\n",
"**If needed**, change ``job queue`` and ``account number``.<br>\n",
"For instance, to run in the queue ``regular`` and the tutorial project number ``UESM0012``\n",
"For instance, to run in the queue ``regular`` and the tutorial project number ``UESM00??``\n",
"``` \n",
"cd $CASEDIR\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0012\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"This step can be redone at anytime in the process. \n",
"\n",
Expand Down
6 changes: 3 additions & 3 deletions notebooks/challenge/cam-chem_waccm/exercise_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@
"cd /glade/work/$USER/code/my_cesm_code/cime/scripts/\n",
"./create_newcase --case $CASEDIR --res $RESOLUTION --compset $COMPSET\n",
"```\n",
"You may need to add ``--project \"UESM0012\"`` when creating a new case.\n",
"You may need to add ``--project \"UESM00??\"`` when creating a new case.\n",
" \n",
"**# Change the job queue and account number**\n",
"\n",
"**If needed**, change ``job queue`` and ``account number``.<br>\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM0012``\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM00??``\n",
"``` \n",
"cd $CASEDIR\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0012\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"This step can be redone at anytime in the process. \n",
"\n",
Expand Down
6 changes: 3 additions & 3 deletions notebooks/challenge/cam-chem_waccm/exercise_3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@
"cd /glade/work/$USER/code/my_cesm_code/cime/scripts/\n",
"./create_newcase --case $CASEDIR --res $RESOLUTION --compset $COMPSET\n",
"```\n",
"You may need to add ``--project \"UESM0012\"`` when creating a new case.\n",
"You may need to add ``--project \"UESM00??\"`` when creating a new case.\n",
"\n",
"**# Change the job queue and account number**\n",
"\n",
"**If needed**, change ``job queue`` and ``account number``.<br>\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM0012``\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM00??``\n",
"``` \n",
"cd $CASEDIR\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0012\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"This step can be redone at anytime in the process. \n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/challenge/cam/exercise_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@
"**# Change the job queue and account number**\n",
"\n",
"If needed, change ``job queue`` and ``account number``.<br>\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM0011``. You should use the project number given for this tutorial.\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM00??``. You should use the project number given for this tutorial.\n",
"``` \n",
"cd $CASEDIR\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"This step can be redone at anytime in the process. \n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/challenge/cam/exercise_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@
"**# Change the job queue and account number**\n",
"\n",
"If needed, change ``job queue`` and ``account number``.<br>\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM0011``. You should use the project number given for this tutorial.\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM00??``. You should use the project number given for this tutorial.\n",
"``` \n",
"cd $CASEDIR\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"This step can be redone at anytime in the process. \n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/challenge/cam/exercise_4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@
"**# Change the job queue and account number**\n",
"\n",
"If needed, change ``job queue`` and ``account number``.<br>\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM0011``. You should use the project number given for this tutorial.\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM00??``. You should use the project number given for this tutorial.\n",
"``` \n",
"cd $CASEDIR\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"This step can be redone at anytime in the process. \n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/challenge/cam/exercise_5.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@
"**# Change the job queue and account number**\n",
"\n",
"If needed, change ``job queue`` and ``account number``.<br>\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM0011``. You should use the project number given for this tutorial.\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM00??``. You should use the project number given for this tutorial.\n",
"``` \n",
"cd $CASEDIR\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"This step can be redone at anytime in the process. \n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/challenge/cam/exercise_6.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@
"**# Change the job queue and account number**\n",
"\n",
"If needed, change ``job queue`` and ``account number``.<br>\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM0011``. You should use the project number given for this tutorial.\n",
"For instance, to run in the queue ``regular`` and the project number ``UESM00??``. You should use the project number given for this tutorial.\n",
"``` \n",
"cd $CASEDIR\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"This step can be redone at anytime in the process. \n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/cice/cice_exercise_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"and <font face=\"Courier\" color='purple'><strong>account number</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"<br>\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/cice/cice_exercise_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"and <font face=\"Courier\" color='purple'><strong>account number</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"<br>\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/cice/cice_exercise_3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
"and <font face=\"Courier\" color='purple'><strong>account number</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"<br>\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/cism/cism_exercise_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"and <font face=\"Courier\" color='purple'><strong>account number</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"\n",
"Modify the environment variables:\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/clm_ctsm/clm_exercise_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"If needed, change <font face=\"Courier\" color='purple'><strong>job queue</strong></font>, <font face=\"Courier\" color='purple'><strong>account number</strong></font>, or <font face=\"Courier\" color='purple'><strong>wallclock time</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0012,JOB_WALLCLOCK_TIME=0:15:00\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??,JOB_WALLCLOCK_TIME=0:15:00\n",
"```\n",
"<br>\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/clm_ctsm/clm_exercise_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"If needed, change <font face=\"Courier\" color='purple'><strong>job queue</strong></font>, <font face=\"Courier\" color='purple'><strong>account number</strong></font>, or <font face=\"Courier\" color='purple'><strong>wallclock time</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0012,JOB_WALLCLOCK_TIME=0:15:00\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??,JOB_WALLCLOCK_TIME=0:15:00\n",
"```\n",
"<br>\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/clm_ctsm/clm_exercise_3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"If needed, change <font face=\"Courier\" color='purple'><strong>job queue</strong></font>, <font face=\"Courier\" color='purple'><strong>account number</strong></font>, or <font face=\"Courier\" color='purple'><strong>wallclock time</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0012,JOB_WALLCLOCK_TIME=0:15:00\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??,JOB_WALLCLOCK_TIME=0:15:00\n",
"```\n",
"<br>\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/pop/pop_exercise_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"and <font face=\"Courier\" color='purple'><strong>account number</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"<br>\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/pop/pop_exercise_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"and <font face=\"Courier\" color='purple'><strong>account number</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"\n",
"Build and submit:\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/pop/pop_exercise_3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"and <font face=\"Courier\" color='purple'><strong>account number</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"\n",
"Build and submit:\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/challenge/pop/pop_exercise_4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"and <font face=\"Courier\" color='purple'><strong>account number</strong></font>. \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"\n",
"Build and submit:\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/diagnostics/diagnostics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
"metadata": {},
"source": [
"<div class=\"alert alert-warning\">\n",
"<strong>For this tutorial you should use the Queue `casper` and Project Account `UESM0012`. </strong><br><br>\n",
"<strong>For this tutorial you should use the Queue `casper` and Project Account `UESM00??`. </strong><br><br>\n",
"</div>"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/diagnostics/pop/basics_pop.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
" queue=\"casper\", # The type of queue to utilize (/glade/u/apps/dav/opt/usr/bin/execcasper)\n",
" # log_directory=\"/glade/derecho/scratch/deppenme/dask/\", # Use your local directory\n",
" resource_spec=\"select=1:ncpus=1:mem=8GB\", # Specify resources\n",
" project=\"UESM0012\", # Input your project ID here\n",
" project=\"UESM00??\", # Input your project ID here\n",
" walltime=\"02:00:00\", # Amount of wall time\n",
" interface=\"ib0\", # Interface to use\n",
")\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/namelist/exercises/exercise_cam_output.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@
"**# Change the job queue and account number**\n",
"\n",
"If needed, change `job queue` and `account number`. <br>\n",
"For instance, to run in the queue `regular` and the project number ``UESM0011`` (You should use the project number given for this tutorial), use the command:\n",
"For instance, to run in the queue `regular` and the project number ``UESM00??`` (You should use the project number given for this tutorial), use the command:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"\n",
"**# Build and submit**\n",
Expand Down
18 changes: 9 additions & 9 deletions notebooks/resources/profile.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"### Tutorial Project Account\n",
"\n",
"<div class=\"alert alert-warning\">\n",
"You should have access to project account <strong>UESM0012</strong> and use this for your simulations.\n",
"You should have access to project account <strong>UESM00??</strong> and use this for your simulations.\n",
"</div>\n",
"\n"
]
Expand Down Expand Up @@ -69,22 +69,22 @@
"In theory, you _should_ be able to automatically use this account and the reservation queues if you correctly set up your NCAR HPC environment using your `.profile` or `.tcshrc` files, as described below. If you need to change the values for a run, you can change the account and reservation queue in your case directory using the following command:\n",
"\n",
"```\n",
"./xmlchange --force JOB_QUEUE=R1787445\n",
"./xmlchange PROJECT=UESM0012\n",
"./xmlchange --force JOB_QUEUE=R???????\n",
"./xmlchange PROJECT=UESM00??\n",
"```\n",
"\n",
"For instance, on Wednesday\n",
"\n",
"- If (Wed 10:30 - 12:00) then\n",
"\n",
"```\n",
"./xmlchange JOB_QUEUE=R1787531 --force\n",
"./xmlchange JOB_QUEUE=R??????? --force\n",
"``` \n",
"\n",
"- If (Wed 14:00 - 17:00) then\n",
"\n",
"```\n",
"./xmlchange JOB_QUEUE=R1787589 --force\n",
"./xmlchange JOB_QUEUE=R??????? --force\n",
"```\n",
"\n",
"\n",
Expand Down Expand Up @@ -355,8 +355,8 @@
"Add to your .profile: \n",
"\n",
"```\n",
"export PROJECT=UESM0012 #<- This should never change over the course of the tutorial\n",
"export TUTORIAL_QUEUE=R1787445 #<- This will be different for every practical. \n",
"export PROJECT=UESM00?? #<- This should never change over the course of the tutorial\n",
"export TUTORIAL_QUEUE=R??????? #<- This will be different for every practical. \n",
" #<- Look at the schedule below:\n",
"```\n",
"\n",
Expand All @@ -373,8 +373,8 @@
"\n",
"Add to your .tcshrc: \n",
"```\n",
"setenv PROJECT UESM0012 #<-This should never change over the course of the tutorial\n",
"setenv TUTORIAL_QUEUE R1787445 #<-This will be different for every practical \n",
"setenv PROJECT UESM00?? #<-This should never change over the course of the tutorial\n",
"setenv TUTORIAL_QUEUE R??????? #<-This will be different for every practical \n",
" #<- Look at the schedule below:\n",
"```\n",
" \n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"If needed, change `job queue` and `account number` \n",
"For instance:\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"\n",
"Build and submit:\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/troubleshooting/exercises/troubleshooting_cam.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@
"**# Change the job queue and account number**\n",
"\n",
"If needed, change `job queue` and `account number`. <br>\n",
"For instance, to run in the queue `regular` and the project number ``UESM0011`` (you should use the project number given for this tutorial), use the command:\n",
"For instance, to run in the queue `regular` and the project number ``UESM00??`` (you should use the project number given for this tutorial), use the command:\n",
"\n",
"``` \n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM0011\n",
"./xmlchange JOB_QUEUE=regular,PROJECT=UESM00??\n",
"```\n",
"\n",
"**# Build and submit**\n",
Expand Down

0 comments on commit 66a5bb8

Please sign in to comment.