public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] TensorFlow
@ 2019-02-12 20:09 Alan Grimes
  2019-02-14  7:48 ` Nils Freydank
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Grimes @ 2019-02-12 20:09 UTC (permalink / raw
  To: gentoo-user

I wanna take a whack at an AI challenge,

https://www.aicrowd.com/challenges/unity-obstacle-tower-challenge

Ok, so I'm like
"emerge tensorflow"

It has been about two weeks since I've sync'd so this may or may not
still be valid, updating is an extremely risky operation on my machine
so I'm on a once every 3-6 months schedule...

current state:

#############
tortoise /home/atg/source # emerge tensorflow

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-libs/google-cloud-cpp-0.2.0-r1::gentoo  USE="test"
0 KiB
[ebuild  N     ] sci-visualization/tensorboard-1.12.1::gentoo 
PYTHON_TARGETS="python2_7 python3_6 -python3_5" 0 KiB
[ebuild  N     ] sci-libs/tensorflow-1.12.0::gentoo  USE="cuda python
-mpi" CPU_FLAGS_X86="avx avx2 sse sse2 sse3 sse4_1 sse4_2 -fma3 -fma4"
PYTHON_TARGETS="python2_7 python3_6 -python3_5" 0 KiB
[......]
[ 15%] Linking CXX executable internal_throw_delegate_test
cd
/var/tmp/portage/net-libs/google-cloud-cpp-0.2.0-r1/work/google-cloud-cpp-0.2.0_build/google/cloud
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/internal_throw_delegate_test.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -march=native -pipe -O3  -Wl,-O1
-Wl,--as-needed
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o 
-o internal_throw_delegate_test
-Wl,-rpath,/var/tmp/portage/net-libs/google-cloud-cpp-0.2.0-r1/work/google-cloud-cpp-0.2.0_build/google/cloud:/usr/local/lib64
libgoogle_cloud_cpp_testing.so libgoogle_cloud_cpp_common.so.0.1.0
/usr/lib64/libgmock_main.so /usr/lib64/libgmock.so
/usr/local/lib64/libgtest.so -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI38ThrowDelegateTest_InvalidArgument_Test[_ZTI38ThrowDelegateTest_InvalidArgument_Test]+0x10):
undefined reference to `typeinfo for testing::Test'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI33ThrowDelegateTest_RangeError_Test[_ZTI33ThrowDelegateTest_RangeError_Test]+0x10):
undefined reference to `typeinfo for testing::Test'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI35ThrowDelegateTest_RuntimeError_Test[_ZTI35ThrowDelegateTest_RuntimeError_Test]+0x10):
undefined reference to `typeinfo for testing::Test'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI33ThrowDelegateTest_LogicError_Test[_ZTI33ThrowDelegateTest_LogicError_Test]+0x10):
undefined reference to `typeinfo for testing::Test'
collect2: error: ld returned 1 exit status
make[2]: ***
[google/cloud/CMakeFiles/internal_throw_delegate_test.dir/build.make:89:
google/cloud/internal_throw_delegate_test] Error 1
make[2]: Leaving directory
'/var/tmp/portage/net-libs/google-cloud-cpp-0.2.0-r1/work/google-cloud-cpp-0.2.0_build'
make[1]: *** [CMakeFiles/Makefile2:221:
google/cloud/CMakeFiles/internal_throw_delegate_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
####

I've tried toggling the "test" flag on the package, no change. Would
trying to get Nvidia's containers working be a better way to waste my
time on this? Or should I give up and use google's cloud service? =\

-- 
Please report bounces from this address to atg@numentics.com

Powers are not rights.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] TensorFlow
  2019-02-12 20:09 [gentoo-user] TensorFlow Alan Grimes
@ 2019-02-14  7:48 ` Nils Freydank
  0 siblings, 0 replies; 2+ messages in thread
From: Nils Freydank @ 2019-02-14  7:48 UTC (permalink / raw
  To: gentoo-user

Hi Alan,

Am Dienstag, 12. Februar 2019, 21:09:08 CET schrieb Alan Grimes:
> [...]
> It has been about two weeks since I've sync'd so this may or may not
> still be valid, updating is an extremely risky operation on my machine
> so I'm on a once every 3-6 months schedule...
what is risky about it at your machine?

You have at least three different ways to check for updates if you really 
can't upgrade on a regular basis:
1. sync your portage tree, but do not install updates (yet)
2. check online on gentoo.org or inside the mirror at github.com
   https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-libs/tensorflow
3. check the packages page:
   https://packages.gentoo.org/packages/sci-libs/tensorflow

With regards to the persistence of bugs you should consult bugs.gentoo.org 
and search for your specific issue/bug.

> current state:
> [...]
I’m sorry I can't help with that linker problem, but at least I can say 
that tensorflow-1.13.0_rc1 built here without errors (and seems to run 
aswell).
But watch out, you need bazel-0.20.0 (see bug https://bugs.gentoo.org/
677280 for details).


-- 
GPG fingerprint: '00EF D31F 1B60 D5DB ADB8 31C1 C0EC E696 0E54 475B'
Nils Freydank




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-14  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-12 20:09 [gentoo-user] TensorFlow Alan Grimes
2019-02-14  7:48 ` Nils Freydank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox