Skip to content

Instantly share code, notes, and snippets.

@matz-e
Last active August 29, 2015 14:21
Show Gist options
  • Select an option

  • Save matz-e/c20ed81601013685604e to your computer and use it in GitHub Desktop.

Select an option

Save matz-e/c20ed81601013685604e to your computer and use it in GitHub Desktop.
Parrot ELF error test script. Execute at ND or adjust HTTP_PROXY.
dir=$(mktemp -d)
cd $dir
export HTTP_PROXY="http://eddie.crc.nd.edu:3128"
parrot_run bash<<EOF
source /cvmfs/cms.cern.ch/cmsset_default.sh
export SCRAM_ARCH=slc6_amd64_gcc491
scramv1 project CMSSW CMSSW_7_3_5
cd CMSSW_7_3_5
eval \$(scramv1 runtime -sh)
wget -O mc_production.py https://gist.githubusercontent.com/matz-e/302bba0a6f0c1d8077f5/raw
cmsRun mc_production.py
EOF
echo Thou might want to delete $dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment