Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fortran compilation - alignement of symbol issue #1

Open
thomasgillis opened this issue Jul 24, 2019 · 0 comments
Open

Fortran compilation - alignement of symbol issue #1

thomasgillis opened this issue Jul 24, 2019 · 0 comments

Comments

@thomasgillis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant