sdsc / p3dfft.3

P3DFFT++ (a.k.a. P3DFFT v. 3) is a new generation of P3DFFT library that aims to provide a comprehensive framework for simulating multiscale phenomena. It takes the essence of P3DFFT further by creating an extensible, modular structure uniquely adaptable to a greater range of use cases. The users can specify in detail what kind of data layout they would like to use, both in terms of local memory ordering and the processor layout. Just like P3DFFT, P3DFFT++ is a distributed software package, using MPI as the primary method for interprocessor commubnication. It supports 1D, 2D and 3D (to come soon) domain decomposition schemes. As P3DFFT, P3DFFT++ also relies on lower-level libraries, for example FFTW to perform optimized 1D FFTs. Unlike P3DFFT, which was written in Fortran90, P3DFFT++ is written in C++. Interfaces are provided for C and Fortran. To learn about using the code the user is encouraged to study example programs in C++, C and FORTRAN subdirectories. Please e-mail Dmitry Pekurovsky (dmitry@sdsc.edu) for any questions or suggestions. Software contributions are welcome, assuming they follow the main ideas of the framework.

Home Page:http://www.p3dfft.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fortran compilation - alignement of symbol issue

thomasgillis opened this issue · comments

Dear developers,

I encountered the following warning during the link step of the samples in fortran:

mpif90 -I../../include -I/vagrant/soft/fftw-3.3.8-intel_2019.04/include  -g   -o test1D_cos_f test1D_cos.o wrap.o p3dfft++.o -lm ../../build/libp3dfft.3.a -L/vagrant/soft/fftw-3.3.8-intel_2019.04/lib -lfftw3 -lfftw3f  -lstdc++ 
ld: Warning: alignment 4 of symbol `P3DFFT_R2CFFT_D' in ../../build/libp3dfft.3.a(init.o) is smaller than 8 in p3dfft++.o
ld: Warning: alignment 4 of symbol `P3DFFT_C2RFFT_D' in ../../build/libp3dfft.3.a(init.o) is smaller than 8 in p3dfft++.o
ld: Warning: alignment 4 of symbol `P3DFFT_CFFT_FORWARD_D' in ../../build/libp3dfft.3.a(init.o) is smaller than 8 in p3dfft++.o
ld: Warning: alignment 4 of symbol `P3DFFT_CFFT_BACKWARD_D' in ../../build/libp3dfft.3.a(init.o) is smaller than 8 in p3dfft++.o
ld: Warning: alignment 4 of symbol `P3DFFT_DCT1_REAL_D' in ../../build/libp3dfft.3.a(init.o) is smaller than 8 in p3dfft++.o
ld: Warning: alignment 4 of symbol `P3DFFT_DST1_REAL_D' in ../../build/libp3dfft.3.a(init.o) is smaller than 8 in p3dfft++.o
ld: Warning: alignment 4 of symbol `P3DFFT_DCT1_COMPLEX_D' in ../../build/libp3dfft.3.a(init.o) is smaller than 8 in p3dfft++.o
ld: Warning: alignment 4 of symbol `P3DFFT_DST1_COMPLEX_D' in ../../build/libp3dfft.3.a(init.o) is smaller than 8 in p3dfft++.o

The compilers I use are the intel 2910.04 for c,c++ and fortran.

mpif90 --version
ifort (IFORT) 19.0.4.243 20190416
Copyright (C) 1985-2019 Intel Corporation.  All rights reserved.

mpicxx --version
icpc (ICC) 19.0.4.243 20190416
Copyright (C) 1985-2019 Intel Corporation.  All rights reserved.

Do you have an idea of how to solve it?

Thank you very much for your help.
Best,
Thomas