Alignment of gfortran allocated arrays

Thomas Koenig tkoenig@alice-dsl.net
Tue Aug 14 23:25:00 GMT 2007


On Tue, 2007-08-14 at 16:33 +0100, John Travers wrote:

> Anyway, I'm trying to ensure that arrays I allocate in gfortran are 16
> byte aligned for use with
> fftw

We could use posix_memalign() on systems where it is supported,
and use free() to free it again.



More information about the Fortran mailing list