Skip to content
Snippets Groups Projects
Commit 6fe2f8cd authored by Domenico Giordano's avatar Domenico Giordano
Browse files

generation of config at runtime

parent 7547416d
No related branches found
No related tags found
2 merge requests!16Qa,!15Qa
Pipeline #1760463 failed
Pipeline: hep-workloads-GPU

#1760464

    ......@@ -31,7 +31,14 @@ function doOne(){
    pwd
    ls
    ${BMKDIR}/benchmark ${BMKDIR}/profile.py >>$LOG 2>&1 3>&1
    cd ${BMKDIR}/patatrack-scripts
    ./workflow.sh
    patch -b --forward profile.py profile.patch
    #change .../patatrack-scripts/sourceFromPixelRaw_cff.py and point "fed_prefix" to .../extraction/path/.../store/opendata/cms
    sed -i "s|/data/store/opendata/cms|${install_dir}/store/opendata/cms|g" sourceFromPixelRaw_cff.py
    ./benchmark profile.py >>$LOG 2>&1 3>&1
    status=${?}
    echo "[doOne ($1)] $(date) completed (status=$status)"
    # Return 0 if this workload copy was successful, 1 otherwise
    ......
    ......@@ -22,10 +22,5 @@ patch -b --forward workflow.sh workflow.patch
    ls -l
    ./workflow.sh
    patch -b --forward profile.py profile.patch
    #change .../patatrack-scripts/sourceFromPixelRaw_cff.py and point "fed_prefix" to .../extraction/path/.../store/opendata/cms
    sed -i "s|/data/store/opendata/cms|${install_dir}/store/opendata/cms|g" sourceFromPixelRaw_cff.py
    [ ! -d /bmk/cms-patatrack ] && mkdir -p /bmk/cms-patatrack
    cp -r ${install_dir}/patatrack-scripts /bmk/cms-patatrack
    \ No newline at end of file
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment