-
How can I access CESM-Lab after the tutorial?
- You can always find all the tutorial materials here.
- Your access to AWS will be depracted after this tutorial but you can access CESM-Lab using an AWS account (check with your lab or university).
- You can also run CTSM using dockers on your own laptops. Details on running CTSM using containers through our CTSM-NEON tutorial tool are available here.
-
How can I transfer my progress/data outside the cloud or on another machine?
- You can transfer Jupyter notebooks, case directories, and other files you created or modified during the tutorial from CESM-Lab to your personal computer (or any other machine) using
rsync.- Open a terminal window (or SSH into, for a machine like NCAR's Cheyenne) in the machine you would like the files transferred to. On Macs you can generally access a terminal via Applications > Utilities > Terminal. On Windows machines you may need to download a software like PuTTY.
- Inside the terminal, navigate to the location you would like the files downloaded to and type:
rsync -avz <username>@ctsmworkshop2022.cesm.cloud:<full_path_of_file> . - Your computer may say it cannot "recognize the authenticity of the host", but you can enter
yes - Then you will be prompted to enter your CTSM Tutorial 2022 password (the password you used to log into CESM-Lab)
- Alternatively on CESM-Lab you can directly download any individual files by right clicking on them in the left-hand file navigation pane and clicking
Download. Directories can be downloaded by firsttar-ing them (e.g.tar -zcvf my_files.tar.gz clm_tutorial_cases). Then right click on the tarred file in the file navigation pane to download it as you would a file.
- You can transfer Jupyter notebooks, case directories, and other files you created or modified during the tutorial from CESM-Lab to your personal computer (or any other machine) using
-
I messed up the notebooks. How can I find what it should be??
You can look at the notebooks on GitHub and correct small mistakes, or you can do the following:
- Open up terminal window
- Navigate to CTSM-Tutorial-2022 directory (
cd ~/CTSM-Tutorial-2022) - Run
git statusto check the status of your notebooks and which branch you are on. - If you are on the main branch, run
git stashwhich stashes your progress and whatever you saved in your notebooks. - Next, run
git pullto get a clean version of the tutorial notebooks from the original repository.
-
How do I see what jobs are running on AWS?
-
You can either use
qstatorsqueuein terminal to list all your jobs and their status. -
Below is the list of acronyms in the
STcolumn and their meanings:Status Code Description Completed C Job just successfully completed. Running R The Job is currently running. Queued/Waiting Q / PD The job is waiting for allocation in the queue.
-
-
How do I kill a job that’s running?
- You can either use
qdel JOBIDorscancel JOBID. You should replaceJOBIDwith the job ids that you'd want to stop. Please note that you can get yourJOBIDby usingqstatorsqueue.
- You can either use
-
I get a message saying that there is an existing directory and cannot run my code. What do I do??
- Remove the existing directory, which was likely created for an earlier failed case. Alternatively, if this error occurs when using the
run_neonscript, you can use the--overwriteoption.
- Remove the existing directory, which was likely created for an earlier failed case. Alternatively, if this error occurs when using the
-
Which parameters need to have a re-build after changing them?
- You only need to rebuild if you've changed something in
env_build.xmlorenv_mach_pes.xml. You can changeenv_run.xmloruser_nl_*files without rebuilding. The only exception to that is if you are restarting and trying to change the years you are running over for DATM. For more information on when a rebuild is necessary, please see section 4.2 on this website.
- You only need to rebuild if you've changed something in