Skip to content

Commit cfd345f

Browse files
author
torri
committed
re-adding paragraph
1 parent ca46b02 commit cfd345f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/using_eessi/building_on_eessi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,5 +205,7 @@ Hello World from rank 1
205205
RPATH should never point to a compatibility layer directory, only to software layer ones, as all resolving is done via the runtime linker (`ld-linux*.so`)
206206
that is shipped with EESSI, which automatically searches these locations.
207207

208+
The biggest downside of this approach is that your executable becomes bound to the architecture you linked your libraries for, i.e., if you add to your executable RPATH a `libhdf5.so`compiled for `intel_avx512`, you will not be able to run that binary on a machine with a different architecture. If this is an issue for you, you should look into how EESSI itself organises the location of binaries and perhaps leverage the relevant environment variables (e.g., `EESSI_SOFTWARE_SUBDIR`).
209+
208210

209211

0 commit comments

Comments
 (0)