~maddevelopers/mg5amcnlo/dim6_eft

« back to all changes in this revision

Viewing changes to Template/NLO/SubProcesses/ajob_template

  • Committer: olivier Mattelaer
  • Date: 2014-09-24 20:33:52 UTC
  • mfrom: (253.17.56 2.2.0)
  • Revision ID: olivier.mattelaer@uclouvain.be-20140924203352-bplvftjd8czlhagt
pass to 2.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
fi
8
8
}
9
9
 
10
 
 
11
 
 
 
10
tarCounter=0
 
11
while [[ (-e MadLoop5_resources.tar.gz) && (! -e MadLoop5_resources/HelConfigs.dat) && ($tarCounter < 10) ]]; do
 
12
    if [[ $tarCounter > 0 ]]; then
 
13
        sleep 2s
 
14
    fi
 
15
    tar -xzf MadLoop5_resources.tar.gz >/dev/null 2>&1
 
16
    tarCounter=$[$tarCounter+1]
 
17
done
 
18
 
 
19
if [[ (-e MadLoop5_resources.tar.gz) && (! -e MadLoop5_resources/HelConfigs.dat) ]]; then
 
20
    echo "Cannot untar and unzip file `pwd`/MadLoop5_resources.tar.gz." > log.txt
 
21
    exit
 
22
fi
12
23
 
13
24
TAGTAGTAGTAGTAGTAGTAG for i in 1 ; do
14
25
    
43
54
        if [[ "$4" != "" ]]; then
44
55
            if [[ "$4" == "H" ||"$4" == "S" || "$4" == "V" || "$4" == "B" || "$4" == "F" ]]; then
45
56
                if [[ -e ../G$4$i ]]; then
46
 
                    cp -f ../G$4$i/mint_grids ./preset_mint_grids
 
57
                    cp -f ../G$4$i/mint_grids ./preset_mint_grids >/dev/null 2>&1
47
58
                    cp -f ../G$4$i/grid.MC_integer . >/dev/null 2>&1
48
59
                else
49
60
                    echo "Cannot find direcotry ../G$4$i/" > log.txt
78
89
        fi
79
90
    fi
80
91
 
81
 
    link1up MadLoopParams.dat
82
 
    link1up HelFilter.dat 
83
 
    link1up LoopFilter.dat
84
 
    link1up ColorDenomFactors.dat
85
 
    link1up HelConfigs.dat
86
 
    link1up ColorNumFactors.dat
87
92
    link1up FKS_params.dat
 
93
#   Not necessary anymore
 
94
#    link1up MadLoop5_resources
88
95
    link1up OLE_order.olc
89
96
    link1up param_card.dat
90
 
    link1up libLHAPDF.so
 
97
    link1up initial_states_map.dat
91
98
    
92
99
#   check where is the basic file for the creation of input_app.txt
93
100
#       
142
149
        status=$?
143
150
        T="$(($(date +%s)-T))"
144
151
        echo "Time in seconds: ${T}" >>log.txt
145
 
        cp -f log.txt log_MINT$3.txt
 
152
        cp -f log.txt log_MINT$3.txt  >/dev/null 2>&1
146
153
    fi
147
154
    exit $status
148
155
done