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

Crab submission in HZZ branch #31

Open
wants to merge 2 commits into
base: HZZ_Analysis
Choose a base branch
from
Open

Crab submission in HZZ branch #31

wants to merge 2 commits into from

Conversation

YujiLee301
Copy link
Collaborator

No description provided.

Copy link
Owner

@ram1123 ram1123 left a comment

Choose a reason for hiding this comment

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

General comment: Did you run the crab job and check, if you get the expected output root file?


echo Found Proxy in: $X509_USER_PROXY
cd $CMSSW_BASE/src/PhysicsTools/NanoAODTools/python/postprocessing/analysis/nanoAOD_skim
cp /srv/FrameworkJobReport.xml .
Copy link
Owner

Choose a reason for hiding this comment

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

why this line here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because we need the HZZcppModule, which can not be imported in the default path of Crab jobs.

cp /srv/FrameworkJobReport.xml .
cmsenv
python post_proc.py $1
cp tree*root /srv
Copy link
Owner

Choose a reason for hiding this comment

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

are you sure that the path should be /srv?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes. I'm sure. This information is obtained from the crab job logs.

@YujiLee301
Copy link
Collaborator Author

General comment: Did you run the crab job and check, if you get the expected output root file?

Yes, I got my output from ihep cluster.

@ram1123 ram1123 linked an issue Jan 25, 2024 that may be closed by this pull request
Copy link
Owner

@ram1123 ram1123 left a comment

Choose a reason for hiding this comment

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

Hi @YujiLee301 ,

Did you tested the crab job with latest PR?

When I tried to submit the job then I can't submit due to large tarball size.

Error message: Error: input tarball size 292 MB exceeds maximum allowed limit of 120 MB

This means we need to remove unnecessary files from the directory or skip, somehow. While submitting the crab job it makes tarball for the working directory and if it's too much it gives this error.

I already tried to remove un-necessary files, but it is still not working. It looks like it will work only if we don't add the MELA package in tarball and compile the MELA on the crab node.

Please check.


config.section_("General")
config.General.requestName = 'nanoAOD_testing_2'
config.General.workArea = '/afs/cern.ch/user/y/yujil/crabtest/CMSSW_10_6_30/src/PhysicsTools/NanoAODTools/python/postprocessing/analysis/nanoAOD_skim/crab_projects_sendPythonFolderFalse'
Copy link
Owner

Choose a reason for hiding this comment

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

Give relative path or use the env var CMSSW_BASE

#config.JobType.sendPythonFolder = True
config.JobType.allowUndistributedCMSSW = True
config.section_("Data")
config.Data.inputDataset = '/WplusTo2JWminusTo2LJJ_EWK_LO_aQGC_MJJ100PTJ10_TuneCP5_13TeV-madgraph-pythia8/RunIIAutumn18NanoAODv5-Nano1June2019_102X_upgrade2018_realistic_v19-v1/NANOAODSIM'
Copy link
Owner

Choose a reason for hiding this comment

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

Utilize the sample list file (https://github.com/ram1123/nanoAOD_skim/blob/HZZ_Analysis/input_data_Files/sample_list_v9_2018.dat) so that it will submit all jobs in one go.

@YujiLee301
Copy link
Collaborator Author

Hi @ram1123 , beyond MELA, yaml-cpp does't work in cluster as well.
== CMSSW: /srv/CMSSW_10_6_30/src/PhysicsTools/NanoAODTools/python/postprocessing/analysis/nanoAOD_skim/src/../interface/H4LTools.h:10:10: fatal error: 'yaml-cpp/yaml.h' file not found
== CMSSW: #include "yaml-cpp/yaml.h"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No working crab config exists
2 participants