Skip to content

Conversation

m-frey
Copy link
Contributor

@m-frey m-frey commented Oct 8, 2025

Description and Context

Debugging on the IMCS cluster is currently not working with CLion due to environment issues.
I added some required local paths to the base preset and added a dedicated debug preset.

Related Issues and Pull Requests

@m-frey m-frey self-assigned this Oct 8, 2025
@m-frey m-frey changed the title Update imcs cmake preset to allow debugging on cluster Update imcs cmake preset to enable debugging on cluster Oct 8, 2025
maxfirmbach
maxfirmbach previously approved these changes Oct 8, 2025
@knarfnitram
Copy link
Contributor

Thanks for you messages @sebproell @maxfirmbach
I'd call it a special Clion preset. In this shell no modules are loaded or paths are set. Therefore, we add them with the hard-coded paths over cmake. If anyone has an idea how to simple setup all environment flags in clion, we're happy to hear about that (we tried several options and integrating them over cmake directly worked out most robust).
@m-frey can you please seperate this from the general cluster set up?

@knarfnitram
Copy link
Contributor

@m-frey - I removed some unnecessary paths and split it into a separate preset imcs_charon_debug_clion .
Can you verify if it works for you? To launch applications or test cases out of cmake we currently have to set the
LD_LIBRARY_PATH=/opt/trilinos/2025-04/lib within Clion.

@m-frey
Copy link
Contributor Author

m-frey commented Oct 10, 2025

@knarfnitram Thanks you, yes it works. From my side we can merge this.

@knarfnitram knarfnitram merged commit 1a7a1f5 into 4C-multiphysics:main Oct 13, 2025
29 checks passed
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.

5 participants