Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tutorial queue stuff #251

Merged
merged 1 commit into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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