Open Echo2Lee opened 4 years ago
Looks like you're using gnu compilers, not intel. Have you tried following the documentation on how to install with intel compilers? http://www.qmlcode.org/installation.html#installing-via-with-intel-compilers
ERROR: Command errored out with exit status 1: /opt/python3.7/Python-3.7.1/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uiwzn_0m/qml/setup.py'"'"'; file='"'"'/tmp/pip-install-uiwzn_0m/qml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' build --compiler=intelem --fcompiler=intelem install --record /tmp/pip-record-qh2_8gux/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/jin/.local/include/python3.7m/qml Check the logs for full command output.
Lars Andersen Bratholm notifications@github.com于2020年8月11日 周二20:47写道:
You're using gnu compilers, not intel. Have you tried following the documentation on how to install with intel compilers? http://www.qmlcode.org/installation.html#installing-via-with-intel-compilers
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qmlcode/qml/issues/133#issuecomment-671897595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRKFFHEDD3CBF44FWNVHA3SAEVU7ANCNFSM4P25LIYQ .
[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 20/08/11 下午08:52:09
Seems to be an issue with the fortran compilers and/or numpy. Do you have the per-requisite packages installed? Have you loaded the intel compiler modules on the computer? You may want to set the fortran compiler environmental variables to make sure that the correct compiler is used:
export FC=ifort export F90=ifort
I have installed the pre-requisite packages. And I have loaded the Intel compiler modules on the computer. I can not understand the last sentence about the environment. Why set export FC=ifort and F90=ifort? I set the fortran compiler environment like this:
PATH=$PATH:$HOME/.local/bin:$HOME/bin:/usr/local/bin LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++
export PATH export LD_LIBRARY_PATH export CC export CXX
[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 20/08/11 下午09:04:31
Lars Andersen Bratholm notifications@github.com 于2020年8月11日周二 下午8:58写道:
Seems to be an issue with the fortran compilers and/or numpy. Do you have the per-requisite packages installed? Have you loaded the intel compiler modules on the computer? You may want to set the fortran compiler environmental variables to make sure that the correct compiler is used:
export FC=ifort export F90=ifort
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qmlcode/qml/issues/133#issuecomment-671901769, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRKFFC5M4EBZVRK6WA3CG3SAEW5FANCNFSM4P25LIYQ .
And I just tried to set "export FC=ifort export F90=ifort" in the environment. And the same error occurred. I tried to install qml for more than 3 days. I really need help.
[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 20/08/11 下午09:08:31
Lars Andersen Bratholm notifications@github.com 于2020年8月11日周二 下午8:58写道:
Seems to be an issue with the fortran compilers and/or numpy. Do you have the per-requisite packages installed? Have you loaded the intel compiler modules on the computer? You may want to set the fortran compiler environmental variables to make sure that the correct compiler is used:
export FC=ifort export F90=ifort
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qmlcode/qml/issues/133#issuecomment-671901769, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRKFFC5M4EBZVRK6WA3CG3SAEW5FANCNFSM4P25LIYQ .
CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++
are gnu c and c++ compilers. If you're trying to compile with intel, then these shouldn't be set to gnu. As a first step, it might be simpler to not load the intel compilers and try to pip install it with the default (gnu) compilers.
It's difficult for us to debug an error with your environment that is unrelated to qml. If there's a server admin responsible for the computer in question, it might be worthwhile requesting assistance from them?
Thanks a lot. I will try it. Have a great day!
Lars Andersen Bratholm notifications@github.com于2020年8月11日 周二21:23写道:
CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++
are gnu c and c++ compilers. If you're trying to compile with intel, then these shouldn't be set to gnu. As a first step, it might be simpler to not load the intel compilers and try to pip install it with the default (gnu) compilers.
It's difficult for us to debug an error with your environment that is unrelated to qml. If there's a server admin responsible for the computer in question, it might be worthwhile requesting assistance from them?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qmlcode/qml/issues/133#issuecomment-671913595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRKFFFBJM44VFSSICVOJWDSAEZ2NANCNFSM4P25LIYQ .
I try to install qml in the centos machine with intel 2017/2020 compiler and python3.
Then error as below: raise CompilerNotFound() numpy.distutils.fcompiler.CompilerNotFound And I also tried to install with default: error as below: /tmp/ccC5eEBN.s: Assembler messages: /tmp/ccC5eEBN.s:422: Error: suffix or operands invalid for
vpcmpgtq' /tmp/ccC5eEBN.s:423: Error: suffix or operands invalid for
vpcmpgtq' /tmp/ccC5eEBN.s:424: Error: suffix or operands invalid forvpand' /tmp/ccC5eEBN.s:425: Error: suffix or operands invalid for
vpand' /tmp/ccC5eEBN.s:426: Error: no such instruction:vperm2i128 $32,%ymm1,%ymm0,%ymm2' /tmp/ccC5eEBN.s:427: Error: no such instruction:
vperm2i128 $49,%ymm1,%ymm0,%ymm0' /tmp/ccC5eEBN.s:428: Error: suffix or operands invalid forvpshufd' /tmp/ccC5eEBN.s:429: Error: suffix or operands invalid for
vpshufd' /tmp/ccC5eEBN.s:430: Error: suffix or operands invalid forvpunpcklqdq' /tmp/ccC5eEBN.s:431: Error: suffix or operands invalid for
vpaddd' /tmp/ccC5eEBN.s:436: Error: no such instruction:vperm2i128 $33,%ymm1,%ymm4,%ymm0' /tmp/ccC5eEBN.s:438: Error: suffix or operands invalid for
vpaddd' /tmp/ccC5eEBN.s:440: Error: no such instruction: `vperm2i128 $33,%ymm1,%ymm0,%ymm2' error: Command "gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/netcdf/include -fPIC -Ibuild/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7 -I/opt/python3.7/Python-3.7.1/lib/python3.7/site-packages/numpy/core/include -I/opt/python3.7/Python-3.7.1/include/python3.7m -c build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/fortranobject.c -o build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/fortranobject.o -MMD -MF build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/fortranobject.o.d -O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp" failed with exit status 1.I really need help! Thanks a lot!