Theano: GPU Usage on a New Jetson TX1 - theano
(Very long error messages in the question below. TL;DR, here is the specific question: Why does this test code not execute on the TX1's GPU, and what do I need to do to make it do so?)
I have just flashed and installed a brand new Nvidia Jetson TX1, with JetPack 2.3. I am trying to get Theano installed on the TX1 in such a way as to enable the use of the on-board GPU, for further machine learning and neural network applications.
However, I cannot seem to get the GPU itself to work.
The install of Theano was taken from here:
sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libblas-dev git
pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git --user # Need Theano 0.8(not yet released) or more recent
Theano version installed was 0.9.0.dev2, python is version 2.7.12.
I used the test script from here :
from theano import function, config, shared, tensor
import numpy
import time
vlen = 10 * 30 * 768 # 10 x #cores x # threads per core
iters = 1000
rng = numpy.random.RandomState(22)
x = shared(numpy.asarray(rng.rand(vlen), config.floatX))
f = function([], tensor.exp(x))
print(f.maker.fgraph.toposort())
t0 = time.time()
for i in range(iters):
r = f()
t1 = time.time()
print("Looping %d times took %f seconds" % (iters, t1 - t0))
print("Result is %s" % (r,))
if numpy.any([isinstance(x.op, tensor.Elemwise) and
('Gpu' not in type(x.op).__name__)
for x in f.maker.fgraph.toposort()]):
print('Used the cpu')
else:
print('Used the gpu')
When running as recommended:
THEANO_FLAGS=device=cuda0 python gpu_tutorial1.py
I get the following response, full of errors, warnings, and an execution on the CPU rather than the GPU:
ERROR (theano.gpuarray): pygpu was configured but could not be imported
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python2.7/site-packages/theano/gpuarray/__init__.py", line 21, in <module>
import pygpu
ImportError: No module named pygpu
WARNING (theano.gof.cmodule): OPTIMIZATION WARNING: Theano was not able to find the default g++ parameters. This is needed to tune the compilation to your specific CPU. This can slow down the execution of Theano functions. Please submit the following lines to Theano's mailing list so that we can fix this problem:
['# 1 "<stdin>"\n', '# 1 "<built-in>"\n', '# 1 "<command-line>"\n', '# 1 "/usr/include/stdc-predef.h" 1 3 4\n', '# 1 "<command-line>" 2\n', '# 1 "<stdin>"\n', 'Using built-in specs.\n', 'COLLECT_GCC=/usr/bin/g++\n', 'Target: aarch64-linux-gnu\n', "Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-arm64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-arm64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-arm64 --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu\n", 'Thread model: posix\n', 'gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2) \n', "COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mlittle-endian' '-mabi=lp64'\n", ' /usr/lib/gcc/aarch64-linux-gnu/5/cc1 -E -quiet -v -imultiarch aarch64-linux-gnu - -mlittle-endian -mabi=lp64 -fstack-protector-strong -Wformat -Wformat-security\n', 'ignoring nonexistent directory "/usr/local/include/aarch64-linux-gnu"\n', 'ignoring nonexistent directory "/usr/lib/gcc/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/include"\n', '#include "..." search starts here:\n', '#include <...> search starts here:\n', ' /usr/lib/gcc/aarch64-linux-gnu/5/include\n', ' /usr/local/include\n', ' /usr/lib/gcc/aarch64-linux-gnu/5/include-fixed\n', ' /usr/include/aarch64-linux-gnu\n', ' /usr/include\n', 'End of search list.\n', 'COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/\n', 'LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../:/lib/:/usr/lib/\n', "COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mlittle-endian' '-mabi=lp64'\n"]
[Elemwise{exp,no_inplace}(<TensorType(float64, vector)>)]
Looping 1000 times took 12.736936 seconds
Result is [ 1.23178032 1.61879341 1.52278065 ..., 2.20771815 2.29967753
1.62323285]
Used the cpu
When I change the device flag to 'gpu':
THEANO_FLAGS=device=gpu python gpu_tutorial1.py
things improve somewhat, in that the NVIDIA Tegra X1 is at least found, although it is ultimately not used:
Using gpu device 0: NVIDIA Tegra X1 (CNMeM is disabled, cuDNN 5105)
WARNING (theano.gof.cmodule): OPTIMIZATION WARNING: Theano was not able to find the default g++ parameters. This is needed to tune the compilation to your specific CPU. This can slow down the execution of Theano functions. Please submit the following lines to Theano's mailing list so that we can fix this problem:
['# 1 "<stdin>"\n', '# 1 "<built-in>"\n', '# 1 "<command-line>"\n', '# 1 "/usr/include/stdc-predef.h" 1 3 4\n', '# 1 "<command-line>" 2\n', '# 1 "<stdin>"\n', 'Using built-in specs.\n', 'COLLECT_GCC=/usr/bin/g++\n', 'Target: aarch64-linux-gnu\n', "Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-arm64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-arm64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-arm64 --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu\n", 'Thread model: posix\n', 'gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2) \n', "COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mlittle-endian' '-mabi=lp64'\n", ' /usr/lib/gcc/aarch64-linux-gnu/5/cc1 -E -quiet -v -imultiarch aarch64-linux-gnu - -mlittle-endian -mabi=lp64 -fstack-protector-strong -Wformat -Wformat-security\n', 'ignoring nonexistent directory "/usr/local/include/aarch64-linux-gnu"\n', 'ignoring nonexistent directory "/usr/lib/gcc/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/include"\n', '#include "..." search starts here:\n', '#include <...> search starts here:\n', ' /usr/lib/gcc/aarch64-linux-gnu/5/include\n', ' /usr/local/include\n', ' /usr/lib/gcc/aarch64-linux-gnu/5/include-fixed\n', ' /usr/include/aarch64-linux-gnu\n', ' /usr/include\n', 'End of search list.\n', 'COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/\n', 'LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../:/lib/:/usr/lib/\n', "COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mlittle-endian' '-mabi=lp64'\n"]
[Elemwise{exp,no_inplace}(<TensorType(float64, vector)>)]
Looping 1000 times took 12.820628 seconds
Result is [ 1.23178032 1.61879341 1.52278065 ..., 2.20771815 2.29967753
1.62323285]
Used the cpu
I do plan to send the warning lines to the Theano mailing list, but that warning seems unrelated to what is currently my main issue: Why does this test code not execute on the TX1's GPU, and what do I need to do to make it do so?
It turns out that the recommended CLI invocation on that site is not correct. The correct invocation is:
THEANO_FLAGS='device=gpu,floatX=float32' python gpu_tutorial1.py
This is sufficient to execute on the GPU with a satisfactory speedup (noticeable and reported in the output) and to get rid of that gob-smackingly long error warning.
Putting both those flags in a .theanorc file is also sufficient, and simplifies the invocation.
Related
MAKE fails to find ft2build.h (freetype2 header) -freetype(2.8.1) is installed properly
I am Trying to compile 'xplanet' R224 (latest version) on Ubuntu 18.04 MAKE fails to find ft2build.h (freetype2 header) I have 'freetype'(2.8.1) installed properly and all the files are there. I have searched stackoverflow and found many people with the same problem (ft2build.h not found) yet no consensus on why or what the solution is. Any help is appreciated. MAKE ERROR MESSAGE: In file included from getTextRenderer.cpp:8:0: TextRendererFT2.h:4:10: fatal error: ft2build.h: No such file or directory #include <ft2build.h> compilation terminated. Makefile:458: recipe for target 'getTextRenderer.o' failed make[3]: *** [getTextRenderer.o] Error 1 MY INSTALLED FREETYPE FILES: ls /usr/include/freetype2/freetype/config ftconfig.h ftheader.h ftmodule.h ftoption.h ftstdlib.h ls /usr/include/freetype2/freetype config ftautoh.h ftbzip2.h ftcid.h ftgasp.h ftimage.h ftlzw.h ftmoderr.h ftpfr.h ftstroke.h ftttdrv.h ttnameid.h freetype.h ftbbox.h ftcache.h fterrdef.h ftglyph.h ftincrem.h ftmac.h ftotval.h ftrender.h ftsynth.h fttypes.h tttables.h ft2build.h ftbdf.h ftcffdrv.h fterrors.h ftgxval.h ftlcdfil.h ftmm.h ftoutln.h ftsizes.h ftsystem.h ftwinfnt.h tttags.h ftadvanc.h ftbitmap.h ftchapters.h ftfntfmt.h ftgzip.h ftlist.h ftmodapi.h ftpcfdrv.h ftsnames.h fttrigon.h t1tables.h ttunpat.h ls /usr/include/freetype2 freetype ft2build.h MAKEFILE INCLUDES THESE LINES: FREETYPE2_CFLAGS = -I/usr/include/freetype2 -I/usr/include/libpng16 FREETYPE2_LIBS = -lfreetype FREETYPE_CFLAGS = FREETYPE_LIBS =
They have there a mix of FREETYPE and FREETYPE2 variables for some reason. I managed to make it compile with those changes: In src/libdisplay/Makefile.am: --- src/libdisplay/Makefile.am.old 2022-02-27 22:21:56.089575296 +0100 +++ src/libdisplay/Makefile.am 2022-02-27 22:22:13.424197851 +0100 ## -26,7 +26,7 ## EXTRA_libdisplay_a_SOURCES = DisplayMacAqua.cpp DisplayMacAqua.h DisplayMSWin.cpp DisplayMSWin.h TextRendererFT2.cpp TextRendererFT2.h TextRendererPangoFT2.cpp TextRendererPangoFT2.h DisplayX11.cpp DisplayX11.h vroot.h TimerMacAqua.cpp TimerMacAqua.h TimerX11.cpp TimerX11.h -AM_CPPFLAGS = -I#top_srcdir#/src #X_CFLAGS# #FREETYPE_CFLAGS# +AM_CPPFLAGS = -I#top_srcdir#/src #X_CFLAGS# #FREETYPE2_CFLAGS# if USE_AR libdisplay_a_AR = $(AR) cru In src/Makefile.am: --- src/Makefile.am.old 2022-02-27 22:22:02.953029931 +0100 +++ src/Makefile.am 2022-02-27 22:22:31.438766211 +0100 ## -8,7 +8,7 ## parsegeom = ParseGeom.c ParseGeom.h endif -AM_CPPFLAGS = -DDATADIR=\"$(datadir)#separator#xplanet\" #X_CFLAGS# #FREETYPE_CFLAGS# +AM_CPPFLAGS = -DDATADIR=\"$(datadir)#separator#xplanet\" #X_CFLAGS# #FREETYPE2_CFLAGS# AM_LDFLAGS = #xplanet_LDFLAGS# xplanet_SOURCES = \ ## -72,5 +72,5 ## libprojection/libprojection.a \ libsgp4sdp4/libsgp4sdp4.a \ #GRAPHICS_LIBS# #CSPICE_LIBS# #X_LIBS# \ - #XSS_LIBS# #FREETYPE_LIBS# #AQUA_LIBS# \ + #XSS_LIBS# #FREETYPE2_LIBS# #AQUA_LIBS# \ #LIBICONV# #LIBCHARSET#
The solution above was completely successful. FREETYPE2 was misspelled in three places as FREETYPE in "src/Makefile.am" Installation had no further problems Molly Feb 27 at 22:50
Mac M1 Rust: ld framework not found CoreFoundation M1
I'm facing an issue compiling a crate in Rust after switching to M1. The crate is "sqlx-macros". As discussed in the sqlx repo, it has become apparent that this is not a problem of the crate per se. Digging around the with ld framework not found CoreFoundation M1, I am unable to resolve my problem. I'm running: rustc 1.57.0 (f1edd0429 2021-11-29) rustup default stable-aarch64-apple-darwin Here is the error in question: error: linking with `cc` failed: exit status: 1 | = note: "cc" "-arch" "arm64" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.0.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.1.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.10.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.11.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.12.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.13.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.14.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.15.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.2.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.3.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.4.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.5.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.6.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.7.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.8.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.9.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.312opvse87l793yj.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.281281m3wpaf90be.rcgu.o" "-L" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps" "-L" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/build/ring-00b2699d202c565f/out" "-L" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdotenv-bcf0aca3b7bc8cd4.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libheck-626c5462f41d3929.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_segmentation-4b1977349c37e802.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsyn-0c9f33ce0d41da04.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlx_core-ae6ab38c5a09aaa7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrc-da62e3c7cbfe97f5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrc_catalog-d8370c27944dfe7a.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhex-963718e6915ebdf6.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libwhoami-b6636d0fe6b91268.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdirs-98e36b19a30fbb31.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdirs_sys-d59a29575635414f.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtokio_stream-530bb3979e3faf40.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libwebpki_roots-f4d1a9e1a1d281a7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlformat-db946c9c86afc529.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_categories-d7806e456d1ab4fc.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnom-9324692423ffb34a.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libitertools-d0210e435c329f53.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libthiserror-40227fc935d966f7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbitflags-53a23abfe027286d.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liburl-b6579ec0b8c695a0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libidna-7c6b1ea0f937ef50.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libform_urlencoded-baa7e538d4ef6431.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmatches-b58d0fe416543617.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libpercent_encoding-b55ac354f0255b20.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmd5-74915dbb5c56bd05.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbyteorder-5d34a33e544c853e.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libatoi-fead19dad46f0cbe.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libstringprep-b9be9e9ddfd94a5b.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_normalization-1980ff400d6709e5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtinyvec-58e0d3e4e182f228.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtinyvec_macros-41736dd33b4ff66e.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_bidi-407b876b0fa4c956.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librand-cbdb2958ad4fad90.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librand_chacha-bed58bf603b9118b.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libppv_lite86-d55f98a5438a00f7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librand_core-5208c26a4e220237.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhmac-71ed912ade899bb7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrypto_mac-56d4f0e9b07e56da.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsubtle-552b2ce96e9ace11.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsha2-cec98bdca95d0c85.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libopaque_debug-0f46acc0bcbe7ebb.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdigest-5dd2957b2c31b03d.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libblock_buffer-0a07dc8582ad511a.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libgeneric_array-edb04608a7cb3595.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtypenum-c46c02c8c2d27571.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhashlink-674e6e90a10a40f5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhashbrown-5981cabd74cd4e62.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libahash-c5a767a72ff39fe9.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libchrono-110b9ff6cc82c0dd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnum_integer-156ed8041665f5a4.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnum_traits-2f966b2053809582.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtime-26b95385d2213e8c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libuuid-9b78316751859aa3.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libgetrandom-73e09dbdfae59109.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libserde_json-773ad93690775692.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libryu-35ba9cc3d5d02dd4.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libitoa-4cdeaf4add7f7fd0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libserde-59c3b31fd28fffeb.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlx_rt-0055a762dd1794dd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libactix_rt-c118c1f8d144d5d0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtokio_rustls-8bd246f1cb8a9967.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librustls-97f8c4084bc5ddbc.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbase64-6e74f6cd80c81bfd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsct-ab05719c0e066ee5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libwebpki-609d9d6de2956b78.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libring-a9c07951cca54be0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libuntrusted-7dfb22f78fd3918f.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtokio-bd033529cc1f9fc7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsignal_hook_registry-5efdce841beb6fab.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnum_cpus-739e46d4ad873a11.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmemchr-c827c82476ce2244.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libonce_cell-5952971dafb2b2ba.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbytes-e547253afcf8f088.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmio-0e779c175f479389.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblog-6e3fcaf289c0785c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrossbeam_queue-77a82f114d2b20fc.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrossbeam_utils-ddfbc5e71e018f2c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblazy_static-81d20f7d7f1f4bd2.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_intrusive-654c41f3445053f5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libparking_lot-ecf810bcff890217.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libparking_lot_core-1cca6e92e476ead3.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblibc-249ca7d010eefcfe.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsmallvec-cd4d7a3bc73153b0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libinstant-3bd2b2afc483c597.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcfg_if-070e0057f85f12e1.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblock_api-3a560b1cbe9bd1bd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libscopeguard-46314ee240534403.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libeither-630743a902737812.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_util-e40c3140032e0ba7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libpin_project_lite-5bad0c04bfff9074.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_task-3f7fbb78f0996ac8.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libpin_utils-af5505e3a763c822.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_channel-3151aecc7bea8587.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_sink-341ec96125dc400e.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_core-4077c13931d0998f.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libquote-b86e51bb4f102c43.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libproc_macro2-2f754891ab7c601c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_xid-deac7a8ae4518802.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libproc_macro-33d9c5891f008791.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-81655915c211065a.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-6401d7836ab37fcf.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-bee3b45bdece0195.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-01c74ed3833459fe.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-48661015cf0226dd.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-f6cb12e379c9f859.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-01c2377d8875d7d3.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-4ecebe9133c1e15e.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-68b6457fbd59457b.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-9d4889633473e617.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-7d202cbf8f30fd4c.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-412e60c7c12b3b8f.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-45ccb8237a0071b3.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-24424da3181053ad.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-5789d203d1806d35.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-22574ec029e9d229.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-56bb43a121401f7f.rlib" "-framework" "CoreFoundation" "-framework" "SystemConfiguration" "-framework" "Security" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlx_macros-407f772bf8e457dd.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" "-undefined" "dynamic_lookup" = note: ld: framework not found CoreFoundation clang: error: linker command failed with exit code 1 (use -v to see invocation) At this point I'm a bit clueless as to what to do so any idea would be appreciated.
When upgrading to a new ARM Mac, the linked directories for Command Line Tools for Xcode can break. The easiest fix is reinstall Command Line Tools for Xcode with: sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install Then build the project with: cargo build
undefined symbol: __atomic_exchange_8
I'm trying to run google assistant on my raspberry pi following the steps on: https://developers.google.com/assistant/sdk/guides/service/python/embed/run-sample all works fine until activating the Google Assistant with the command: googlesamples-assistant-pushtotalk --project-id my-dev-project --device-model-id my-model I'm getting the following ImportError: Traceback (most recent call last): File "/home/pi/env/bin/googlesamples-assistant-pushtotalk", line 5, in <module> from googlesamples.assistant.grpc.pushtotalk import main File "/home/pi/env/lib/python3.9/site-packages/googlesamples/assistant/grpc/pushtotalk.py", line 28, in <module> import grpc File "/home/pi/env/lib/python3.9/site-packages/grpc/__init__.py", line 22, in <module> from grpc import _compression File "/home/pi/env/lib/python3.9/site-packages/grpc/_compression.py", line 15, in <module> from grpc._cython import cygrpc ImportError: /home/pi/env/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so: undefined symbol: __atomic_exchange_8 Any ideas on how to fix this?
just ended up here since I ran into the same problem (on a different project) but also involving python3.9, cygrpc on a RPi4 with a recent raspbian-lite (32bit). While I don't have a solution here are my guesses: formerly __atomic_exchange_8 was defined in /lib/arm-linux-gnueabihf/libgcc_s.so.1 but now it seems defined in libatomic: $ grep __atomic_exchange_8 /lib/arm-linux-gnueabihf/libatomic.so.1 grep: /lib/arm-linux-gnueabihf/libatomic.so.1: binary file matches EDIT: Solved it. I was looking at the patch which tried to solve the problem two years ago: https://github.com/grpc/grpc/pull/20514/commits/b912fc7d8d401bb65b3147ee77d03beaa3d46038 I figured their test check_linker_need_libatomic() might be broken, and patched it again to always return True, the problem got fixed. Had tried earlier to fix it by adding CFLAGS='-latomic' CPPFLAGS='-latomic' but that didn't help. here's my tiny workaround (not fix!) for today's grpc git HEAD: root#mypi:/home/pi/CODE/grpc# git diff diff --git a/setup.py b/setup.py index 1a72c5c668..60b7705cd2 100644 --- a/setup.py +++ b/setup.py ## -197,6 +197,7 ## ENABLE_DOCUMENTATION_BUILD = _env_bool_value( def check_linker_need_libatomic(): """Test if linker on system needs libatomic.""" + return True code_test = (b'#include <atomic>\n' + b'int main() { return std::atomic<int64_t>{}; }') cxx = os.environ.get('CXX', 'c++') diff --git a/tools/distrib/python/grpcio_tools/setup.py b/tools/distrib/python/grpcio_tools/setup.py index 6b842f56b9..8d5f581ac7 100644 --- a/tools/distrib/python/grpcio_tools/setup.py +++ b/tools/distrib/python/grpcio_tools/setup.py ## -85,6 +85,7 ## BUILD_WITH_STATIC_LIBSTDCXX = _env_bool_value( def check_linker_need_libatomic(): """Test if linker on system needs libatomic.""" + return True code_test = (b'#include <atomic>\n' + b'int main() { return std::atomic<int64_t>{}; }') cxx = os.environ.get('CXX', 'c++') root#mypi:/home/pi/CODE/grpc# EDIT: as a quick test, cygrpc.cpython-39-arm-linux-gnueabihf.so needs to depend on libatomic: pi#mypi:~/CODE/grpc $ ldd /usr/local/lib/python3.9/dist-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so linux-vdso.so.1 (0xbeef7000) /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0xb698b000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb695f000) libatomic.so.1 => /lib/arm-linux-gnueabihf/libatomic.so.1 (0xb6946000) libstdc++.so.6 => /lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb67be000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb674f000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb65fb000) /lib/ld-linux-armhf.so.3 (0xb6fcc000) libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb65ce000)
This works for me on RPI0 + Bullseye + Python3.9: pip3 uninstall -y grpcio grpcio-tools sudo apt install -y python3-grpcio python3-grpc-tools
EDIT: Update to gRPC v1.44.0. The issue has been fixed there, see the explanation below in the old answer. There was a problem with the order of the parameters used by the compiler to compile some test code which result is used to determine whether libatomic needs to be linked or not. The issue will be fixed with the next release of grpc. If they maintain the same schedule of previous releases it should be v1.44.0 which should come out some time the next month. In the mean time you can git cherry-pick the proper fix and build grpc yourself
The postinstall intercept hook 'update_gio_module_cache' failed
I am building core-image-minimal for warrior branch. My device has atom processor so I have changed nehalem to atom in tune-corei7.inc file. My machine is set to intel-corei7-64. While generating core-image-minimal, I am facing following error: NOTE: Installing complementary packages ... NOTE: Running ['oe-pkgdata-util', '-p', '/home/panther2/warrior/build_panther1/tmp/pkgdata/panther1', 'glob', '/tmp/installed-pkgs03hhi936', ''] NOTE: Running intercept scripts: NOTE: > Executing update_gio_module_cache intercept ... NOTE: Exit code 1. Output: + [ True = False -a qemuwrapper-cross != nativesdk-qemuwrapper-cross ] + qemu-x86_64 -r 3.2.0 -cpu atom,check=false -E LD_LIBRARY_PATH=/home/panther2/warrior/build_panther1/tmp/work/panther1-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/lib:/home/panther2/warrior/build_panther1/tmp/work/panther1-poky-linux/core-image-minimal/1.0-r0/rootfs/lib -L /home/panther2/warrior/build_panther1/tmp/work/panther1-poky-linux/core-image-minimal/1.0-r0/rootfs /home/panther2/warrior/build_panther1/tmp/work/panther1-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/libexec/gio-querymodules /home/panther2/warrior/build_panther1/tmp/work/panther1-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/lib/gio/modules/ unable to find CPU model 'atom' ERROR: The postinstall intercept hook 'update_gio_module_cache' failed, details in /home/panther2/warrior/build_panther1/tmp/work/panther1-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs ERROR: DEBUG: Python function do_rootfs finished ERROR: Function failed: do_rootfs Any help here? Thanks in advance..! Edit : Attaching "tune-corei7.inc" file # Settings for the GCC(1) cpu-type "atom": # # Intel atom CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, # SSE4.2 and POPCNT instruction set support. # # This tune is recommended for Intel atom and Silvermont (e.g. Bay Trail) CPUs # (and beyond). # DEFAULTTUNE ?= "corei7-64" # Include the previous tune to pull in PACKAGE_EXTRA_ARCHS require conf/machine/include/tune-atom.inc # Extra tune features TUNEVALID[corei7] = "Enable corei7 specific processor optimizations" TUNE_CCARGS .= "${#bb.utils.contains('TUNE_FEATURES', 'corei7', ' -march=atom -mtune=generic -mfpmath=sse -msse4.2', '', d)}" # Extra tune selections AVAILTUNES += "corei7-32" TUNE_FEATURES_tune-corei7-32 = "${TUNE_FEATURES_tune-x86} corei7" BASE_LIB_tune-corei7-32 = "lib" TUNE_PKGARCH_tune-corei7-32 = "corei7-32" PACKAGE_EXTRA_ARCHS_tune-corei7-32 = "${PACKAGE_EXTRA_ARCHS_tune-atom-32} corei7-32" QEMU_EXTRAOPTIONS_corei7-32 = " -cpu nehalem,check=false" AVAILTUNES += "corei7-64" TUNE_FEATURES_tune-corei7-64 = "${TUNE_FEATURES_tune-x86-64} corei7" BASE_LIB_tune-corei7-64 = "lib64" TUNE_PKGARCH_tune-corei7-64 = "corei7-64" PACKAGE_EXTRA_ARCHS_tune-corei7-64 = "${PACKAGE_EXTRA_ARCHS_tune-atom-64} corei7-64" QEMU_EXTRAOPTIONS_corei7-64 = " -cpu nehalem,check=false" AVAILTUNES += "corei7-64-x32" TUNE_FEATURES_tune-corei7-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} corei7" BASE_LIB_tune-corei7-64-x32 = "libx32" TUNE_PKGARCH_tune-corei7-64-x32 = "corei7-64-x32" PACKAGE_EXTRA_ARCHS_tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-atom-64-x32} corei7-64-x32" QEMU_EXTRAOPTIONS_corei7-64-x32 = " -cpu nehalem,check=false"
anaconda env: cupti64_100.dll not found
# output metadata end of epochs print('\nAdding run metadata for epoch ' + str(batch_idx) + '\n') run_options = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE) run_metadata = tf.RunMetadata() summary, _ = sess.run([merged, train_step], feed_dict={x: batch_xs, y_: batch_ys, keep_prob: 1.0}, # test_xs, test,_ys options=run_options, run_metadata=run_metadata) train_writer.add_run_metadata(run_metadata, 'step%03d' % batch_idx) train_writer.add_summary(summary, batch_idx) 2019-11-10 16:07:00.007157: I tensorflow/core/profiler/lib/profiler_session.cc:174] Profiler session started. 2019-11-10 16:07:00.012641: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'cupti64_100.dll'; dlerror: cupti64_100.dll not found 2019-11-10 16:07:00.018396: W tensorflow/core/profiler/lib/profiler_session.cc:182] Encountered error while starting profiler: Unavailable: CUPTI error: CUPTI could not be loaded or symbol could not be found. 2019-11-10 16:07:00.108662: I tensorflow/core/platform/default/device_tracer.cc:641] Collecting 0 kernel records, 0 memcpy records. 2019-11-10 16:07:00.114275: E tensorflow/core/platform/default/device_tracer.cc:68] CUPTI error: CUPTI could not be loaded or symbol could not be found. W1110 16:07:00.226252 11440 deprecation_wrapper.py:119] From training.py:284: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead. my setup: -Python 3.7.3 -cudatoolkit 10.0.130 -cudnn 7.6.0 -tensorflow 1.14.0 -tensorflow-gpu 1.14.0 i using Anaconda environment. please help me what should i do?
Providing the solution here (Answer Section), even though it is present in the Comment Section, for the benefit of the community. Installed nvidia cuda 10.0.130 and copy cudnn 7.6.0 to C:\Program Files has resolved the issue.