[Saga-devel] saga SVN commit 3411: /trunk/adaptors/condor/job/
jpabecasis at cct.lsu.edu
jpabecasis at cct.lsu.edu
Sat Jan 31 15:24:27 CST 2009
User: jpabecasis
Date: 2009/01/31 03:24 PM
Modified:
/trunk/adaptors/condor/job/
mappings.ini
Log:
More vapourware mappings and tweaks
File Changes:
Directory: /trunk/adaptors/condor/job/
======================================
File [modified]: mappings.ini
Delta lines: +55 -5
===================================================================
--- trunk/adaptors/condor/job/mappings.ini 2009-01-31 21:22:15 UTC (rev 3410)
+++ trunk/adaptors/condor/job/mappings.ini 2009-01-31 21:23:48 UTC (rev 3411)
@@ -3,12 +3,62 @@
### being used. Sorry!
###
-[saga.adaptors.condor_job]
+[validation.job.description]
- ## Condor universes the adaptor instance supports.
- supported_universes = Vanilla,Standard,Scheduler,Local,Grid,MPI,Java,VM
+ Queue = Optional, "Vanilla", "Standard", "Scheduler", "Local", "Grid", "MPI", "Java", "VM", error("Unknown or unsupported Condor universe")
-[saga.adaptors.condor_job.mappings.cpu_architecture]
+ Interactive = Optional, False, error("Adaptor does not support Interactive jobs.")
+
+ Cleanup = Optional, True
+
+ # SPMD -- Is this the MPI stuff?
+ SPMDVariation = Unsupported
+ ProcessesPerHost = Unsupported
+ ThreadsPerProcess = Unsupported
+
+[condor.job.description]
+
+ Queue = job.description.number_of_processes, 1
+ Universe = job.description.queue, "Vanilla"
+
+ Executable = job.description.executable, error("Executable attribute required"), Path, FileExists
+ Arguments = quote_array(job.description.arguments)
+ Environment = quote_array(job.description.environment)
+
+ Remote_InitialDir = job.description.working_directory
+
+ Input = job.description.input
+ Output = job.description.output
+ Error = job.description.error
+
+ Deferral_Time = job.description.job_start_time
+
+ # TODO: Process job.description.file_transfer
+
+ Notify_User = grep("^mailto:", job.description.job_contact)
+
+ # Uncomment to use in Purdue's TeraGrid condor pool
+ # TGProject = job.description.job_project
+
+[condor.job.requirements]
+ ##
+ ## Requirements
+ ##
+
+ # TODO:
+ # job.description.total_cpu_time
+ # job.description.wall_time
+
+ Machine = join(", ", job.description.candidate_hosts)
+
+ CPUs = job.description.total_cpu_count
+ Memory = job.description.total_physical_memory
+
+ # TODO: Use mappings below
+ Arch = mappings.condor.cpu_architecture[job.description.cpu_architecture]
+ OPSys = mappings.condor.operating_system_type[job.description.operating_system_type]
+
+[mappings.condor.cpu_architecture]
# Defines mappings from SAGA/JSDL CPU Architectures and the corresponding
# attribute in Condor ClassAds.
#
@@ -41,7 +91,7 @@
## An ARM processor
# arm
-[saga.adaptors.condor_job.mappings.operating_system_type]
+[mappings.condor.operating_system_type]
# Defines mappings from SAGA/JSDL Operating System Type and the corresponding
# attribute in Condor ClassAds.
#
More information about the saga-devel
mailing list