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

Error pip installing horvod on aws emr-5.16.0 via bootstrap action #942

Closed
YashSinha1996 opened this issue Mar 21, 2019 · 2 comments
Closed

Comments

@YashSinha1996
Copy link

YashSinha1996 commented Mar 21, 2019

Environment:

  1. Framework: (TensorFlow, Keras, PyTorch, MXNet)
  2. Framework version:
  3. Horovod version: 0.16.1
  4. MPI version: 3.1.2
  5. CUDA version: None
  6. NCCL version:
  7. Python version: 2.7
  8. OS and version: CentOS

Checklist:

  1. Did you search issues to find if somebody asked this question before? Yes
  2. If your question is about hang, did you read this doc?
  3. If your question is about docker, did you read this doc?

Bug report:
Got an error trying to install horovod on AWS EMR machines via bootstrap actions.

Bootstrap action script: boostrap_horovod.sh.txt
Error: stderr.txt
Output: stdout.txt

Main Errors:

....
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c++11 -fPIC -O2 -Wall -mf16c -mavx -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/test_compile/test_cpp_flags.cc -o build/temp.linux-x86_64-2.7/test_compile/test_cpp_flags.
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c++11 -fPIC -O2 -Wall -stdlib=libc++ -mf16c -mavx -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/test_compile/test_cpp_flags.cc -o build/temp.linux-x86_64-2.7/test_compile/test_cpp_flags.
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c++11 -fPIC -O2 -Wall -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/test_compile/test_cpp_flags.cc -o build/temp.linux-x86_64-2.7/test_compile/test_cpp_flags.
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c++11 -fPIC -O2 -Wall -stdlib=libc++ -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/test_compile/test_cpp_flags.cc -o build/temp.linux-x86_64-2.7/test_compile/test_cpp_flags.o
gcc: error: unrecognized command line option ‘-stdlib=
error: Unable to determine C++ compilation flags (see error above).
@YashSinha1996 YashSinha1996 changed the title Error pip installing horvod on aws emr-5.16.0 Error pip installing horvod on aws emr-5.16.0 via bootstrap action Mar 21, 2019
@alsrgv
Copy link
Member

alsrgv commented Mar 27, 2019

@YashSinha1996, it looks like gcc installation is incomplete. Can you try installing gcc/g++ 4.8 or gcc/g++ 4.9?

@alsrgv alsrgv added question and removed bug labels Mar 27, 2019
@stale
Copy link

stale bot commented Nov 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 7, 2020
@stale stale bot closed this as completed Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants