Skip to content

Commit

Permalink
No more local output (#161)
Browse files Browse the repository at this point in the history
* output on davs

* output on davs
  • Loading branch information
FaroutYLq authored Jun 14, 2024
1 parent f9b125b commit 4c6f75e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion outsource/Outsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def _plan_and_submit(self, wf):
submit=not self.debug,
sites=['condorpool'],
staging_sites={'condorpool': 'staging-davs'},
output_sites=['local'],
output_sites=['staging-davs'],
dir=os.path.dirname(self.wf_dir),
relative_dir=self._wf_id
)
Expand Down Expand Up @@ -695,6 +695,11 @@ def _generate_sc(self):
scratch_dir.add_file_servers(FileServer('gsidavs://xenon-gridftp.grid.uchicago.edu:2880/xenon/scratch/{}'.format(getpass.getuser()), Operation.ALL))
staging_davs.add_directories(scratch_dir)

# output on davs
output_dir = Directory(Directory.LOCAL_STORAGE, path='/xenon/output/{}'.format(getpass.getuser()))
output_dir.add_file_servers(FileServer('gsidavs://xenon-gridftp.grid.uchicago.edu:2880/xenon/output/{}'.format(getpass.getuser()), Operation.ALL))
staging_davs.add_directories(output_dir)

# condorpool
condorpool = Site("condorpool")
condorpool.add_profiles(Namespace.PEGASUS, style='condor')
Expand Down

0 comments on commit 4c6f75e

Please sign in to comment.