Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add io test in mpich testsuite.
[simgrid.git] / teshsuite / smpi / io-shared / io-shared.tesh
1 # Test for MPI_File_read and MPI_File_write
2 ! output sort
3 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -map -hostfile ../hostfile_io -platform ../../../examples/platforms/hosts_with_disks.xml -np 4 --log=xbt_cfg.thres:critical --log=smpi_config.thres:warning --log=smpi_mpi.thres:error --log=s4u_file.thres:error --log=smpi_io.thres:verbose "--log=root.fmt:(%P@%h)%e%m%n" --cfg=smpi/simulate-computation:0 ${bindir:=.}/io-shared
4 > [rank 0] -> bob
5 > [rank 1] -> carl
6 > [rank 2] -> bob
7 > [rank 3] -> carl
8 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
9 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
10 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
11 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
12 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
13 > (0@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
14 > (0@bob) Position after write in MPI_File /scratch/testfile : 4
15 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
16 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
17 > (2@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
18 > (2@bob) Position after write in MPI_File /scratch/testfile : 4
19 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
20 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
21 > (3@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
22 > (3@carl) Position after write in MPI_File /scratch/testfile : 4
23 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
24 > (1@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
25 > (1@carl) Position after write in MPI_File /scratch/testfile : 8
26 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
27 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
28 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
29 > (0@bob) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
30 > (0@bob) Position after read in MPI_File /scratch/testfile : 4
31 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 4
32 > (2@bob) Read in MPI_File /scratch/testfile, 0 bytes read, readsize 4 bytes, movesize 4
33 > (2@bob) Position after read in MPI_File /scratch/testfile : 4
34 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
35 > (3@carl) Read in MPI_File /scratch/testfile, 0 bytes read, readsize 4 bytes, movesize 4
36 > (3@carl) Position after read in MPI_File /scratch/testfile : 4
37 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
38 > (1@carl) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
39 > (1@carl) Position after read in MPI_File /scratch/testfile : 8