[Swift-user] task parallel MPI
Justin M Wozniak
wozniak at mcs.anl.gov
Tue May 10 13:47:11 CDT 2011
Ok, I think I see where this is going: can you resend the tgz with the
SwiftScript?
On Thu, 5 May 2011, Agarwal, Khushbu wrote:
> 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
>
--
Justin M Wozniak
More information about the Swift-user
mailing list