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

getting error installing deepwave #28

Closed
ADharaUTEXAS123007 opened this issue Aug 15, 2021 · 4 comments
Closed

getting error installing deepwave #28

ADharaUTEXAS123007 opened this issue Aug 15, 2021 · 4 comments

Comments

@ADharaUTEXAS123007
Copy link

USed pip install deepwave. Got the error
Collecting deepwave
Using cached deepwave-0.0.8.tar.gz (32 kB)
Requirement already satisfied: numpy in ./.julia/conda/3/lib/python3.7/site-packages (from deepwave) (1.19.1)
Requirement already satisfied: scipy in ./.julia/conda/3/lib/python3.7/site-packages (from deepwave) (1.5.2)
Requirement already satisfied: torch>=1.7.1 in ./.julia/conda/3/lib/python3.7/site-packages (from deepwave) (1.9.0)
Requirement already satisfied: typing-extensions in ./.julia/conda/3/lib/python3.7/site-packages (from torch>=1.7.1->deepwave) (3.10.0.0)
Building wheels for collected packages: deepwave
Building wheel for deepwave (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/student/adhara/.julia/conda/3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_i3g067i/deepwave/setup.py'"'"'; file='"'"'/tmp/pip-install-_i3g067i/deepwave/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-fcoxjojq
cwd: /tmp/pip-install-_i3g067i/deepwave/
Complete output (129 lines):
Warning: 'classifiers' should be a list, got type 'tuple'
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/deepwave
copying deepwave/init.py -> build/lib.linux-x86_64-3.7/deepwave
copying deepwave/utils.py -> build/lib.linux-x86_64-3.7/deepwave
copying deepwave/wavelets.py -> build/lib.linux-x86_64-3.7/deepwave
creating build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/init.py -> build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/extract.py -> build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/model.py -> build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/pad.py -> build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/propagator.py -> build/lib.linux-x86_64-3.7/deepwave/base
creating build/lib.linux-x86_64-3.7/deepwave/scalar
copying deepwave/scalar/init.py -> build/lib.linux-x86_64-3.7/deepwave/scalar
copying deepwave/scalar/scalar.py -> build/lib.linux-x86_64-3.7/deepwave/scalar
copying deepwave/scalar/scalar_born.py -> build/lib.linux-x86_64-3.7/deepwave/scalar
running build_ext
/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py:312: UserWarning:

                             !! WARNING !!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your compiler (g++ 4.8.5) may be ABI-incompatible with PyTorch!
Please use a compiler that is ABI-compatible with GCC 5.0 and above.
See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html.

See https://gist.github.com/goldsborough/d466f43e8ffc948ff92de7486c5216d6
for instructions on how to install GCC 5 or higher.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                            !! WARNING !!

warnings.warn(ABI_INCOMPATIBILITY_WARNING.format(compiler))

building 'scalar1d_cpu_iso_4_float' extension
creating /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7
creating /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave
creating /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar
/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py:287: UserWarning:

                             !! WARNING !!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your compiler (c++) is not compatible with the compiler Pytorch was
built with for this platform, which is g++ on linux. Please
use g++ to to compile your extension. Alternatively, you may
compile PyTorch from source using c++, and then you can also use
c++ to compile your extension.

See https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md for help
with compiling PyTorch from source.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                            !! WARNING !!

platform=sys.platform))

Emitting ninja build file /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/3] c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar_cpu.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o
c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar_cpu.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
c++: error: unrecognized command line option \u2018-std=c++14\u2019
[2/3] c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o
c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
c++: error: unrecognized command line option \u2018-std=c++14\u2019
[3/3] c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar_wrapper.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o
c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar_wrapper.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
c++: error: unrecognized command line option \u2018-std=c++14\u2019
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1672, in _run_ninja_build
env=env)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-_i3g067i/deepwave/setup.py", line 69, in
cmdclass={'build_ext': BuildExtension}
File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 709, in build_extensions
build_ext.build_extensions(self)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
depends=ext.depends)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 539, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1360, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1682, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

