[Swift-user] Passing GRAM parameters

Mihael Hategan hategan at mcs.anl.gov
Tue Jun 17 11:34:09 CDT 2008


On Tue, 2008-06-17 at 12:21 -0400, Andriy Fedorov wrote:
> >
> >> 1. I have a workflow, which contains an MPI-parallelized component. I
> >> haven't seen a reference on how explicitly parallel jobs can be
> >> launched in the Swift guide. Is this functionality implemented, or
> >> this requires extending Swift (writing a new site selector, maybe?)
> >
> > I've never done anything with MPI-parallel stuff in GRAM. I think tis is
> > normally specified in GRAM RSL. Do you have a command for GRAM to do it?
> 
> I know how to do that in pre-WS GRAM -- there were "count" and
> "hostCount" attributes. I assume, same attributes should work with WS
> GRAM.

An possibly jobType="mpi".

Yes, the same attributes should work with WS-GRAM. If they don't, I
would consider it a bug.

> 
> 
> >>...
> 
> Can you tell me how to specify multiple GLOBUS::-like parameters? For
> example, if I want to try to specify walltime, count and hostCount for
> each item in tc.data, is this possible? I understand that I can
> probably specify these attributes in sites.xml, but in this case the
> resource request for that specific site will always ask for
> "hostCount" nodes, even if I can only use 1.

You should be able to separate them using commas, if they share the same
namespace. For example:
GLOBUS::walltime="10:10:00",count=4,hostCount=2





More information about the Swift-user mailing list