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

Update generate-topo-file.md #6980

Merged
merged 1 commit into from
Feb 13, 2025
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@
```shell
# Set the machine specific environment
cd ${e3sm_root}/components/homme
${e3sm_root}/cime/CIME/scripts/configure && source .env_mach_specific.sh

# load the appropriate machine environment
eval $(${e3sm_root}/cime/CIME/Tools/get_case_env)

# Specify machine configuration file
mach_file=${e3sm_root}/components/homme/cmake/machineFiles/perlmutter-gnu.cmake
mach_file=${e3sm_root}/components/homme/cmake/machineFiles/pm-cpu.cmake
# mach_file=${e3sm_root}/components/homme/cmake/machineFiles/chrysalis.cmake

cmake -C ${mach_file} \
Expand All @@ -65,12 +67,12 @@

### Building cube_to_target

The following commands were working on both Perlmutter/NERSC and Chrysalis/LCRC machines as of 2024.
The following commands were working on both Perlmutter/NERSC and Chrysalis/LCRC machines as of 2025.

Check notice on line 70 in docs/dev-guide/adding-grid-support/adding-grid-support-step-by-step-guide/generate-topo-file.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

docs/dev-guide/adding-grid-support/adding-grid-support-step-by-step-guide/generate-topo-file.md#L70

Expected: 80; Actual: 100

```shell
cd ${e3sm_root}/components/eam/tools/topo_tool/cube_to_target

${e3sm_root}/cime/CIME/scripts/configure && source .env_mach_specific.sh
eval $(${e3sm_root}/cime/CIME/Tools/get_case_env)

make
```
Expand Down Expand Up @@ -228,7 +230,7 @@

```shell
cd ${e3sm_root}/components/homme
${e3sm_root}/cime/CIME/scripts/configure && source .env_mach_specific.sh
eval $(${e3sm_root}/cime/CIME/Tools/get_case_env)

cat <<EOF > input.nl
&ctl_nl
Expand Down Expand Up @@ -390,7 +392,7 @@
#---------------------------------------------------------------------------
# Apply Smoothing
cd ${e3sm_root}/components/homme
${e3sm_root}/cime/CIME/scripts/configure && source .env_mach_specific.sh
eval $(${e3sm_root}/cime/CIME/Tools/get_case_env)
# Create namelist file for HOMME
cat <<EOF > input.nl
&ctl_nl
Expand Down Expand Up @@ -555,7 +557,7 @@
#---------------------------------------------------------------------------
# Apply Smoothing
cd ${e3sm_root}/components/homme
${e3sm_root}/cime/CIME/scripts/configure && source .env_mach_specific.sh
eval $(${e3sm_root}/cime/CIME/Tools/get_case_env)
# Create namelist file for HOMME
cat <<EOF > input.nl
&ctl_nl
Expand Down