Page 1 of 1

Wishlist for build-system features

Posted: Mon Feb 10, 2014 9:55 am
by pouillon
Hi,

As I am currently prepraring a major upgrade of the build system, I would like to give you all the opportunity to let me know about the new features you wish to see in the upcoming version, those you consider that should be removed, and those which should be modified. Any kind of comment regarding the build system is welcome as well, in particular if it is about its usability.

I will receive your wishlists in this thread until Thursday, March 6th, 2014. After that date, I will lock the topic and send you a summary of what will be implemented.

Re: Wishlist for build-system features

Posted: Mon Feb 10, 2014 8:38 pm
by gmatteo
HI Yann,

I think that these options are obsolete and should be scheduled for removal in abinit8:

/* Define to 1 if you want to use the FFTW2 library. */
/* #undef HAVE_FFT_FFTW2 */

FFTW2 is very old and not supported anymore. Moreover the interface available in ccfft.F90
supports only complex-to-complex FFTs done on the full box. The interface provided by m_fftw3.F90
is much more flexible and optimized (zero-padded, complex <--> real, multiple transforms , istwfk, OMP and MPI)
We should focus on FFTW3 as FFTW2 has little hope to be faster than the algorithms that are already available
(Goedecker's library, FFTW3, MKL-DFTI).
We could decide to maintain the FFTW2 interface only If someone volunteers to implement a new interface
that supports **all** the features that are already available in the other FFT libs.

/* Define to 1 if you want to use the HP MLIB library for FFT. */
/* #undef HAVE_FFT_MLIB */
Same discussion as above

/* Define to 1 if you want to use the SGIMATH library for FFT. */
/* #undef HAVE_FFT_SGIMATH */

Save discussion as above


/* Define to 1 if you are using XLF. */
/* #undef HAVE_MPI_INCLUDED_ONCE */

We don't need this trick anymore. Now m_xmpi.F90 uses include files
to include the code needed for the different MPI wrappers. This CPP option can be safely removed.

Re: Wishlist for build-system features

Posted: Tue Feb 18, 2014 6:17 pm
by pouillon
Thanks for the confirmations. This is now scheduled for the build-system rewrite.

Re: Wishlist for build-system features

Posted: Fri Mar 21, 2014 12:34 pm
by pouillon
FYI: the features of the future build system of Abinit are now frozen. I'll start the rewrite at the beginning of April and document it on the Abinit Wiki at the same time.