Running on izumi (when casper is down). Currently, this is only for tests 1 (all dycores) and 2 (only SE and FV3)
Logon to moffatt first using the following command:
ssh -X moffatt.cgd.ucar.edu (on Windows machines)
ssh -Y moffatt.cgd.ucar.edu (on Macs)
and authenticate with your CIT password and the DUO App
NOTE: You may need to add USER@moffatt.cgd.ucar.edu if your NCAR $USER differs from your local machine.Then logon to izumi:
ssh -X izumi.cgd.ucar.edu (on Windows machines)
ssh -Y izumi.cgd.ucar.edu (on Macs)
and authenticate with your CIT password and the DUO App.
setenv PATH ${PATH}:/project/dcmip/scripts
Load the required python module with: module load lang/python/3.11.5 (Do this each time you log on)
Clone the case. The commands are given explicitly for each case ($NEW_CASE_NAME is already specified), so you don't need to change anything.
Test case 1 (gravity wave breaking) with SE ne30:
/project/amp02/dcmip2025/CAM_6_4_082_21052025/cime/scripts/create_clone --case /home/$USER/dcmip2025_gw_break_se_ne30 --clone /project/amp02/dcmip2025/CAM_6_4_082_21052025/cases/dcmip2025_gw_break_se_ne30 --cime-output-root /scratch/cluster/$USER
Test Case 1 (gravity wave breaking) with FV3 C96:
/project/amp02/dcmip2025/CAM_6_4_082_21052025/cime/scripts/create_clone --case /home/$USER/dcmip2025_gw_break_fv3_C96 --clone /project/amp02/dcmip2025/CAM_6_4_082_21052025/cases/dcmip2025_gw_break_fv3_C96 --cime-output-root /scratch/cluster/$USER
Test Case 1 (gravity wave breaking) with mpasa120:
/project/amp02/dcmip2025/CAM_6_4_082_21052025/cime/scripts/create_clone --case /home/$USER/dcmip2025_gw_break_mpasa120 --clone /project/amp02/dcmip2025/CAM_6_4_082_21052025/cases/dcmip2025_gw_break_mpasa120 --cime-output-root /scratch/cluster/$USER
Test Case 2 (gap flow and vortex shedding) with se ne30:
/project/amp02/dcmip2025/CAM_6_4_082_21052025/cime/scripts/create_clone --case /home/$USER/dcmip2025_horiz_mount_flow_se_ne30 --clone /project/amp02/dcmip2025/CAM_6_4_082_21052025/cases/dcmip2025_horiz_mount_flow_se_ne30 --cime-output-root /scratch/cluster/$USER
Test Case 2 (gap flow and vortex shedding) with se ne60:
/project/amp02/dcmip2025/CAM_6_4_082_21052025/cime/scripts/create_clone --case /home/$USER/dcmip2025_horiz_mount_flow_se_ne60 --clone /project/amp02/dcmip2025/CAM_6_4_082_21052025/cases/dcmip2025_horiz_mount_flow_se_ne60 --cime-output-root /scratch/cluster/$USER
Test Case 2 (gap flow and vortex shedding) with fv3 C96 and no Coriolis force
/project/amp02/dcmip2025/CAM_6_4_083_22052025/cime/scripts/create_clone --case /home/$USER/dcmip2025_horiz_mount_flow_fv3_C96_no_rot --clone /project/amp02/dcmip2025/CAM_6_4_083_22052025/cases/dcmip2025_horiz_mount_flow_fv3_C96_no_rot --cime-output-root /scratch/cluster/$USER
Test Case 2 (gap flow and vortex shedding) with fv3 C192 and no Coriolis force
/project/amp02/dcmip2025/CAM_6_4_083_22052025/cime/scripts/create_clone --case /home/$USER/dcmip2025_horiz_mount_flow_fv3_C192_no_rot --clone /project/amp02/dcmip2025/CAM_6_4_083_22052025/cases/dcmip2025_horiz_mount_flow_fv3_C192_no_rot --cime-output-root /scratch/cluster/$USER
Test Case 2 (gap flow and vortex shedding) with fv3 C96 and with the Coriolis force
/project/amp02/dcmip2025/CAM_6_4_084_23052025/cime/scripts/create_clone --case /home/$USER/dcmip2025_horiz_mount_flow_fv3_C96_with_rot --clone /project/amp02/dcmip2025/CAM_6_4_084_23052025/cases/dcmip2025_horiz_mount_flow_fv3_C96_with_rot --cime-output-root /scratch/cluster/$USER
Test Case 2 (gap flow and vortex shedding) with fv3 C192 and with the Coriolis force
/project/amp02/dcmip2025/CAM_6_4_084_23052025/cime/scripts/create_clone --case /home/$USER/dcmip2025_horiz_mount_flow_fv3_C192_with_rot --clone /project/amp02/dcmip2025/CAM_6_4_084_23052025/cases/dcmip2025_horiz_mount_flow_fv3_C192_with_rot --cime-output-root /scratch/cluster/$USER
In /home/$USER/$NEW_CASE_NAME/ run ./case.setup
Change xml settings using ./xmlchange or namelist settings in user_nl_cam if necessary (for higher vertical resolution, run time, etc.)
To compile the model, run qcmd -- ./case.build
Submit the job: ./case.submit
The output data will be written to your work directory: cd /scratch/cluster/$USER/$NEW_CASE_NAME where you can find a directory with the name of the configuration. Move into this directory and its 'run' subdirectory.
If you intend to conduct more simulations using the same case, make sure to rename your output, or it will be overwritten. For example, an SE ne30 mountain test case simulation will produce an output file like dcmip2025_horiz_mount_flow_se_ne30.cam.h0i.0001-01-01-00000.nc. If this data is describing the gap flow test case with the Coriolis force included, you might rename the file (using the Unix 'mv' command, i.e. mv [old_file_name] [new_file_name]) to: dcmip2025_horiz_mount_flow_se_ne30.cam.h0i.0001-01-01-00000_gap_cor.ncMake any modifications to the test case (step 7). If you want to make xmlchanges, run ./case.build --clean-all before re-building the model. If making namelist modifications (in the user_nl_cam file) you only need to run ./case.build.
Making initial condition changes in izumi:
Copy across the initial condition file into your SourceMods:
Test case 1 (gravity wave breaking):
cp /project/amp02/dcmip2025/CAM_6_4_082_21052025/src/dynamics/tests/initial_conditions/ic_gw_break.F90 /home/$USER/$NEW_CASE_NAME/SourceMods/src.cam/ic_gw_break.F90
Test Case 2 (gap flow and vortex shedding) with SE:
cp /project/amp02/dcmip2025/CAM_6_4_082_21052025/src/dynamics/tests/initial_conditions/ic_horiz_mount_flows.F90 /home/$USER/$NEW_CASE_NAME/SourceMods/src.cam/ic_horiz_mount_flows.F90
Test Case 2 (gap flow and vortex shedding) with fv3 and no Coriolis force
cp /project/amp02/dcmip2025/CAM_6_4_083_22052025/src/dynamics/tests/initial_conditions/ic_horiz_mount_flows.F90 /home/$USER/$NEW_CASE_NAME/SourceMods/src.cam/ic_horiz_mount_flows.F90
Test Case 2 (gap flow and vortex shedding) with fv3 and with the Coriolis force
cp /project/amp02/dcmip2025/CAM_6_4_084_23052025/src/dynamics/tests/initial_conditions/ic_horiz_mount_flows.F90 /home/$USER/$NEW_CASE_NAME/SourceMods/src.cam/ic_horiz_mount_flows.F90
Make the desired modifications to the initial condition .F90 file.
Re-build the case and resubmit.
Regridding with izumi:
Create a new regrid script:
touch regrid.sh
Copy across the commands in the regrid_izumi.sh file in the github repository: https://github.com/ta440/DCMIP2025/blob/main/other_scripts/regrid_izumi.sh
Run the regridding file:
bash regrid.sh [native_grid (mpasa120, C96, C192)] [output_grid (1x1 or 0.5x0.5)] [output_file_to_regrid]
Important: remove the .nc extension when writing the output file name.
Visualizing unstructured NetCDF data with ncvis
There is a cobbled-together version of ncvis on Izumi
~zarzycki/ncvis/ncvis /home/aherring/cesm_inputfiles/topo/ne20pg3_nc3000_Co060_Fi001_PF_nullRR_Nsw042_20180606.nc
You need to login via proxyjumps
ssh -Y -J your_login_name@moffatt.cgd.ucar.edu your_login_name@izumi.cgd.ucar.edu
Downloading individual files from Izumi to your local machine:
Method 1:
scp -J USER@moffatt.cgd.ucar.edu USER@izumi.cgd.ucar.edu:FULL_PATH_TO_FILE.nc MY_LOCAL_FOLDER
Example:
scp -J zarzycki@moffatt.cgd.ucar.edu zarzycki@izumi.cgd.ucar.edu:/home/aherring/cesm_inputfiles/topo/ne20pg3_nc3000_Co060_Fi001_PF_nullRR_Nsw042_20180606.nc ~/Desktop
You will need to authenticate using your CIT password twice since it "hops" the scp command from moffat to izumi
Method 2 (potentially faster):
The machine goldhill has access to the same project/ directory as izumi. You can scp from goldhill to your local machine to directly transfer files without hopping through moffat. You'll have to move your output to the project/dcmip/$USER directory first.
scp USER@goldhill.cgd.ucar.edu:project/dcmip/$USER/FULL_PATH_TO_FILE_WITHIN_PROJECT.nc MY_LOCAL_FOLDER
Example:
scp nandrosk@goldhill.cgd.ucar.edu:project/dcmip/nandrosk/test.txt ~/Desktop
Note: If you're trying to download someone elses data you need to first ensure it has the right permissions. You can run
chmod 666 project/dcmip/$USER/FULL_PATH_TO_FILE_WITHIN_PROJECT.nc