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

make -j build not working for ip-5.1.0 #265

Open
edwardhartnett opened this issue Dec 18, 2024 · 2 comments
Open

make -j build not working for ip-5.1.0 #265

edwardhartnett opened this issue Dec 18, 2024 · 2 comments
Assignees
Labels
build Building software is complicated!

Comments

@edwardhartnett
Copy link
Contributor

When I do a make -j on the 5.1.0 release, I see:

[ 71%] Building Fortran object tests/CMakeFiles/test_splat_4.dir/test_splat.F90.o
/home/ed/Downloads/NCEPLIBS-ip-5.1.0/tests/interp_mod_grib2.F90:45:9:

45 | use input_data_mod_grib2_4, &
| 1
Fatal Error: Cannot open module file ‘input_data_mod_grib2_4.mod’ for reading at (1): No such file or directory
compilation terminated.
make[2]: *** [tests/CMakeFiles/test_library_grib2_4.dir/build.make:88: tests/CMakeFiles/test_library_grib2_4.dir/interp_mod_grib2_4.F90.o] Error 1

But when I do a clean and make (without the -j) everything works.

At a guess, I would say that input_data_mod_grib2_4 is a generated file, and needs to be listed as a dependency somewhere in CMake.

@AlexanderRichert-NOAA
Copy link
Contributor

I believe this was fixed by ab55010 -- can you please test with the head of develop?

@edwardhartnett
Copy link
Contributor Author

I can't get the CI to pass any code. See #269 from #268.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Building software is complicated!
Projects
Status: No status
Development

No branches or pull requests

2 participants