[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor DRMAA: DAGMan job submission possible?



On Tue, Jul 15, 2008 at 12:46 AM, Todd Tannenbaum <tannenba@xxxxxxxxxxx> wrote:
>
> < Sent from a Palm Treo 680 >
> -----Original Message-----
> From: "Mark V" <mvyver@xxxxxxxxx>
> Date: Monday, Jul 14, 2008 1:00 am
> Subject: [Condor-users] Condor DRMAA: DAGMan job submission possible?
> To: "Condor-Users Mail List" <condor-users@xxxxxxxxxxx>Reply-To: mvyver@xxxxxxxxx, Condor-Users Mail List <condor-users@xxxxxxxxxxx>
>
> Hi Group,
>>I'm currently doing some 'homework'/reserach, and the following
>>question has arisen:
>>
>>Q) DRMAA: Dagman job submission - possible?
>>Is it possible to submit a DAGMan job using the DRMA API?
>
> Yes.
>
> The key is understanding that DagMan jobs are just regular Condor jobs with
>   universe = scheduler
>   executable = dagman
>   arguments = dag-file ... ...
>   ...
> All condor-submit-dag does is create a "regular" condor-submit file and run condor-submit on it.  Take a look at the condor-submit file created by condor-submit-dag - this is the submit file you want your drmaa app to mimic.
>

Thanks for the prompt response Todd.
This may be a little dense, but I spent several weeks bashing my head
with dag jobs around, or just before, the 6.7 series, and would like
to avoid the experience :)
If DagMan jobs are just condor jods with: ".... arguments=dag-file"
I don't see where the need is to mimic the classic job file contents?

Regards
Mark

> To set the submit attributes that are specific to Condor, like universe, use DRMAA_NATIVE_SPECIFICATION param with drmaa_set_attribute.  See the DRMAA section in the Condor Manual for an example.
>
> Hope this helps some
> Todd
>
>
>