HiFiLES / HiFiLES-solver

High Fidelity Large Eddy Simulation Solver
Other
171 stars 131 forks source link

Can I use MKL in the BLAS option ? #139

Open gaoyanfei opened 7 years ago

gaoyanfei commented 7 years ago

I saw these words in the code

#if defined _MKL_BLAS #include "mkl.h" #include "mkl_spblas.h" #endif

But in the configure_run.sh, only ATLAS, STANDARD, ACCLERATE are accepted. I tried to add MKL include and lib, but it fails.

mlopez14 commented 7 years ago

Yes, you should be able to use the MKL libraries using a custom Makefile.

I suggest you take a look at the sample Makefiles we have and modify one of them to include the details of your MKL installation. On Sat, Mar 18, 2017 at 7:00 AM gaoyanfei notifications@github.com wrote:

I saw these words in the code

if defined _MKL_BLAS #include "mkl.h" #include "mkl_spblas.h" #endif

But in the configure_run.sh, only ATLAS, STANDARD, ACCLERATE are accepted. I tried to add MKL include and lib, but it fails.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HiFiLES/HiFiLES-solver/issues/139, or mute the thread https://github.com/notifications/unsubscribe-auth/AFmj6wPK6iVbz3NiWvF-y6n7-fohjXYJks5rm-OFgaJpZM4MhbIN .

venky187 commented 7 years ago

Hi all,

I tried compiling with MKL library and I am facing trouble running the code. I maybe wrong but I think the code is not compatible with MKL. Is anyone else facing this issue? I have attached log files from both ATLAS library and MKL library for the flatplate testcase. Please let know if anything needs to be done.

log_ATLAS.txt log_MKL.txt