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

p3dfft++ and p3dfft C header files have the same name #1

Open
luszczek opened this issue Oct 8, 2021 · 0 comments
Open

p3dfft++ and p3dfft C header files have the same name #1

luszczek opened this issue Oct 8, 2021 · 0 comments

Comments

@luszczek
Copy link
Contributor

luszczek commented Oct 8, 2021

p3dfft++ has p3dfft.3/include/p3dfft.h and p3dfft has p3dfft/include/p3dfft.h. The former is the declaration file for the implementation that's safe for use by a C compiler. The latter it is a set of wrapper that needs config.h to wrap Fortran implementation based on the compiler used. This means that a file with a line:

#include <p3dfft.h>

could be using either library depending on the environment settings and compiler flags.

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