Skip to content

eCLM-PDAF: Remove Intel-Debug-Flag "-check all" #70

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

Merged
merged 7 commits into from
May 22, 2025
Merged

Conversation

jjokella
Copy link
Contributor

eCLM-PDAF runs into runtime errors when using all checks in Intel-Debug compilation.

We are trying to fix the following problem and suspect that it comes
from the `-check all` flags.
```
==22279==WARNING: MemorySanitizer: use-of-uninitialized-value
```

In the future there could maybe be a more fine-grained handling of
checks.
PDAF does not pass all the check, leading to runtime errors.
@kvrigor
Copy link
Member

kvrigor commented May 22, 2025

@jjokella can we also add a DEBUG build in the CI? You just need to duplicate this part:

- name: Configure eCLM
run: |
cmake -S src -B $BUILD_DIR \
-DCMAKE_BUILD_TYPE="RELEASE" \
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \
-DCMAKE_PREFIX_PATH="$HOME/.local" \
-DCMAKE_C_COMPILER=$CC \
-DCMAKE_Fortran_COMPILER=$FC \
-DUSE_OASIS=${{ matrix.config.use_oasis }} \
-DCOUP_OAS_ICON=${{ matrix.config.coup_oas_icon }} \
-DCOUP_OAS_PFL=${{ matrix.config.coup_oas_pfl }} \
-DUSE_PDAF=${{ matrix.config.use_pdaf }}
- name: Build eCLM
run: cmake --build $BUILD_DIR
- name: Install eCLM
run: cmake --install $BUILD_DIR

@jjokella jjokella merged commit e7998d9 into master May 22, 2025
12 checks passed
@jjokella jjokella deleted the dev-check-all branch May 22, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants