ComputationalRadiationPhysics / cuda_memtest

Fork of CUDA GPU memtest :eyeglasses:
http://sourceforge.net/projects/cudagpumemtest
110 stars 31 forks source link

use RPATH by default #40

Closed psychocoderHPC closed 1 year ago

psychocoderHPC commented 1 year ago

Add option CUDA_MEMTEST__ADD_RPATH to control if cuda_memtest is setting the rpath. The new default is that RPATH will be used but optionally allow disabling this and falling back to the old behaviori.

Using rpath's is motivated by the spack where LD_LIBRARY_PATH is not set anymore: spack/spack#28354

PrometheusPi commented 1 year ago

Since this is exactly the same code change as in PIConGPU, I will merge this now.