Skip to content

Commit

Permalink
reduce tile time to 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Aug 27, 2024
1 parent 1fe412d commit 3cb0e87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions py/specprodDB/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
#SBATCH --mail-user={email}
module swap specprod-db/{load_version}
{export_specprod}
srun --ntasks=1 load_specprod_tile {exposures_file} {tiles_file} \\
srun --ntasks=1 load_specprod_tile {exposures_file} \\
{tiles_file} \\
--schema ${{SPECPROD}} {overwrite} --verbose {tileid:d}
{save_status}
{move_script}
Expand Down Expand Up @@ -197,7 +198,7 @@ def prepare_template(options):
if overwrite == '--primary':
wall_time = '6:00:00'
else:
wall_time = '1:00:00'
wall_time = '00:30:00'
if options.patch_tiles:
tiles_file = '--tiles-file {0}'.format(options.tiles_file)
if options.exposures_file is None:
Expand Down

0 comments on commit 3cb0e87

Please sign in to comment.