Changes between Version 14 and Version 15 of UMDVerification

Show
Ignore:
Timestamp:
07/31/13 17:30:43 (11 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UMDVerification

    v14 v15  
    234234}}} 
    235235=== PARALLEL_MPI_2 === 
     236Parallel Job Appliances must support the execution of MPI jobs that are compiled at  
     237submission time. 
    236238{{{ 
    237239$ cat > hello-mpi.c  << EOF 
     
    253255} 
    254256EOF 
    255 $ module load openmpi 
    256 $ mpicc hello-mpi.c -o hello-mpi 
    257257$ cat > bash.xml  << EOF 
    258258<?xml version="1.0" encoding="UTF-8"?> 
     
    264264   <jsdl:JobDescription> 
    265265      <jsdl:JobIdentification> 
    266          <jsdl:JobName>PARALLEL_MPI_1</jsdl:JobName> 
     266         <jsdl:JobName>PARALLEL_MPI_2</jsdl:JobName> 
    267267      </jsdl:JobIdentification> 
    268268      <jsdl:Application> 
     
    270270        <jsdl-hpcpa:HPCProfileApplication> 
    271271            <jsdl-hpcpa:Argument>script.sh</jsdl-hpcpa:Argument> 
    272             <jsdl-hpcpa:Output>PARALLEL_MPI_1.out</jsdl-hpcpa:Output> 
     272            <jsdl-hpcpa:Output>PARALLEL_MPI_2.out</jsdl-hpcpa:Output> 
    273273        </jsdl-hpcpa:HPCProfileApplication> 
    274274      </jsdl:Application>       
    275275      <jsdl:DataStaging> 
    276         <jsdl:FileName>hello-mpi</jsdl:FileName> 
    277         <jsdl:CreationFlag>overwrite</jsdl:CreationFlag> 
    278         <jsdl:Source> 
    279             <jsdl:URI>hello-mpi</jsdl:URI> 
     276        <jsdl:FileName>hello-mpi.c</jsdl:FileName> 
     277        <jsdl:CreationFlag>overwrite</jsdl:CreationFlag> 
     278        <jsdl:Source> 
     279            <jsdl:URI>hello-mpi.c</jsdl:URI> 
    280280        </jsdl:Source> 
    281281      </jsdl:DataStaging> 
     
    288288      </jsdl:DataStaging> 
    289289      <jsdl:DataStaging> 
    290         <jsdl:FileName>PARALLEL_MPI_1.out</jsdl:FileName> 
     290        <jsdl:FileName>PARALLEL_MPI_2.out</jsdl:FileName> 
    291291        <jsdl:CreationFlag>overwrite</jsdl:CreationFlag> 
    292292        <jsdl:Target> 
    293             <jsdl:URI>PARALLEL_MPI_1.out</jsdl:URI> 
     293            <jsdl:URI>PARALLEL_MPI_2.out</jsdl:URI> 
    294294        </jsdl:Target> 
    295295      </jsdl:DataStaging> 
     
    305305#!/bin/bash 
    306306 
    307 chmod a+x hello-mpi 
    308307module load openmpi 
     308mpicc hello-mpi.c -o hello-mpi 
    309309mpiexec ./hello-mpi 
    310310EOF 
     
    318318status = Finished (exit status = 0) 
    319319$ qcg-comp -o -J bash.xml                             
    320 File PARALLEL_MPI_1.out staged out. 
     320File PARALLEL_MPI_2.out staged out. 
    321321All files staged out. 
    322 $ cat PARALLEL_MPI_1.out  
     322$ cat PARALLEL_MPI_2.out  
    323323Process 0 on grass1.man.poznan.pl out of 2 
    324324Process 1 on grass1.man.poznan.pl out of 2