Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
89efceea9be08ac77e55b0ad6737194efc2c01f7
[simgrid.git] / teshsuite / smpi / io-all / io-all.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 ${platfdir:=.}/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:(%a@%h)%e%m%n" --cfg=smpi/simulate-computation:0 ${bindir:=.}/io-all
4 > (maestro@) [rank 0] -> bob
5 > (maestro@) [rank 1] -> carl
6 > (maestro@) [rank 2] -> bob
7 > (maestro@) [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 8
10 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
11 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
12 > (0@bob) Write in MPI_File /scratch/testfile, 4 bytes written, count 1, writesize 4 bytes, movesize 4
13 > (0@bob) Position after write in MPI_File /scratch/testfile : 4
14 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
15 > (2@bob) Write in MPI_File /scratch/testfile, 4 bytes written, count 1, writesize 4 bytes, movesize 4
16 > (2@bob) Position after write in MPI_File /scratch/testfile : 12
17 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 8
18 > (1@carl) Write in MPI_File /scratch/testfile, 4 bytes written, count 1, writesize 4 bytes, movesize 4
19 > (1@carl) Position after write in MPI_File /scratch/testfile : 8
20 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
21 > (3@carl) Write in MPI_File /scratch/testfile, 4 bytes written, count 1, writesize 4 bytes, movesize 4
22 > (3@carl) Position after write in MPI_File /scratch/testfile : 16
23 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
24 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
25 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 26
26 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 39
27 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 13
28 > (0@bob) Write in MPI_File /scratch/testfile, 12 bytes written, count 3, writesize 12 bytes, movesize 12
29 > (0@bob) Position after write in MPI_File /scratch/testfile : 12
30 > (2@bob) Write in MPI_File /scratch/testfile, 12 bytes written, count 3, writesize 12 bytes, movesize 12
31 > (2@bob) Position after write in MPI_File /scratch/testfile : 38
32 > (1@carl) Write in MPI_File /scratch/testfile, 12 bytes written, count 3, writesize 12 bytes, movesize 12
33 > (1@carl) Position after write in MPI_File /scratch/testfile : 25
34 > (3@carl) Write in MPI_File /scratch/testfile, 12 bytes written, count 3, writesize 12 bytes, movesize 12
35 > (3@carl) Position after write in MPI_File /scratch/testfile : 51
36 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
37 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 8
38 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
39 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
40 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
41 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 26
42 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 39
43 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 13
44 > (0@bob) Read in MPI_File /scratch/testfile, 12 bytes read, count 3, readsize 12 bytes, movesize 12
45 > (0@bob) Position after read in MPI_File /scratch/testfile : 12
46 > (2@bob) Read in MPI_File /scratch/testfile, 12 bytes read, count 3, readsize 12 bytes, movesize 12
47 > (2@bob) Position after read in MPI_File /scratch/testfile : 38
48 > (1@carl) Read in MPI_File /scratch/testfile, 12 bytes read, count 3, readsize 12 bytes, movesize 12
49 > (1@carl) Position after read in MPI_File /scratch/testfile : 25
50 > (3@carl) Read in MPI_File /scratch/testfile, 12 bytes read, count 3, readsize 12 bytes, movesize 12
51 > (3@carl) Position after read in MPI_File /scratch/testfile : 51