Skip to content

Commit

Permalink
Path update
Browse files Browse the repository at this point in the history
  • Loading branch information
BrieucF committed Mar 29, 2023
1 parent 2c96a88 commit 7fc9de6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions FCCSW_ecal/condor_submit_fccsw.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def get_condor_submit_header(executable_regex, jobFlavour = 'longlunch'):

def get_exec_file_header():# assumes you installed FCCSW locally with the 'install' folder at the root of your FCCSW repository
return """#!/bin/bash
#source /cvmfs/sw.hsf.org/key4hep/setup.sh
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
source /cvmfs/sw.hsf.org/key4hep/setup.sh
#source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
export K4RECCALORIMETER=%s
export K4SIMGEANT4=%s
export K4FWCORE=%s
Expand Down
7 changes: 4 additions & 3 deletions FCCSW_ecal/pi0_condor_submit_fccsw.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def get_condor_submit_header(executable_regex, jobFlavour = 'longlunch'):

def get_exec_file_header():# assumes you installed FCCSW locally with the 'install' folder at the root of your FCCSW repository
return """#!/bin/bash
#source /cvmfs/sw.hsf.org/key4hep/setup.sh
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
source /cvmfs/sw.hsf.org/key4hep/setup.sh
#source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
export K4RECCALORIMETER=%s
export K4SIMGEANT4=%s
export K4FWCORE=%s
Expand All @@ -64,7 +64,8 @@ def get_exec_file_header():# assumes you installed FCCSW locally with the 'insta
LD_LIBRARY_PATH=%s
CMAKE_PREFIX_PATH=%s
PATH=%s
"""%(os.environ.get("K4RECCALORIMETER", ""), os.environ.get("K4SIMGEANT4", ""), os.environ.get("K4FWCORE", ""), os.environ.get("FCCDETECTORS", ""), os.environ.get("PYTHONPATH", ""), os.environ.get("LD_LIBRARY_PATH", ""), os.environ.get("CMAKE_PREFIX_PATH", ""), os.environ.get("PATH", ""))
export FCCBASEDIR=%s
"""%(os.environ.get("K4RECCALORIMETER", ""), os.environ.get("K4SIMGEANT4", ""), os.environ.get("K4FWCORE", ""), os.environ.get("FCCDETECTORS", ""), os.environ.get("PYTHONPATH", ""), os.environ.get("LD_LIBRARY_PATH", ""), os.environ.get("CMAKE_PREFIX_PATH", ""), os.environ.get("PATH", ""), os.environ.get("FCCBASEDIR", ""))



Expand Down

0 comments on commit 7fc9de6

Please sign in to comment.