lhcb / second-analysis-steps

Level two LHCb data analysis lessons
https://lhcb.github.io/second-analysis-steps/
3 stars 20 forks source link

"Ganga with cmake" does not work for new tools #37

Closed bixel closed 8 years ago

bixel commented 8 years ago

I tried to use the Ganga with cmake tutorial to submit a job with a development application. It failed to import the some custom tools although they were defined within InstallArea/blabla/python/Application/ApplicationConf.py. It looks like the PYTHONPATH doesn't know about the modules. When I add InstallArea/blabla/python to it, at least a SetupProject + gaudirun.py works.

I don't know how ganga sets up the PYTHONPATH but maybe there is another workaround?

alexpearce commented 8 years ago

Are you using the same version of Ganga as in the tutorial? It would be useful to know if a version change broke the hack.

bixel commented 8 years ago

Yes, I used the same version. (Sorry for the delay)

alexpearce commented 8 years ago

I've heard that the most recent version(s) of Ganga new support CMake applications, as created with lb-dev. You can follow up at ganga-devs/ganga#73.

bixel commented 8 years ago

Ok I found some time to test the GaudiRun app and it seems to be working. Thanks @alexpearce! (Should I close this now, or is that your job?)

alexpearce commented 8 years ago

You go ahead 😄

On 28 Jul 2016, at 14:38, Kevin Heinicke notifications@github.com wrote:

Ok I found some time to test the GaudiRun app and it seems to be working. Thanks @alexpearce! (Should I close this now, or is that your job?)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

bixel commented 8 years ago

😄