Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let all but io-shared smpi-io tests use the hosts_with_disks platform
[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 ../../../examples/platforms/hosts_with_disks.xml -np 4 --log=xbt_cfg.thres:critical --log=smpi_kernel.thres:warning --log=smpi_mpi.thres:error --log=smpi_io.thres:verbose "--log=root.fmt:(%P@%h)%e%m%n" --cfg=smpi/simulate-computation:0 ${bindir:=.}/io-all
4 > You requested to use 4 ranks, but there is only 2 processes in your hostfile...
5 > [rank 0] -> bob
6 > [rank 1] -> carl
7 > [rank 2] -> bob
8 > [rank 3] -> carl
9 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
10 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 8
11 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
12 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
13 > (3@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
14 > (3@carl) Position after write in MPI_File /scratch/testfile : 16
15 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
16 > (1@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
17 > (1@carl) Position after write in MPI_File /scratch/testfile : 8
18 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
19 > (2@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
20 > (2@bob) Position after write in MPI_File /scratch/testfile : 12
21 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 8
22 > (0@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
23 > (0@bob) Position after write in MPI_File /scratch/testfile : 4
24 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
25 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 39
26 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 26
27 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
28 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 13
29 > (3@carl) Write in MPI_File /scratch/testfile, 12 bytes written, readsize 12 bytes, movesize 12
30 > (3@carl) Position after write in MPI_File /scratch/testfile : 51
31 > (1@carl) Write in MPI_File /scratch/testfile, 12 bytes written, readsize 12 bytes, movesize 12
32 > (1@carl) Position after write in MPI_File /scratch/testfile : 25
33 > (0@bob) Write in MPI_File /scratch/testfile, 12 bytes written, readsize 12 bytes, movesize 12
34 > (0@bob) Position after write in MPI_File /scratch/testfile : 12
35 > (2@bob) Write in MPI_File /scratch/testfile, 12 bytes written, readsize 12 bytes, movesize 12
36 > (2@bob) Position after write in MPI_File /scratch/testfile : 38
37 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
38 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 8
39 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
40 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
41 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
42 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 26
43 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 39
44 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 13
45 > (3@carl) Read in MPI_File /scratch/testfile, 12 bytes read, readsize 12 bytes, movesize 12
46 > (3@carl) Position after read in MPI_File /scratch/testfile : 51
47 > (1@carl) Read in MPI_File /scratch/testfile, 12 bytes read, readsize 12 bytes, movesize 12
48 > (1@carl) Position after read in MPI_File /scratch/testfile : 25
49 > (2@bob) Read in MPI_File /scratch/testfile, 12 bytes read, readsize 12 bytes, movesize 12
50 > (2@bob) Position after read in MPI_File /scratch/testfile : 38
51 > (0@bob) Read in MPI_File /scratch/testfile, 12 bytes read, readsize 12 bytes, movesize 12
52 > (0@bob) Position after read in MPI_File /scratch/testfile : 12