Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build for Summit TensorFlow Dockerfile.python3 fails #3

Open
markcoletti opened this issue May 21, 2018 · 0 comments
Open

Build for Summit TensorFlow Dockerfile.python3 fails #3

markcoletti opened this issue May 21, 2018 · 0 comments

Comments

@markcoletti
Copy link

When attempting to build Dockerfile.python3 on Summit, I get the following errors:

    building '_cffi_backend' extension
    creating build/temp.linux-ppc64le-3.4
    creating build/temp.linux-ppc64le-3.4/c
    gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.4m -c c/_cffi_backend.c -o build/temp.linux-ppc64le-3.4/c/_cffi_backend.o
    c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
     #include <ffi.h>
                     ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-1n_fkums/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-cvou3obo/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-1n_fkums/cffi/
The command '/bin/sh -c ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/libcuda.so.1 &&     ldconfig /usr/local/cuda/lib64/stubs &&     pip3 install horovod &&     ldconfig' returned a non-zero code: 1
Build Failed
[INFO] Finished streaming build
[ERROR] Container Builder exception encountered: Build failed with exit code 1

I suspect there is a missing dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant