Skip to content

Commit eaeb4e5

Browse files
authored
Merge pull request #251 from cecilehannay/main
tutorial queue stuff
2 parents 4b39dd3 + ea0639e commit eaeb4e5

3 files changed

Lines changed: 5 additions & 29 deletions

File tree

_toc.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,8 @@ chapters:
185185
- file: notebooks/resources/ncar_hpc
186186
sections:
187187
- file: notebooks/resources/ncar_hpc_module
188-
- file: notebooks/resources/tutorial_specific
189-
sections:
190-
- file: notebooks/resources/tutorial_one_time_setup
191-
- file: notebooks/resources/tutorial_queue_account
188+
- file: notebooks/resources/tutorial_one_time_setup
189+
- file: notebooks/resources/tutorial_queue_account
192190
- file: notebooks/resources/terminals
193191
- file: notebooks/resources/unix
194192
sections:

notebooks/resources/tutorial_one_time_setup.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
"**Please ask for help if you are having trouble with this step!**\n",
214214
"\n",
215215
"The modules necessary for this tutorial and loaded through these files are:\n",
216-
"- ncarenv/1.3\n",
216+
"- ncarenv\n",
217217
"- intel\n",
218218
"- ncl\n",
219219
"- nco\n",
@@ -240,7 +240,6 @@
240240
"\n",
241241
"```\n",
242242
"export PROJECT=UESM0013 #<- This should never change over the course of the tutorial\n",
243-
"export TUTORIAL_QUEUE=tutorial #<- Special queue for the tutorial\n",
244243
"```\n",
245244
"\n",
246245
"Source the file:<br> \n",
@@ -257,7 +256,6 @@
257256
"Add to your .tcshrc: \n",
258257
"```\n",
259258
"setenv PROJECT UESM0013 #<-This should never change over the course of the tutorial\n",
260-
"setenv TUTORIAL_QUEUE tutorial #<- Special queue for the tutorial\n",
261259
"```\n",
262260
" \n",
263261
"Source the file:<br>\n",

notebooks/resources/tutorial_queue_account.ipynb

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,9 @@
5656
]
5757
},
5858
{
59-
"cell_type": "code",
60-
"execution_count": 1,
61-
"id": "6200f0a4-25b7-4013-9062-18a103627c29",
59+
"cell_type": "markdown",
60+
"id": "d312e6e0-f48b-4f86-a97b-96c255d35d26",
6261
"metadata": {},
63-
"outputs": [],
6462
"source": [
6563
"### Compiling in the Special Queue"
6664
]
@@ -86,24 +84,6 @@
8684
"```"
8785
]
8886
},
89-
{
90-
"cell_type": "markdown",
91-
"id": "e127deda-73f0-42fc-9c96-e49bb1bb0f8b",
92-
"metadata": {},
93-
"source": [
94-
"### Using these tutorial-specific codes"
95-
]
96-
},
97-
{
98-
"cell_type": "markdown",
99-
"id": "ec3ec832-823f-48ce-b142-05c69dcc72b1",
100-
"metadata": {},
101-
"source": [
102-
"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",
103-
"\n",
104-
"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."
105-
]
106-
},
10787
{
10888
"cell_type": "code",
10989
"execution_count": null,

0 commit comments

Comments
 (0)