FS#59906 - [cuda] Consider adding CUPTI path to cuda.conf

Attached to Project: Community Packages
Opened by RuRo (ruro) - Sunday, 02 September 2018, 11:10 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 10 September 2018, 02:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

`cuda.conf (/etc/ld.so.conf.d/cuda.conf)` does not include CUPTI lib path, so any program trying to load libcupti.so fails with an error like `could not dlopen DSO: libcupti.so.9.2; dlerror: libcupti.so.9.2: cannot open shared object file: No such file or directory` or similar.

Consider either adding `/opt/cuda/extras/CUPTI/lib64/` to `cuda.conf`.

Additional info:
* package version(s): 9.2.148-1
* config and/or log files etc.

Steps to reproduce:

Run a tensorflow session with FULL_TRACE, ex:
```
import tensorflow as tf

with tf.Session() as sess:
a = tf.constant(2)
b = a * a
runopt = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
sess.run(b, options=runopt)
```
or just try to dlopen `libcupti.so`.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 10 September 2018, 02:49 GMT
Reason for closing:  Fixed
Comment by RuRo (ruro) - Sunday, 02 September 2018, 11:14 GMT
P.S. Sorry for the poor formatting, first time posting here, kinda expected markdown syntax to work.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 07 September 2018, 20:04 GMT
Ok, check the new package.
Comment by RuRo (ruro) - Monday, 10 September 2018, 01:49 GMT
Seems ok to me. Thank you

Loading...