-
Notifications
You must be signed in to change notification settings - Fork 262
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 make issue in ncdump tests #2395
Comments
OK, the problem is in tst_nccopy4.sh, which contains this:
This appears to be an attempt to ensure these tests have been run first. However, this is not the way to achieve this. If this runs at the same time as tst_nccopy3.sh is running, one of these files might be in the process of being (re-)created when it is needed. Instead, the way to ensure that these files all exist is to add a dependency on tst_nccopy4.log in the Makefile,am (as is already done with nccopy3.sh). I will submit a PR... |
Good. This kind of hidden dependency might occur in other test programs in the same directory. |
I have to work on this PR a bit longer so I have turned it into a draft PR. Once I get it fully sorted out I will mark this PR as ready for review... |
Btw I am also testing with hdf5 1.13.1 and everything seems to be working... |
OK, I'm having this problem again. This time in the CMake build. |
OK, I've got a fix. I will put up a PR. |
As discussed in #2392 there is a parallel make issue (i.e. make -j issue) in the ncdump testing. This causes the following failures:
The problem is probably test file tst_output_c0.nc and some other files which are created by tst_output.sh and used by tst_nccopy3.sh.
The answer is to make the running of tst_nccopy3.sh dependent on tst_output.sh having completed.
And yet in the Makefile.am I see:
So this should be working.
I will take a look at this issue after sorting out some other stuff.
The text was updated successfully, but these errors were encountered: