-
Notifications
You must be signed in to change notification settings - Fork 40
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
Parallel build issue in 1.7.0 #30
Comments
So far no one was able to figure out how to define dependencies for
|
The general method is to add dependencies of one file on another object file. It doesn't work if you add a dependency on a module file, because Make doesn't really know about them and the situations under which compilers change or update them are somewhat inconsistent. We do this quite a bit in specfem3d_globe (though without automake) and it works quite fine. |
Actually, I looked a little closer at the files in the |
Looks like the name was fixed in master at ac9b543. For me, this seems to be sufficient, though you may be aware of other cases (where I just don't have a parallel-enough compile to trigger it). However, I'll just point out that the program name is also the same (makes no difference for compile, I think; just a consistency thing) and the modules need to be added to |
Sigh, of course, after posting that I ran into the |
I'm building 1.7.0 using
configure
(not CMake), and parallel builds (make -j8
) will sporadically fail with the following error:A subsequent build with serial make completes fine. This is usually a clear sign that some dependency is missing from the Makefile.
The text was updated successfully, but these errors were encountered: