Skip to content

Commit

Permalink
Merge pull request #251 from cecilehannay/main
Browse files Browse the repository at this point in the history
tutorial queue stuff
  • Loading branch information
cecilehannay authored Aug 3, 2024
2 parents 4b39dd3 + ea0639e commit eaeb4e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 29 deletions.
6 changes: 2 additions & 4 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,8 @@ chapters:
- file: notebooks/resources/ncar_hpc
sections:
- file: notebooks/resources/ncar_hpc_module
- file: notebooks/resources/tutorial_specific
sections:
- file: notebooks/resources/tutorial_one_time_setup
- file: notebooks/resources/tutorial_queue_account
- file: notebooks/resources/tutorial_one_time_setup
- file: notebooks/resources/tutorial_queue_account
- file: notebooks/resources/terminals
- file: notebooks/resources/unix
sections:
Expand Down
4 changes: 1 addition & 3 deletions notebooks/resources/tutorial_one_time_setup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
"**Please ask for help if you are having trouble with this step!**\n",
"\n",
"The modules necessary for this tutorial and loaded through these files are:\n",
"- ncarenv/1.3\n",
"- ncarenv\n",
"- intel\n",
"- ncl\n",
"- nco\n",
Expand All @@ -240,7 +240,6 @@
"\n",
"```\n",
"export PROJECT=UESM0013 #<- This should never change over the course of the tutorial\n",
"export TUTORIAL_QUEUE=tutorial #<- Special queue for the tutorial\n",
"```\n",
"\n",
"Source the file:<br> \n",
Expand All @@ -257,7 +256,6 @@
"Add to your .tcshrc: \n",
"```\n",
"setenv PROJECT UESM0013 #<-This should never change over the course of the tutorial\n",
"setenv TUTORIAL_QUEUE tutorial #<- Special queue for the tutorial\n",
"```\n",
" \n",
"Source the file:<br>\n",
Expand Down
24 changes: 2 additions & 22 deletions notebooks/resources/tutorial_queue_account.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,9 @@
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "6200f0a4-25b7-4013-9062-18a103627c29",
"cell_type": "markdown",
"id": "d312e6e0-f48b-4f86-a97b-96c255d35d26",
"metadata": {},
"outputs": [],
"source": [
"### Compiling in the Special Queue"
]
Expand All @@ -86,24 +84,6 @@
"```"
]
},
{
"cell_type": "markdown",
"id": "e127deda-73f0-42fc-9c96-e49bb1bb0f8b",
"metadata": {},
"source": [
"### Using these tutorial-specific codes"
]
},
{
"cell_type": "markdown",
"id": "ec3ec832-823f-48ce-b142-05c69dcc72b1",
"metadata": {},
"source": [
"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",
"If you do use these commands, make sure for the `JOB_QUEUE` you are using the **correct** reservation code for the relevant day _and_ time of that lab session. You should not have to set the `PROJECT` more than once during the tutorial if your profile is set up, as described below, but we include it for your reference in case you are having trouble."
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit eaeb4e5

Please sign in to comment.