-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmakeDirtyImage.htc
More file actions
69 lines (52 loc) · 2.54 KB
/
makeDirtyImage.htc
File metadata and controls
69 lines (52 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Copyright (C) 2024
# Associated Universities, Inc. Washington DC, USA.
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This library is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
# License for more details.is
#
# You should have received a copy of the GNU Library General Public License
# along with this library; if not, write to the Free Software Foundation,
# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
#
# Correspondence concerning this should be addressed as follows:
# Postal address: National Radio Astronomy Observatory
# 1003 Lopezville Road,
# Socorro, NM - 87801, USA
#
# $Id$
include: htclean.htc
include: imcycle.htc
notification = Error
cuda_cap = $$([int(GPUs_Capability)])
request_cpus = 2
request_gpus = 1
request_memory = $(memResidual)
request_disk = $(diskResidual)
+UNDESIRED_Sites = $(und_sites_grid)
+WantOSPool = true
#+DESIRED_SITES = "SDSC-PRP"
+SingularityImage = "/cvmfs/singularity.opensciencegrid.org/opensciencegrid/osgvo-el8:latest"
arguments = "'$(jobmode)' '$(input_file)' '$(partId)' '$(msname)' '$(imagename)' '$(cfcache)'"
output = makeDirtyImage_$(partId).$(cuda_cap)x.stdout
error = makeDirtyImage_$(partId).$(cuda_cap)x.stderr
log = makeDirtyImage_$(partId).condor.log
#requirements = (GPUs_Capability >= 7.0)
+DESIRED_GPU_MIN_Capability = 8.0
+DESIRED_GPU_MIN_GlobalMemoryMb = 22000
+DESIRED_GPU_MIN_DriverVersion = 12.0
RequireGPUs = (Capability >= DESIRED_GPU_MIN_Capability) && (GlobalMemoryMb > DESIRED_GPU_MIN_GlobalMemoryMb) && (DriverVersion >= DESIRED_GPU_MIN_DriverVersion)
#&& stringListMember(GLIDEIN_Site,DESIRED_Sites,",")
should_transfer_files = YES
transfer_input_files = bin, $(libra_bundle), $(softwaredir)/casa-data.tgz, $(cfcachedir)/$(cfcache).tgz?pack=auto, $(msdir)/$(msname).tgz?pack=auto
if $(useStartModel)
transfer_input_files = $(transfer_input_files), $(imagesdir)/$(imagename).divmodel.imcycle0.tar?pack=auto
endif
transfer_output_remaps = "logs.$(jobmode).tgz = $(initialdir)/logs.$(partId).$(jobmode).imcycle$(imcycle).tgz; $(imagename).$(partId).residual.tar = $(imagesdir)/$(imagename).workdirectory.imcycle$(imcycle)/$(imagename).$(partId).residual.tar"
queue