Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'tracemgrsplit' into 'master'
[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/storage/remote_io.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-shared
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 0
11 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
12 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
13 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
14 > (0@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
15 > (0@bob) Position after write in MPI_File /scratch/testfile : 4
16 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 4
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 : 8
19 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 8
20 > (3@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
21 > (3@carl) Position after write in MPI_File /scratch/testfile : 12
22 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
23 > (1@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
24 > (1@carl) Position after write in MPI_File /scratch/testfile : 16
25 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
26 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
27 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
28 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
29 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
30 > (0@bob) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
31 > (0@bob) Position after read in MPI_File /scratch/testfile : 4
32 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 4
33 > (2@bob) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
34 > (2@bob) Position after read in MPI_File /scratch/testfile : 8
35 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 8
36 > (3@carl) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
37 > (3@carl) Position after read in MPI_File /scratch/testfile : 12
38 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
39 > (1@carl) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
40 > (1@carl) Position after read in MPI_File /scratch/testfile : 16
41