@@ -12,10 +12,10 @@ branches. To do this, go to the page for the
1212click on the ` fork ` button near the upper right corner. Set "owner" to your
1313GitHub username (this should be the default) and click "Create fork".
1414
15- There is no need to have a separate for for Omega, since the Omega repository
16- is also a fork of E3SM. Your E3SM fork will server for both E3SM and Omega
15+ There is no need to have a separate fork for Omega, since the Omega repository
16+ is also a fork of E3SM. Your E3SM fork will serve for both E3SM and Omega
1717development. In fact, GitHub will not let you make an Omega fork if you
18- already have an E3SM fork (or visa versa).
18+ already have an E3SM fork (or vice versa).
1919
2020### Check out the code
2121
@@ -52,7 +52,7 @@ If you do not have conda set up in your own space yet, follow
5252
5353
5454Activate the ` base ` conda environment. Go to the base of the Omega branch you
55- plan to develop and create conda environment for
55+ plan to develop and create a conda environment for
5656linting your code and building the documentation:
5757``` sh
5858cd components/omega/
@@ -74,13 +74,19 @@ that `pre-commit` and the associated linting utilities are available and that
7474they check your code as it is committed (rather than requiring fix-up commits
7575later on).
7676
77+ (omega-dev-quick-start-build-test)=
78+
7779## Building and testing Omega
7880
81+ (omega-dev-quick-start-ctest-util)=
82+
7983### Polaris CTest Utility
8084
8185If you are using Polaris, you may wish to use its
8286[ Omega CTest utility] ( https://github.com/E3SM-Project/polaris/tree/main/utils/omega/ctest )
83- to buid and test Omega. The utility automates many of the steps below.
87+ to build and test Omega. The utility automates many of the steps below.
88+
89+ (omega-dev-quick-start-build)=
8490
8591### Building Omega
8692
@@ -96,7 +102,7 @@ git submodule update --init --recursive \
96102 cime
97103```
98104
99- Since some systems require tests to be run on in a scratch space, it is a good
105+ Since some systems require tests to be run in a scratch space, it is a good
100106idea to build the code somewhere in your scratch space. We will simply refer
101107to the build directory as ` $BUILD_DIR ` and leave it up to you to decide where
102108it is best to put it. If you have previously built in ` $BUILD_DIR ` , you
@@ -109,8 +115,8 @@ cd $BUILD_DIR
109115
110116Set ` $PARMETIS_ROOT ` to the appropriate location for Metis and Parmetis
111117libraries built for your machine and compiler (see
112- {ref}` omega-dev-parmetis-libs ` below for some shared locations on some
113- supported machines):
118+ {ref}` omega-dev-parmetis-libs ` below for shared locations on supported
119+ machines):
114120``` sh
115121export PARMETIS_ROOT=< parmetis_root>
116122```
@@ -204,8 +210,8 @@ Total Test time (real) = 8.91 sec
204210
205211If Omega CTests are failing or simulations are crashing, setting
206212` OMEGA_BUILD_TYPE ` to ` Debug ` can be helpful for debugging purposes. If you
207- need to identify which test has failed, it may be useful to examine the CMake
208- ctest log file located at ` $BUILD_DIR/Testing/Temporary/LastTest.log ` .
213+ need to identify which test has failed, it may be useful to examine the CTest
214+ log file located at ` $BUILD_DIR/Testing/Temporary/LastTest.log ` .
209215
210216(omega-dev-parmetis-libs)=
211217
@@ -264,16 +270,16 @@ used to but the hope is that it leads to a coherent code style in Omega.
264270You may wish to consider using an integrated development environment (IDE) to
265271develop your code. A convenient option for developing on HPC is
266272[ Visual Studio Code (VS Code)] ( https://code.visualstudio.com/ ) . It has plugins
267- for [ c ++] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools ) ,
273+ for [ C ++] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools ) ,
268274[ CMake] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools ) ,
269275[ Python] ( https://marketplace.visualstudio.com/items?itemName=ms-python.python ) ,
270276and so on. If configured correctly, it should help to enforce the
271277[ code formatting style] ( https://code.visualstudio.com/docs/cpp/cpp-ide#_code-formatting )
272278by recognizing Omega's ` .clang-format ` file.
273279
274- A convenient feature is the ability to connect to edit code directly on HPC
280+ A convenient feature is the ability to connect and edit code directly on HPC
275281systems from your laptop or desktop
276- [ using a n SSH connection] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh ) .
282+ [ using an SSH connection] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh ) .
277283
278284VS Code also provides a convenient way to preview the Markdown files used in
279285the Omega documentation as you are writing them.
0 commit comments