大規模な IBM Power8 マシンにアクセスでき、そこに TensorFlow をインストールしたいと考えています。当然、クイック pip インストールを試みましたが、失敗しました。
sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.6.0-cp27-none-linux_x86_64.whl
tensorflow-0.6.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
Storing debug log for failure in /home/pv/.pip/pip.log
残念ながら、pip.log には有用な情報がほとんど含まれていません。
/usr/bin/pip run on Sat Feb 6 17:29:34 2016
tensorflow-0.6.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 283, in run
InstallRequirement.from_line(name, None))
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 168, in from_line
raise UnsupportedWheel("%s is not a supported wheel on this platform." % wheel.filename)
UnsupportedWheel: tensorflow-0.6.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
次に試したのは、TensorFlow をソースからビルドすることでした。無駄に、私の試みはすべて、cannot execute binary file: Exec format error
次のようなメッセージで終了しました。
/usr/local/bin/bazel: line 86: /usr/local/lib/bazel/bin/bazel-real: cannot execute binary file: Exec format error
そこで、Bazel をソースからコンパイルしようとしましたが、同様のハード エラーが発生しました。
me@machine:~/bazel-0.1.5$ ./compile.sh
INFO: You can skip this first step by providing a path to the bazel binary as second argument:
INFO: ./compile.sh compile /path/to/bazel
Building Bazel from scratch.
Compiling Java stubs for protocol buffers...
third_party/protobuf/protoc-linux-x86_32.exe -Isrc/main/protobuf/ --java_out=/tmp/bazel.T9C83cNa/src src/main/protobuf/android_studio_ide_info.proto
scripts/bootstrap/buildenv.sh: line 63: third_party/protobuf/protoc-linux-x86_32.exe: cannot execute binary file: Exec format error
pv@sardonis:~/bazel-0.1.5$ ^C
ただし、Power8 マシンでソースから Protobuf コンパイラをビルドする方法を説明するこのリンクhttp://www.cnblogs.com/rodenpark/p/5007744.htmlを見つけました。これは機能し、彼の別のトピックhttp://www.cnblogs.com/rodenpark/p/5007846.htmlで説明されている変更を行った後、少なくともコンパイル プロセスを開始することができました。しかし、今では大量のエラーが発生してクラッシュしますが、それ自体はそれほど深刻ではないように見えますが、膨大な量のエラーが本当に絶望的に見えます。参考のためにhttp://pastebin.com/KjkseaGxに投稿しました。
だから… インスピレーションが不足しています。TensorFlow を Power8 マシンで動作させるにはどうすればよいですか?