88 |
} |
} |
89 |
|
|
90 |
|
|
91 |
|
# set -x |
92 |
|
|
93 |
|
|
94 |
cd $WorkDir || finish FAILURE "Could not cd to WorkDir $WorkDir" |
cd $WorkDir || finish FAILURE "Could not cd to WorkDir $WorkDir" |
95 |
|
|
96 |
# Create an empty out_file |
# Create an empty out_file |
113 |
module load esys/env # Recommended modules |
module load esys/env # Recommended modules |
114 |
module load doxygen/1.4.6 |
module load doxygen/1.4.6 |
115 |
module load boost/1.33.0/python-2.4.1 |
module load boost/1.33.0/python-2.4.1 |
116 |
|
module load gmsh-1.65.0 |
117 |
|
module load epydoc/2.1/python-2.4.3 |
118 |
|
|
119 |
# How many threads? One per CPU. |
# How many threads? One per CPU. |
120 |
export OMP_NUM_THREADS=\$NCPUS |
export OMP_NUM_THREADS=\$NCPUS |
124 |
cd trunk || finish FAILURE "Could not cd to trunk" |
cd trunk || finish FAILURE "Could not cd to trunk" |
125 |
scons -j \$NCPUS $target >> $out_file 2>&1 || finish FAILURE "Could not run scons $target" |
scons -j \$NCPUS $target >> $out_file 2>&1 || finish FAILURE "Could not run scons $target" |
126 |
|
|
127 |
|
# Run epydoc to create the python documentation |
128 |
|
echo "Running epydoc" |
129 |
|
export LD_LIBRARY_PATH="$PWD/lib:$LD_LIBRARY_PATH" |
130 |
|
mkdir release release/doc release/doc/epydoc |
131 |
|
scons api_epydoc >> $out_file 2>&1 || finish FAILURE "Could not run scons api_epydoc" |
132 |
|
cd release/doc/epydoc |
133 |
|
tar cf - . | ssh shake200 "cd /home/www/esys/esys13/nightly/epydoc; tar xf -" || finish FAILURE "Could not copy epydoc to shake200" |
134 |
|
cd ../../.. |
135 |
|
|
136 |
echo "Cleaning up after the tests" |
echo "Cleaning up after the tests" |
137 |
|
|
138 |
# Delete files older than 60 days |
# Delete files older than 60 days |