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