Skip to content

Commit

Permalink
copy log file back to workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Dec 19, 2024
1 parent 833e800 commit 93feddf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions crab/scram-build/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -ex
#!/bin/bash -x
log="run.log"
ld.so --help | grep supported | grep x86-64-v
pushd $CMSSW_BASE
Expand All @@ -9,12 +9,14 @@ pushd $CMSSW_BASE
mkdir -p src/$pkg
rsync -a --no-g $CMSSW_RELEASE_BASE/src/$pkg/ src/$pkg/
done
scram b -v -k -j $(nproc) >$log 2>&1 || true
scram b -v -k -j $(nproc) >$log 2>&1
cat $log
eval `scram run -sh`
echo $LD_LIBRARY_PATH | tr : '\n'
echo $PATH | tr : '\n'
which edmPluginDump
edmPluginDump -a >>$log || true
edmPluginDump -a >>$log
which cmsRun
cmsRun --help >>$log || true
cmsRun --help >>$log
popd
mv $CMSSW_BASE/$log .

0 comments on commit 93feddf

Please sign in to comment.