Comments (7)
I have this on my todo list, but haven't been able to work on it yet, hope to have it for the middle of next week though.
from genproductions.
@kdlong Just made a pull request for this: #1261
from genproductions.
Great, thanks! Testing at T2_US_Wisconsin now.
from genproductions.
Thanks! Let me know how that goes. Also: What version of condor does Wisconsin use in the submit node? CMS Connect uses 8.4.x, the python binding queries should work equally for both 8.4 and 8.6, but I have never tested with 8.6.x
from genproductions.
It worked without any problems. We just updated to 8.6, so that also doesn't seem to be a problem. Maybe we could add the line
PYTHONPATH=/usr/lib64/python2.6/site-packages:$PYTHONPATH
into the submit_condor_gridpack_generation.sh script since this seems to be the expected location, and if the packages are located elsewhere this line shouldn't cause any harm. What do you think?
from genproductions.
This could break things if there are a mix of python versions. Better to add only the path for the needed condor bindings package.
from genproductions.
@kdlong: I would prefer not to hardcode that directory in the PYTHONPATH every time if possible.
If any change is necessary, it should be added into the source_condor.sh
script which source_condor / source_cmsconnect
depend on. This script currently finds the PATH for the python bindings in the local system as long as it is available in the and python 2.x is the default version in the system, which is the usual in EL6/7 based systems and will probably be the case until 2020 (end of support of python 2.7.x). If this becomes a problem we should push to have these dependencies included in CVMFS ( #1212 ) . We could also easily include these 2 libraries in the github repository, but then somebody would need to keep track of updates when needed, so I would rather not go that route.
@bendavid The problem is the condor bindings only have its own directory when they are installed from the condor tarball binaries. When condor and the bindings are installed from RPMS, htcondor.so
and classads.so
are installed in the parent directory on EL6/7-based systems, so the whole site-packages
will be included in most cases.
In any case, since we setup the CMS framework before doing any actual work in madgraph and CVMFS PATHs are prepended in the PYTHONPATH, a module will only tried to be used from the local system if it's not avaialble in cvmfs... and at this point the only candidate for that would be the condor python bindings.
from genproductions.
Related Issues (20)
- Compilation Issues with reweight MG265 and SMEFTsim LO (master) HOT 10
- Large gridpack fails with non zero status 137 HOT 2
- GridPack Generation fail on CMSConnect HOT 4
- MadGraph patch for 29x : color flow HOT 4
- Filter efficiency from fragments should be dropped once and for all HOT 8
- MadGraph tarballs on cvmfs HOT 4
- CPX Tune Import Path for Run3 fragments HOT 1
- adding MG version 3.5 HOT 25
- Track CMS changes to MG5 source via git repository instead of patch files HOT 5
- Compilation issue when generating the diphotonJets gridpack HOT 8
- cleaning up the unneeded files in madgraph HOT 6
- Update for `request_fragment_check.py` script
- SLHA Issue for the latest `request_fragment_check.py` file HOT 6
- Collided path due to case-sensitivity
- merge.pl decoupled from MG5 HOT 1
- Issue in generating gridpack using Phantom Generator HOT 2
- 3 questions with regards to a new PR(#3629) HOT 1
- reweighting samples with madspin HOT 9
- Validation of pLHE should check the total number of events
- Move user-specific patching after extramodel download, or vice versa, in MadGraph gridpack generation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genproductions.