Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Static linking #688

Open
einola opened this issue Sep 5, 2024 · 0 comments
Open

Static linking #688

einola opened this issue Sep 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request ICCS Tasks or reviews for the ICCS team

Comments

@einola
Copy link
Member

einola commented Sep 5, 2024

The model is compiled by first compiling a library and then linking this with the main program and all the tests. The main program (at least) should be linked statically, not dynamically, as seems to be the case now.

The reason for this is that some HPC setups require you to copy the executable from a login node to the compute node. In such a setup, it is annoying to have to make sure that the shared object file is copied as well and that the LD_LIBRARY_PATH (or similar) is correctly set on the compute node.

@einola einola assigned einola and TomMelt and unassigned einola Sep 5, 2024
@einola einola added enhancement New feature or request ICCS Tasks or reviews for the ICCS team labels Sep 5, 2024
@einola einola added this to the 3 Stand-alone model milestone Sep 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request ICCS Tasks or reviews for the ICCS team
Projects
Development

No branches or pull requests

2 participants