ERROR: Failed building wheel for deepwave
Running setup.py clean for deepwave
Failed to build deepwave
Installing collected packages: deepwave
Running setup.py install for deepwave ... error
ERROR: Command errored out with exit status 1:
command: /home/student/adhara/.julia/conda/3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_i3g067i/deepwave/setup.py'"'"'; file='"'"'/tmp/pip-install-_i3g067i/deepwave/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-oo1lavtr/install-record.txt --single-version-externally-managed --compile --install-headers /home/student/adhara/.julia/conda/3/include/python3.7m/deepwave
cwd: /tmp/pip-install-_i3g067i/deepwave/
Complete output (131 lines):
Warning: 'classifiers' should be a list, got type 'tuple'
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/deepwave
copying deepwave/init.py -> build/lib.linux-x86_64-3.7/deepwave
copying deepwave/utils.py -> build/lib.linux-x86_64-3.7/deepwave
copying deepwave/wavelets.py -> build/lib.linux-x86_64-3.7/deepwave
creating build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/init.py -> build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/extract.py -> build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/model.py -> build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/pad.py -> build/lib.linux-x86_64-3.7/deepwave/base
copying deepwave/base/propagator.py -> build/lib.linux-x86_64-3.7/deepwave/base
creating build/lib.linux-x86_64-3.7/deepwave/scalar
copying deepwave/scalar/init.py -> build/lib.linux-x86_64-3.7/deepwave/scalar
copying deepwave/scalar/scalar.py -> build/lib.linux-x86_64-3.7/deepwave/scalar
copying deepwave/scalar/scalar_born.py -> build/lib.linux-x86_64-3.7/deepwave/scalar
running build_ext
/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py:312: UserWarning:

                               !! WARNING !!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your compiler (g++ 4.8.5) may be ABI-incompatible with PyTorch!
Please use a compiler that is ABI-compatible with GCC 5.0 and above.
See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html.

See https://gist.github.com/goldsborough/d466f43e8ffc948ff92de7486c5216d6
for instructions on how to install GCC 5 or higher.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                              !! WARNING !!

  warnings.warn(ABI_INCOMPATIBILITY_WARNING.format(compiler))
building 'scalar1d_cpu_iso_4_float' extension
creating /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7
creating /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave
creating /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar
/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py:287: UserWarning:

                               !! WARNING !!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your compiler (c++) is not compatible with the compiler Pytorch was
built with for this platform, which is g++ on linux. Please
use g++ to to compile your extension. Alternatively, you may
compile PyTorch from source using c++, and then you can also use
c++ to compile your extension.

See https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md for help
with compiling PyTorch from source.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                              !! WARNING !!

  platform=sys.platform))
Emitting ninja build file /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/3] c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar_cpu.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o
c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar_cpu.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_cpu.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
c++: error: unrecognized command line option \u2018-std=c++14\u2019
[2/3] c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar_wrapper.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o
c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar_wrapper.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar_wrapper.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
c++: error: unrecognized command line option \u2018-std=c++14\u2019
[3/3] c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o
c++ -MMD -MF /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DDIM=1 -DTYPE=float -Ideepwave/scalar -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/TH -I/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/include/THC -I/home/student/adhara/.julia/conda/3/include/python3.7m -c -c /tmp/pip-install-_i3g067i/deepwave/deepwave/scalar/scalar.cpp -o /tmp/pip-install-_i3g067i/deepwave/build/temp.linux-x86_64-3.7/deepwave/scalar/scalar.o -Ofast -march=native -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=scalar1d_cpu_iso_4_float -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
c++: error: unrecognized command line option \u2018-std=c++14\u2019
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1672, in _run_ninja_build
    env=env)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-_i3g067i/deepwave/setup.py", line 69, in <module>
    cmdclass={'build_ext': BuildExtension}
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/install.py", line 545, in run
    self.run_command('build')
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 709, in build_extensions
    build_ext.build_extensions(self)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
    depends=ext.depends)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 539, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1360, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/home/student/adhara/.julia/conda/3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1682, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
----------------------------------------

ERROR: Command errored out with exit status 1: /home/student/adhara/.julia/conda/3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_i3g067i/deepwave/setup.py'"'"'; file='"'"'/tmp/pip-install-_i3g067i/deepwave/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-oo1lavtr/install-record.txt --single-version-externally-managed --compile --install-headers /home/student/adhara/.julia/conda/3/include/python3.7m/deepwave Check the logs for full command output.
(deepwave3) bash-4.2$

@ar4
Copy link
Owner

ar4 commented Aug 15, 2021 via email

@ar4
Copy link
Owner

ar4 commented Aug 18, 2021 via email

@ADharaUTEXAS123007
Copy link
Author

I had to install conda install gxx_linux-64 to get everything working

@ar4
Copy link
Owner

ar4 commented Aug 21, 2021 via email

@ar4 ar4 closed this as completed Jun 5, 2022
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

2 participants