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

CMake: Parallel build issue for tests #44

Closed
davydden opened this issue Oct 10, 2018 · 3 comments
Closed

CMake: Parallel build issue for tests #44

davydden opened this issue Oct 10, 2018 · 3 comments
Assignees

Comments

@davydden
Copy link
Contributor

i know that cmake is experimental, nonetheless I think the errors are not CMake specific:

f951: Fatal Error: Can't rename module file ‘dbcsr_test_add.mod0’ to ‘dbcsr_test_add.mod’: No such file or directory
f951: Fatal Error: Can't rename module file ‘dbcsr_test_multiply.mod0’ to ‘dbcsr_test_multiply.mod’: No such file or directory
Error copying Fortran module "tests/dbcsr_test_add.mod".  Tried "tests/DBCSR_TEST_ADD.mod" and "tests/dbcsr_test_add.mod".

I am building on macOS with gfortran@8.2.0 and default make. I will try gnu make to see if there is any difference...

@alazzaro
Copy link
Member

This issue was fixed in a new release. It is due to a parallel compilation of the tests. The current solution would be to compile the tests with -j1.

@davydden
Copy link
Contributor Author

ah, interesting, i will give it a try...

@davydden
Copy link
Contributor Author

yes, serial build fixed the issue.

@alazzaro alazzaro reopened this Oct 11, 2018
@dev-zero dev-zero changed the title Can't rename module file CMake: Parallel build issue for tests Oct 11, 2018
dev-zero added a commit that referenced this issue Oct 19, 2018
dev-zero added a commit that referenced this issue Oct 19, 2018
dev-zero added a commit that referenced this issue Oct 19, 2018
shoshijak pushed a commit to shoshijak/dbcsr that referenced this issue Jul 1, 2019
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

3 participants