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

subset selection default algorithm is taking forever #71

Open
vlimant opened this issue Feb 12, 2025 · 0 comments
Open

subset selection default algorithm is taking forever #71

vlimant opened this issue Feb 12, 2025 · 0 comments

Comments

@vlimant
Copy link
Contributor

vlimant commented Feb 12, 2025

as part of looking into a pilot (https://gitlab.cern.ch/cms-ppd/dataset-management/simulation-production/-/issues/9#note_9061271) with limited statistic from an existing dataset (functionality that exists already) and after fixing a formatting issue ( #70) it became clear that the subset algorithm is not adapted for large input.

something like

import sys
sys.path.append('/afs/cern.ch/cms/PPD/PdmV/tools/wmcontrol/')
from modules import helper
import pprint
dataset='/InclusiveDileptonMinBias_TuneCP5Plus_13p6TeV_pythia8/GenericNoSmearGEN-124X_mcRun3_2022_realistic_v12-v2/GEN'
espl = helper.SubsetByLumi(dataset,0.05)
split, details = espl.run( 10000 , True, False)

takes a handful of minutes, while

split, details = espl.run( 10000 , True, False)

has been running for the last 3h ...

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

1 participant