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

Correct bug in compilation of 'test' when using coarrays$ #9

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

lmsteffan
Copy link
Contributor

With the initial meson.build of "test"; compilation of the test app fails with the following error

[40/42] Compiling Fortran object test/testapp.p/testapp.f90.o
FAILED: test/testapp.p/testapp.f90.o 
gfortran -Itest/testapp.p -Itest -I../test -Isubprojects/fortuno/libfortuno.so.0.1.0.p -Isubprojects/fortuno-coarray/libfortuno-coarray.so.0.1.0.p -Isrc/libbugcookiecutter.so.0.1.0.p -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -std=f2018 -O0 -g -Jtest/testapp.p -o test/testapp.p/testapp.f90.o -c ../test/testapp.f90
../test/testapp.f90:2:15:

    2 | program testapp
      |               1
Fatal Error: Coarrays disabled at (1), use ‘-fcoarray=’ to enable

I have just copied the missing options from the "app" meson.build

Copy link
Member

@aradi aradi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, appreciated.

@aradi aradi merged commit 2387be0 into fortuno-repos:main Sep 2, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants