It4innovations / espreso

release repository for ESPRESO
Other
20 stars 7 forks source link

Help for compilation #1

Open cricrou1987 opened 4 years ago

cricrou1987 commented 4 years ago

Hi everybody,

I tried to compile espreso but I still have few errors that I am unable to solve (r9602213fa78d9da4b745759804bd2ebb5734f5ae).

The first one is about the MKL library : ../src/wrappers/mkl/w.mkl.blas.inspector.executor.cpp(166): error: identifier "mkl_sparse_order" is undefined checkStatus(mkl_sparse_order(C->inner->inspector));

I only tried with icc (ICC) 17.0.4 20170411, is it a too old version ?

The second one is:

../src/mesh/preprocessing/meshpreprocessing.cpp(341): error: no suitable user-defined conversion from "lambda [](espreso::Element )->espreso::serializededata<int, int> " to "std::function<espreso::serializededata<long, long> (espreso::Element )>" exists [] (Element *e) { return e->faces; },

I tried to compile with both g++ and icpc (with c++11 and c++14), but for the moment I am stuck. Any idea ?

Best regards and thank you in advance, Christophe

mec059 commented 4 years ago

Dear Christophe,

Intel 17 is not supported. Currently tested compilers are intel 2018.4 or gcc 7.3. Newest compilers should be also ok.

What version of gcc and Intel MKL do you have?

Best regards, Ondrej