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

Build fails on Arch Linux #1

Closed
robertsawko opened this issue Feb 3, 2021 · 2 comments
Closed

Build fails on Arch Linux #1

robertsawko opened this issue Feb 3, 2021 · 2 comments

Comments

@robertsawko
Copy link

Hi Ben,

Again, as part of the review checkilist I am verifying the build instructions you have given in here for Coral and here for 2decompo library. I have FFTW 3.3.9-1 installed from a package manager and it sits in /usr/{lib,include,...}.

I copy the Makefile and modify accordingly, but the build fails with:

make[2]: Entering directory '/home/rsa/documents/reviews/to_review/miquel2021/2decomp_emptyFourierFourier/examples/test2d'
mpif90 -I../../include -DDOUBLE_PREC -O3 -fcray-pointer -cpp -I/usr//include -c test2d.f90
f951: Warning: Nonexistent include directory ‘../../include’ [-Wmissing-include-dirs]
test2d.f90:3:7:

    3 |   use decomp_2d
      |       1
Fatal Error: Cannot open module file ‘decomp_2d.mod’ for reading at (1): No such file or directory
compilation terminated.

Please advise.

@BenMql
Copy link
Owner

BenMql commented Feb 3, 2021

Hi Robert,
I have identified the issue: an 'include' folder should be created at the root of the 2decomp library. I modified the 2decomp installation instructions accordingly.
Let me know if the problem still exists.

@robertsawko
Copy link
Author

Yes. Thanks. All compiled now.

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

2 participants