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

Problems with installation #133

Open
Echo2Lee opened this issue Aug 11, 2020 · 7 comments
Open

Problems with installation #133

Echo2Lee opened this issue Aug 11, 2020 · 7 comments

Comments

@Echo2Lee
Copy link

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 for vpand' /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 for vpshufd' /tmp/ccC5eEBN.s:429: Error: suffix or operands invalid for vpshufd'
/tmp/ccC5eEBN.s:430: Error: suffix or operands invalid for vpunpcklqdq' /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!

@larsbratholm
Copy link
Collaborator

larsbratholm commented Aug 11, 2020

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

@Echo2Lee
Copy link
Author

Echo2Lee commented Aug 11, 2020 via email

@larsbratholm
Copy link
Collaborator

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

@Echo2Lee
Copy link
Author

Echo2Lee commented Aug 11, 2020 via email

@Echo2Lee
Copy link
Author

Echo2Lee commented Aug 11, 2020 via email

@larsbratholm
Copy link
Collaborator

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?

@Echo2Lee
Copy link
Author

Echo2Lee commented Aug 11, 2020 via email

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