- 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>
2.6 KiB
Executable File
2.6 KiB
Executable File