x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
My AWS Ubuntu Flask server has the following output when executing
pip3 install infostop
The server is now not responding to any inputs and any attempt to SSH times out.
The server is running the following install of Ubuntu:
I was able to install the package successfully (via pip3) on:
Here is the output from the Flask server:
headers/src/core/InfomapOptimizer.h:942:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas]
pragma omp critical (moveUpdate)
x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-7/README.Bugs for instructions. error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
Failed building wheel for infomap Running setup.py clean for infomap Successfully built infostop Failed to build infomap Installing collected packages: MarkupSafe, jinja2, branca, numpy, urllib3, idna, charset-normalizer, certifi, requests, folium, infomap, pybind11, joblib, scipy, threadpoolctl, scikit-learn, zipp, importlib-resources, tqdm, infostop Running setup.py install for infomap ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-9awvqi_s/infomap/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-l1ti39kz-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build running build_py creating build creating build/lib.linux-x86_64-3.6 copying infomap.py -> build/lib.linux-x86_64-3.6 copying package_meta.py -> build/lib.linux-x86_64-3.6 running egg_info writing infomap.egg-info/PKG-INFO writing dependency_links to infomap.egg-info/dependency_links.txt writing entry points to infomap.egg-info/entry_points.txt writing top-level names to infomap.egg-info/top_level.txt reading manifest file 'infomap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'infomap.egg-info/SOURCES.txt' running build_ext building '_infomap' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src creating build/temp.linux-x86_64-3.6/src/utils creating build/temp.linux-x86_64-3.6/src/io creating build/temp.linux-x86_64-3.6/src/core x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iheaders -Iheaders/src -Iheaders/src/core -Iheaders/src/io -Iheaders/src/utils -I/usr/include/python3.6m -c ./infomap_wrap.cpp -o build/temp.linux-x86_64-3.6/./infomap_wrap.o -DAS_LIB -DPYTHON -Wno-deprecated-register -std=c++14 In file included from headers/src/core/InfomapCore.h:18:0, from headers/src/Infomap.h:13, from ./infomap_wrap.cpp:2884: headers/src/core/InfomapOptimizer.h:782:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for schedule(dynamic) // Use dynamic scheduling as some threads could end early
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-9awvqi_s/infomap/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-l1ti39kz-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-9awvqi_s/infomap/