Basic GCM Output
Say I want to run the GCM in the Held Suarez setup, using the GCMdriver (modularised driver which let you easily mix and match initial and boundary conditions, and sources).
Download ClimateMachine.jl and VizCLIMA. For this demo use this VizCLIMA branch.
Setup the pipeline bash script in the
ClimateMachine.jl
directory as shown here, and change the highlighted lines.Run script using
sbatch pipeline_logging_basic_gcmd.sh
- Your specified output folder should contain
.../netcdf/
containing the diagnostics output.nc
file.../restart/
containing all restart.jld2
files from individual nodes.../log/
containingmodel_log_err.out
logfile.../analysis
with:
general-gcm-notebook-setup.jl
copied from VizCLIMA (click here for demo)zonal_mean.pdf
vertical_slice.pdf
general-gcm-notebook-setup.ipynb
Juputer Notebook whih is automatically generated (click here for demo)
- View your notebook on a local machine
- On both local and remote machines:
- ensure JupyterLab is installed on both local and remote machines (check version of Julia and necessary packages for your notebook) - Remote host:
cd
into your output directoryjupyter notebook --no-browser --port=XXXX
- Local host:ssh -N -f -L YYYY:localhost:XXXX <remoteuser>@<remote-cluster-node>
- In your local browser type
localhost:YYYY
- You may get a prompt to authenticate using a token (printed when launched the notebook on the remote host), then you’re good to go!