Skip to content
Snippets Groups Projects

Alter default node and core values for policy runs

1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
@@ -26,15 +26,15 @@ def parse_args():
@@ -26,15 +26,15 @@ def parse_args():
help="Include directories as entries in the policy output (Default: false)")
help="Include directories as entries in the policy output (Default: false)")
sbatch = parser.add_argument_group('sbatch parameters')
sbatch = parser.add_argument_group('sbatch parameters')
sbatch.add_argument('-N','--nodes',type=int,default=1,
sbatch.add_argument('-N','--nodes',type=int,default=6,
help='Number of nodes to run job across')
help='Number of nodes to run job across. Can be between 1 and 16')
sbatch.add_argument('-c','--cores',type=int,default=16,
sbatch.add_argument('-c','--cores',type=int,default=8,
help='Number of cores to request')
help='Number of cores to request per node. Can be between 1 and 16')
sbatch.add_argument('-p','--partition',type=str,default='amd-hdr100,medium',
sbatch.add_argument('-p','--partition',type=str,default='amd-hdr100,medium',
help='Partition to submit job to. Can be a comma-separated list of multiple partitions')
help='Partition to submit job to. Can be a comma-separated list of multiple partitions')
sbatch.add_argument('-t','--time',type=str,default='24:00:00',
sbatch.add_argument('-t','--time',type=str,default='24:00:00',
help='Time limit for job formatted as [D-]HH:MM:SS')
help='Time limit for job formatted as [D-]HH:MM:SS')
sbatch.add_argument('-m','--mem-per-cpu',type=str,default='8G',
sbatch.add_argument('-m','--mem-per-cpu',type=str,default='6G',
help='Amount of RAM to allocate per core')
help='Amount of RAM to allocate per core')
parser.add_argument('--dry-run', action='store_true',
parser.add_argument('--dry-run', action='store_true',
Loading