File: run-unit-test

package info (click to toggle)
examl 3.0.22-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,180 kB
  • sloc: ansic: 27,326; makefile: 74; sh: 48
file content (69 lines) | stat: -rw-r--r-- 2,979 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/bash
set -ex

pkg="examl"

export OMPI_MCA_rmaps_base_oversubscribe=1
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1

if [ "$AUTOPKGTEST_TMP" = "" ] ; then
  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi

cp -a /usr/share/doc/${pkg}/testData $AUTOPKGTEST_TMP

cd $AUTOPKGTEST_TMP

gunzip -r *

parse-examl -s testData/49 -m DNA -n 49.unpartitioned
parse-examl -s testData/49 -q testData/49.model -m DNA -n 49.partitioned

examl -t testData/49.tree -m GAMMA -s 49.unpartitioned.binary -n T1
examl -s 49.unpartitioned.binary -R ExaML_binaryCheckpoint.T1_5 -m GAMMA -n T1_RESTART
examl -t testData/49.tree -m GAMMA -s 49.partitioned.binary -n T2

examl -s 49.unpartitioned.binary -t treeSet -f e -m GAMMA -n T3 || true
# ---->
# /usr/lib/examl/bin/examl-AVX -s 49.unpartitioned.binary -t treeSet -f e -m GAMMA -n T3 
# Memory Saving Option: DISABLED
# The file treeSet you want to open for reading does not exist, exiting ...
# -------------------------------------------------------
# Primary job  terminated normally, but 1 process returned
# a non-zero exit code. Per user-direction, the job has been aborted.
# -------------------------------------------------------
# --------------------------------------------------------------------------
# mpirun detected that one or more processes exited with non-zero status, thus causing
# the job to be terminated. The first process to do so was:
# 
#   Process name: [[60438,1],0]
#   Exit code:    255
# --------------------------------------------------------------------------

examl -s 49.unpartitioned.binary -t treeSet -f E -m GAMMA -n T4 || true
# ---->
# /usr/lib/examl/bin/examl-AVX -s 49.unpartitioned.binary -t treeSet -f E -m GAMMA -n T4 
# Memory Saving Option: DISABLED
# The file treeSet you want to open for reading does not exist, exiting ...
# -------------------------------------------------------
# Primary job  terminated normally, but 1 process returned
# a non-zero exit code. Per user-direction, the job has been aborted.
# -------------------------------------------------------
# --------------------------------------------------------------------------
# mpirun detected that one or more processes exited with non-zero status, thus causing
# the job to be terminated. The first process to do so was:
# 
#   Process name: [[60781,1],0]
#   Exit code:    255
# --------------------------------------------------------------------------

exit 0

#  Hmmmm, the following command does not end in a sensible time frame
examl-OMP -t testData/49.tree -m GAMMA -s 49.unpartitioned.binary -n T1-OMP
examl-OMP -s 49.unpartitioned.binary -R ExaML_binaryCheckpoint.T1_5 -m GAMMA -n T1_RESTART-OMP
examl-OMP -t testData/49.tree -m GAMMA -s 49.partitioned.binary -n T2-OMP
#examl-OMP -s 49.unpartitioned.binary -t treeSet -f e -m GAMMA -n T3-OMP
#examl-OMP -s 49.unpartitioned.binary -t treeSet -f E -m GAMMA -n T4-OMP