qmlcode / qml

QML: Quantum Machine Learning
MIT License
197 stars 84 forks source link

Installation with Intel compiler fails #134

Open ff781 opened 3 years ago

ff781 commented 3 years ago

I have Intel Parallel Studio XE installed, and with it comes the Fortran Compiler 19.1 Update 3, so using the intel install, I still get File "C:\Python\Lib\site-packages\numpy\distutils\fcompiler\__init__.py", line 352, in find_executables raise CompilerNotFound('%s: f90 nor f77' % ctype) numpy.distutils.fcompiler.CompilerNotFound: intelem: f90 nor f77

What am I doing wrong?

larsbratholm commented 3 years ago

Linking libraries correctly on Windows is troublesome and this is likely an issue with your environmental variables, where F2PY can't find your compilers. We don't have much experience with compiling on Windows, so this might be a question better answered on stackoverflow or similar sites. But for starters, make sure that ifort is available on your command line, and that you're explicitly setting the Intel compilers (http://www.qmlcode.org/installation.html#installing-via-with-intel-compilers).