Skip to content

Clean up cmake for Omega on Aurora #229

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

amametjanov
Copy link
Member

Move CMAKE_CXX_STANDARD property before cmake project call.

[BFB]

Checklist

  • Testing
    • A comment in the PR documents testing used to verify the changes including any tests that are added/modified/impacted.
    • Unit tests have passed. Please provide a relevant CDash build entry for verification.

Move CMAKE_CXX_STANDARD property before cmake project call
@amametjanov amametjanov added Omega clean up CMake CMake-related issues labels May 16, 2025
@amametjanov
Copy link
Member Author

amametjanov commented May 16, 2025

Testing:

100% tests passed, 0 tests failed out of 31

How-to test on Aurora:

!/bin/bash
cd components/omega/
rm -rf build && mkdir build && cd build
export PARMETIS_ROOT=/home/azamatm/soft/metis

cmake \
   -DOMEGA_CIME_COMPILER=oneapi-ifxgpu \
   -DOMEGA_CIME_MACHINE=aurora \
   -DOMEGA_PARMETIS_ROOT=${PARMETIS_ROOT}\
   -DOMEGA_BUILD_TEST=ON -Wno-dev \
   -S /home/azamatm/repos/Omega/components/omega -B . 2>&1 |tee cmake.1.out

ln -isf /lus/flare/projects/E3SM_Dec/inputdata/ocn/mpas-o/oQU240/ocean.QU.240km.151209.nc test/OmegaMesh.nc
ln -isf /lus/flare/projects/E3SM_Dec/inputdata/ocn/mpas-o/polaris_cache/global_convergence/icos/cosine_bell/Icos480/init/initial_state.230220.nc test/OmegaSphereMesh.nc
ln -isf /lus/flare/projects/E3SM_Dec/inputdata/ocn/mpas-o/polaris_cache/global_convergence/icos/cosine_bell/Icos480/init/PlanarPeriodic48x48.nc test/OmegaPlanarMesh.nc

./omega_build.sh 2>&1 | tee omega_build.sh.1.out

qsub -q debug -l walltime=00:30:00 -A E3SM_Dec -l select=1,filesystems=home:flare -I

cd $PBS_O_WORKDIR
./omega_ctest.sh 2>&1 | tee omega_ctest.sh.1.out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean up CMake CMake-related issues Omega
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant