Files
AMSS-NCKU/AMSS_NCKU_source/makefile.inc
CGH0S7 6ca9fece2e Add OpenMPI rpath and LD_LIBRARY_PATH export for reliable linking
- Export OMPI_ROOT/lib64 in LD_LIBRARY_PATH so mpicxx finds its runtime libs
- Add -Wl,-rpath to embed OpenMPI lib64 path in executables for runtime
- Replace hardcoded paths with OMPI_ROOT variable

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 22:43:57 +08:00

2.6 KiB
Executable File