Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add io test in mpich testsuite.
[simgrid.git] / teshsuite / smpi / io-ordered / io-ordered.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-ordered
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 80
10 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 40
11 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 120
12 > (3@carl) Write in MPI_File /scratch/testfile, 40 bytes written, readsize 40 bytes, movesize 40
13 > (3@carl) Position after write in MPI_File /scratch/testfile : 160
14 > (1@carl) Write in MPI_File /scratch/testfile, 40 bytes written, readsize 40 bytes, movesize 40
15 > (1@carl) Position after write in MPI_File /scratch/testfile : 80
16 > (2@bob) Write in MPI_File /scratch/testfile, 40 bytes written, readsize 40 bytes, movesize 40
17 > (2@bob) Position after write in MPI_File /scratch/testfile : 120
18 > (0@bob) Write in MPI_File /scratch/testfile, 40 bytes written, readsize 40 bytes, movesize 40
19 > (0@bob) Position after write in MPI_File /scratch/testfile : 40
20 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
21 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
22 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
23 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
24 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
25 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 80
26 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 40
27 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 120
28 > (3@carl) Read in MPI_File /scratch/testfile, 40 bytes read, readsize 40 bytes, movesize 40
29 > (3@carl) Position after read in MPI_File /scratch/testfile : 160
30 > (1@carl) Read in MPI_File /scratch/testfile, 40 bytes read, readsize 40 bytes, movesize 40
31 > (1@carl) Position after read in MPI_File /scratch/testfile : 80
32 > (2@bob) Read in MPI_File /scratch/testfile, 40 bytes read, readsize 40 bytes, movesize 40
33 > (2@bob) Position after read in MPI_File /scratch/testfile : 120
34 > (0@bob) Read in MPI_File /scratch/testfile, 40 bytes read, readsize 40 bytes, movesize 40
35 > (0@bob) Position after read in MPI_File /scratch/testfile : 40
36 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
37 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
38 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
39 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 0