Skip to content

Conversation

@martinmine
Copy link
Contributor

Some of the TMVA tutorials run in parallel and rely on the same generated file. Typically, one tutorial may depend on another one that generates the file. The top level ones did not depend on each other, thus running in parallel and causing a race condition. This PR should solve this issue by making them depend on each other.

set (tmva-TMVAMulticlassApplication-depends tutorial-tmva-TMVAMulticlass)
set (tmva-TMVARegressionApplication-depends tutorial-tmva-TMVARegression)
set (tmva-TMVARegression-depends tutorial-tmva-TMVAMulticlass-depends)
set (tmva-TMVAMulticlassApplication-depends tutorial-tmva-TMVAMulticlass tmva-TMVAClassificationCategoryApplication)
Copy link
Contributor

Choose a reason for hiding this comment

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

The dependent tests need to be specified with the full name: tuturial-tmva-TMVAClassificationCategoryApplication instead of tmva-TMVAClassificationCategoryApplication

set (tmva-TMVARegressionApplication-depends tutorial-tmva-TMVARegression)
set (tmva-TMVARegression-depends tutorial-tmva-TMVAMulticlass-depends)
set (tmva-TMVAMulticlassApplication-depends tutorial-tmva-TMVAMulticlass tmva-TMVAClassificationCategoryApplication)
set (tmva-TMVARegressionApplication-depends tutorial-tmva-TMVARegression tmva-TMVAMulticlassApplication)
Copy link
Contributor

Choose a reason for hiding this comment

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

idem

@martinmine
Copy link
Contributor Author

I've commited a change fixing the issues @peremato pointed out.

@peremato peremato merged commit e089bc3 into root-project:master Mar 15, 2017
gganis pushed a commit to gganis/root that referenced this pull request Apr 3, 2017
…oot-project#426)

* Cleaned up dependencies for TMVA tuts

* Added missing tutorial- prefix on dependencies
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