tmolteno / necpp

NEC2++ is a C++ rewrite of the Numerical Electromagnetics Code (NEC-2) with many new features like automatic error detection when you specify the structure incorrectly and much faster execution. Nec2++ can analyse radiating as well as scattering properties of structures. The simulation engine in Nec2++ is compiled into a library for easy integration into automatic antenna design systems or GUI tools. Examples are included for using Nec2++ from C/C++, Ruby and Python.
http://elec.otago.ac.nz/w/index.php/Necpp
GNU General Public License v2.0
234 stars 64 forks source link

Use LAPACKE C bindings instead of Atlas specific bindings #75

Open StefanBruens opened 1 year ago

StefanBruens commented 1 year ago

According to: http://nicolas.limare.net/pro/notes/2014/10/31_cblas_clapack_lapacke/

LAPACKE is relatively recent (proposed in 2008, accepted in 2010) but it's the closest we have to a native C source-level interface to the original Fortran API. LAPACKE is to LAPACK what CBLAS is to BLAS, with this interface: ... This one is standardized, as mentioned on Netlib: "Standard C language APIs for LAPACK".

Netlib Lapack is also available on significantly more distributions, compare Atlas:

atlas

and Lapack:

lapack

This also allows to use OpenBLAS or Intel MKL as Lapack/Blas implementation without any further work.

StefanBruens commented 1 year ago

While there is no dedicated autotool support for lapacke, it provides a standard pkgconfig file which can be used.