[Swift-user] task parallel MPI

Agarwal, Khushbu Khushbu.Agarwal at pnnl.gov
Thu May 5 18:31:12 CDT 2011


Hi Justin,

Please find the files attached. 

Thanks,
-Khushbu  

-----Original Message-----
From: Justin M Wozniak [mailto:wozniak at mcs.anl.gov] 
Sent: Thursday, May 05, 2011 3:36 PM
To: Agarwal, Khushbu
Cc: swift-user at ci.uchicago.edu
Subject: Re: [Swift-user] task parallel MPI 

Hello
 	Can you post your sites and tc files?
 	Justin

On Thu, 5 May 2011, Agarwal, Khushbu wrote:

> Hi,
>
> I am trying to launch multiple MPI runs( parallel task) within a 
> single job allocation, but I keep on getting error about task exiting
> srun: error: cu01n2: tasks 0-7: Exited with exit code 2
> srun: Terminating job step 1546136.4
>
> Here is my swift script. I am not sure what is going wrong, any help is appreciated.
>
> Thanks,
> -Khushbu
> ---------------------------------
>
> type file;
>
> file stompIn <"stomp.in">;
> file stompOut <"stomp.out">;
> file sphArr[] <fixed_array_mapper;files="sph.in.1, sph.in.2">; int n = 
> 2;
>
> (file stOut) runStomp (file stIn) {
>    app {
>         stomp @stIn @stOut;
>    }
> }
>
> (file s[]) pg (file stOut, int num) {
>    app {
>         pg @stOut "sph.in" num;
>    }
> }
>
> (file output) runSph (file input, int num) {
>    app{
>        mpi @input @output num;
>    }
> }
>
> stompOut = runStomp(stompIn);
>
> sphArr = pg(stompOut, n);
>
> int list[] = [1,2];
>
> foreach i in list
> {
>    file sphOut <single_file_mapper;file=@strcat("sph.out.",i)>;
>    sphOut = runSph(sphArr[i-1], i-1);
> }
>
>
>

--
Justin M Wozniak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swift-log.tgz
Type: application/x-compressed
Size: 5336 bytes
Desc: swift-log.tgz
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20110505/1b07fc87/attachment.bin>


More information about the Swift-user mailing list