Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
16f351efe631cbaa68b89259ec8ac73fc77b5ad4
[simgrid.git] / teshsuite / smpi / io-simple-at / io-simple-at.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=smpi_io.thres:verbose "--log=root.fmt:(%P@%h)%e%m%n" --cfg=smpi/simulate-computation:0 ${bindir:=.}/io-simple-at
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 > (0@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
12 > (0@bob) Position after write in MPI_File /scratch/testfile : 4
13 > (2@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
14 > (2@bob) Position after write in MPI_File /scratch/testfile : 12
15 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
16 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
17 > (3@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
18 > (3@carl) Position after write in MPI_File /scratch/testfile : 16
19 > (1@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
20 > (1@carl) Position after write in MPI_File /scratch/testfile : 8
21 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
22 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 8
23 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
24 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
25 > (3@carl) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
26 > (3@carl) Position after read in MPI_File /scratch/testfile : 16
27 > (1@carl) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
28 > (1@carl) Position after read in MPI_File /scratch/testfile : 8
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) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
32 > (2@bob) Position after read in MPI_File /scratch/testfile : 12