Changes between Version 14 and Version 15 of UMDVerification
- Timestamp:
- 07/31/13 17:30:43 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UMDVerification
v14 v15 234 234 }}} 235 235 === PARALLEL_MPI_2 === 236 Parallel Job Appliances must support the execution of MPI jobs that are compiled at 237 submission time. 236 238 {{{ 237 239 $ cat > hello-mpi.c << EOF … … 253 255 } 254 256 EOF 255 $ module load openmpi256 $ mpicc hello-mpi.c -o hello-mpi257 257 $ cat > bash.xml << EOF 258 258 <?xml version="1.0" encoding="UTF-8"?> … … 264 264 <jsdl:JobDescription> 265 265 <jsdl:JobIdentification> 266 <jsdl:JobName>PARALLEL_MPI_ 1</jsdl:JobName>266 <jsdl:JobName>PARALLEL_MPI_2</jsdl:JobName> 267 267 </jsdl:JobIdentification> 268 268 <jsdl:Application> … … 270 270 <jsdl-hpcpa:HPCProfileApplication> 271 271 <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> 273 273 </jsdl-hpcpa:HPCProfileApplication> 274 274 </jsdl:Application> 275 275 <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> 280 280 </jsdl:Source> 281 281 </jsdl:DataStaging> … … 288 288 </jsdl:DataStaging> 289 289 <jsdl:DataStaging> 290 <jsdl:FileName>PARALLEL_MPI_ 1.out</jsdl:FileName>290 <jsdl:FileName>PARALLEL_MPI_2.out</jsdl:FileName> 291 291 <jsdl:CreationFlag>overwrite</jsdl:CreationFlag> 292 292 <jsdl:Target> 293 <jsdl:URI>PARALLEL_MPI_ 1.out</jsdl:URI>293 <jsdl:URI>PARALLEL_MPI_2.out</jsdl:URI> 294 294 </jsdl:Target> 295 295 </jsdl:DataStaging> … … 305 305 #!/bin/bash 306 306 307 chmod a+x hello-mpi308 307 module load openmpi 308 mpicc hello-mpi.c -o hello-mpi 309 309 mpiexec ./hello-mpi 310 310 EOF … … 318 318 status = Finished (exit status = 0) 319 319 $ qcg-comp -o -J bash.xml 320 File PARALLEL_MPI_ 1.out staged out.320 File PARALLEL_MPI_2.out staged out. 321 321 All files staged out. 322 $ cat PARALLEL_MPI_ 1.out322 $ cat PARALLEL_MPI_2.out 323 323 Process 0 on grass1.man.poznan.pl out of 2 324 324 Process 1 on grass1.man.poznan.pl out of 2