HomerReid / scuff-em

A comprehensive and full-featured computational physics suite for boundary-element analysis of electromagnetic scattering, fluctuation-induced phenomena (Casimir forces and radiative heat transfer), nanophotonics, RF device engineering, electrostatics, and more. Includes a core library with C++ and python APIs as well as many command-line applications.
http://www.homerreid.com/scuff-em
GNU General Public License v2.0
128 stars 51 forks source link

as for the intel MKL lapack #170

Open xinchenee opened 6 years ago

xinchenee commented 6 years ago

I compile the scuffem with 2016 intel MKL SUCCESSFULLY.

However, when I tried PlateWithHole case, the c++ interface case, I got Intel MKL ERROR: Parameter 6 was incorrect on entry to ZLASWP. I wonder if anyone successfully used MKL for the scuffem c++ interface?

Should I use the plain lapack?

thanks,

Xin

xinchenee commented 6 years ago

it works now at least for openmp.

HomerReid commented 6 years ago

People have definitely successfully compiled and run SCUFF-EM with the MKL before. If you have discovered a particular section of the code that fails with MKL but succeeds with other BLAS packages (did you mean openblas when you said openmp?), it would be helpful if you could track it down a little further, i.e. build and run with debugging support and identify the line of SCUFF-EM code that triggers the issue.

xinchenee commented 6 years ago

Thanks, Reid! It works now for us. But is it possible to parallelize scuffem for a cpu cluster using intel mpi?

Your help is very much appreciated.

Cheers,

Xin

GuoqiMa commented 2 years ago

I compile the scuffem with 2016 intel MKL SUCCESSFULLY.

However, when I tried PlateWithHole case, the c++ interface case, I got Intel MKL ERROR: Parameter 6 was incorrect on entry to ZLASWP. I wonder if anyone successfully used MKL for the scuffem c++ interface?

Should I use the plain lapack?

thanks,

Xin

HI,I also meet this error, did you solved? below is my link, BTW how did you link LAPACK?

mpiifort -o $filename -O2 -xHost -nofor-main -qopenmp $filename.o -lstdc++ -lstrumpack -lmpi -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lparmetis -lmetis -lptscotch -lptscotcherr -lscotch