~ubuntu-branches/ubuntu/utopic/adios/utopic

« back to all changes in this revision

Viewing changes to tests/suite/tests/05_global_array_time.sh

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2013-12-09 15:21:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20131209152131-jtd4fpmdv3xnunnm
Tags: 1.5.0-1
* New upstream.
* Standards-Version: 3.9.5
* Include latest config.{sub,guess} 
* New watch file.
* Create libadios-bin for binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
fi
33
33
 
34
34
echo "Check output with bpls"
35
 
$TRUNKDIR/utils/bpls/bpls -lav adios_globaltime.bp | grep -v endianness > c_bpls.txt
 
35
$TRUNKDIR/utils/bpls/bpls -la adios_globaltime.bp | grep -v endianness > c_bpls.txt
36
36
diff -q c_bpls.txt $SRCDIR/reference/global_array_time_bpls.txt
37
37
if [ $? != 0 ]; then
38
38
    echo "ERROR: C version of adios_globaltime produced a file different from the reference."
39
 
    echo "Compare \"bpls -lav $PWD/adios_globaltime.bp | grep -v endianness\" to reference $SRCDIR/reference/global_array_time_bpls.txt"
 
39
    echo "Compare \"bpls -la $PWD/adios_globaltime.bp | grep -v endianness\" to reference $SRCDIR/reference/global_array_time_bpls.txt"
40
40
    exit 1
41
41
fi
42
42
 
43
43
echo "Run C adios_read_globaltime"
44
 
$MPIRUN $NP_MPIRUN $PROCS ./adios_read_globaltime | sort > c_read.txt
 
44
$MPIRUN $NP_MPIRUN $PROCS ./adios_read_globaltime > c_read.txt
45
45
EX=$?
46
46
if [ $? != 0 ]; then
47
47
    echo "ERROR: C version of adios_read_globaltime exited with $EX"
77
77
fi
78
78
 
79
79
echo "Check output with bpls"
80
 
$TRUNKDIR/utils/bpls/bpls -lav adios_globaltime.bp | grep -v endianness > f_bpls.txt
 
80
$TRUNKDIR/utils/bpls/bpls -la adios_globaltime.bp | grep -v endianness > f_bpls.txt
81
81
diff -q f_bpls.txt $SRCDIR/reference/global_array_time_bpls.txt
82
82
if [ $? != 0 ]; then
83
83
    echo "ERROR: Fortran version of adios_globaltime produced a file different from the reference."
84
 
    echo "Compare \"bpls -lav $PWD/adios_globaltime.bp | grep -v endianness\" to reference $SRCDIR/reference/global_array_time_bpls.txt"
 
84
    echo "Compare \"bpls -la $PWD/adios_globaltime.bp | grep -v endianness\" to reference $SRCDIR/reference/global_array_time_bpls.txt"
85
85
    exit 1
86
86
fi
87
87