Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
container_recepies
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MLC
container_recepies
Commits
1130013b
Commit
1130013b
authored
Mar 21, 2018
by
Andreas Gocht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
final fixes for tf
parent
9275c858
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
18 deletions
+5
-18
ubuntu-openmpi.def
ubuntu-openmpi.def
+5
-18
No files found.
ubuntu-openmpi.def
View file @
1130013b
...
...
@@ -188,9 +188,7 @@ Namespace: amd64
if [ ! -d tensorflow ]; then
git clone https://github.com/tensorflow/tensorflow
fi
#TF
cd tensorflow
git checkout v1.6.0
...
...
@@ -217,21 +215,10 @@ Namespace: amd64
./configure
#bazel build --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
chmod -R a+rwX ./
rm -r bazel-bin bazel-genfiles bazel-tensorflow bazel-out bazel-testlogs
#pip3 install /tmp/tensorflow_pkg/*.whl
# https://gist.github.com/PatWie/0c915d5be59a518f934392219ca65c3d
# export TF_NEED_CUDA=1
# export TF_NEED_MPI=1
# TODO CUDNN
#/apps/bazel/output/bazel
bazel build --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
pip3 install /tmp/tensorflow_pkg/*.whl
fi
%environment
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64:/apps/tensorflow-dep/cuda/lib64
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment