Skip to content

Conversation

@lmoneta
Copy link
Member

@lmoneta lmoneta commented May 15, 2020

Add R__HAS_PYMVA and R__HAS_RMVA in RConfigure.h

Use it in the CNN and RNN tutorials to be able to run them when pymva is not built.
This PR should replace #5559

@lmoneta lmoneta self-assigned this May 15, 2020
@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos7-multicore/default, ROOT-fedora29/python3, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1015/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link

Build failed on ROOT-performance-centos7-multicore/default.
Running on olhswep22.cern.ch:/data/sftnight/workspace/root-pullrequests-build
See cdash.
See console output.

Errors:

Failing tests:

@lmoneta lmoneta requested a review from stwunsch May 15, 2020 14:27
Copy link
Contributor

@stwunsch stwunsch left a comment

Choose a reason for hiding this comment

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

Nice! I think you use the wrong preprocessor variable in the RNN tutorial, please check! Also I would change the commit message of your second commit because it mixes RMVA in the title and PyMVA in the detailed description.


const char *rnn_type = "RNN";

#ifdef R__HAS_RMVA
Copy link
Contributor

Choose a reason for hiding this comment

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

That should by R__HAS_PYMVA, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes sure ! Thanks

@lmoneta lmoneta force-pushed the add_pymva_preprocessor_flag branch from 593e1a2 to e6119ae Compare May 15, 2020 15:17
@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos7-multicore/default, ROOT-fedora29/python3, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1015/cxx17, windows10/cxx14
How to customize builds

@lmoneta lmoneta merged commit 83502c8 into root-project:master May 18, 2020
@lmoneta lmoneta deleted the add_pymva_preprocessor_flag branch May 18, 2020 08:23
osschar pushed a commit to osschar/root that referenced this pull request Dec 21, 2020
…d (R__HAS_RMVA) (root-project#5630)

* Add preprocessor flag in RConfigure.h for pymva and rmva

* Enable RMVA when R is found and tmva is on

* Update CNN and RNN tutorial to work also when ROOT is built without Pymva
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.

4 participants