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

Cannot move Installation Location without recompile #2

Open
drberry85 opened this issue Apr 20, 2018 · 5 comments
Open

Cannot move Installation Location without recompile #2

drberry85 opened this issue Apr 20, 2018 · 5 comments

Comments

@drberry85
Copy link
Contributor

Hey SFrame Devs,

This has been an on going issue that I've been dealing with, but I've ran out of ideas to try to fix it. The root of the problem is that SFrame relies on absolute file paths instead of relative file paths, this means that when you tar your CMSSW (and SFrame) area and send it to some new location, it has to be recompiled. I've made several modifications to SFrame to get around this (and it works), but the same tricks don't work with UHH2. I'll create a similar issue there.

Doug

@raggleton
Copy link
Contributor

Hi Doug,

So I've never tried this, but I'm guessing you're trying to do something akin to CRAB, where you tar up the py, libs etc, then somewhere else setup a fresh CMSSW, do cmsenv, and untar, without having to recompile?

For SFrame, you mentioned in the other thread that you used -inlineInputHeader with rootcint - did this solve all the SFrame-related problems? Or is there more needed?

I'm assuming the issues in SFrame & UHH2 are separate, in which case let's keep both issues open to tackle the respective parts (but please correct me if I'm wrong)

Cheers

@drberry85
Copy link
Contributor Author

Robin,

Yeah, the problem is I can't use -inlineInputHeader with UHH2. I really don't think there is a problem with SFrame, but I wasn't sure, so I posted the issue both places. I get the following message when I try to compile UHH2 with the option -inlineInputHeader:

Error: #pragma once directive detected in header file include/AnalysisModuleRunner.h which was requested to be inlined.

Doug

@drberry85
Copy link
Contributor Author

Hey Robin,

I think there is a really stupid fix. Let me just make sure it works and I'll make a pull request to both the UHH2 and SFrame repos.

Doug

@raggleton
Copy link
Contributor

Hi Doug,

Did you manage to get this working in the end for UHH2? I realise I came across the same issue in UHH2/UHH2#1083.

Cheers
Robin

@drberry85
Copy link
Contributor Author

drberry85 commented Jan 8, 2019 via email

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

2 participants