Package Details

Package: scamp-2.5.0+4
Product: scamp
SVN Revision: 45719
Effective SVN Revision (incl depedencies): 45719
Effective latest update: 31/05/2017-08:57
Lifecycle: operational
Lifecycle (spec): operational
State: OK
Validation State: OK
Inherited State: OK
Build State: OK
Test State: OK

Dependency Graph

Remark: The dependency graph depicts for packages dependant on scamp-2.5.0+4 only the latest version per product. Furthermore, test dependencies are not visible.

Listed Dependencies (main)

fftw-3.3.2+5 OK
atlas_netlib-3.8.4+10 OK
plplot-5.9.9+22 OK

Listed Dependencies (test)

scamptestdata-1.1+0 OK
destestutils-0.1.1+7 OK
astropy-1.1.2+3 OK

For a list with all direct and indirect dependencies and dependants (main and test) see all dependencies.

Messages:

OK Package validated, build and test status ok.

All Reports

build desbuild 31/05/2017-09:01 OK
test desbuild 06/06/2017-10:11 OK

Table File

1 setupRequired(plplot 5.9.9+22)
2 setupRequired(fftw 3.3.2+5)
3 setupRequired(atlas_netlib 3.8.4+10)
4
5 setupTest(scamptestdata 1.1+0)
6 setupTest(destestutils 0.1.1+7)
7 setupTest(astropy 1.1.2+3)
8
9 envPrepend(PATH, ${PRODUCT_DIR}/bin)

Build File

1 #!/usr/bin/env bash
2 svn co "$SVNROOT/terapix/tags/$PRODUCT-$VERSION"
3 find . -exec touch --reference . {} \;
4 cd $PRODUCT-$VERSION
5
6 # This version no longer uses cdsclient
7
8
9 if [[ "$FLAVOR" =~ Linux.* ]] ; then
10
11 # Case 1 -- ICC + MKL libraries
12 if [[ "${ICC_COMPILER:-}" ]]; then
13 echo 'ICC_COMPILER is set to:' $ICC_COMPILER
14 sh autogen.sh
15 ./configure --prefix=$PRODUCT_DIR --enable-static \
16 --enable-threads \
17 --enable-icc --enable-mkl \
18 --with-mkl-dir=$MKLROOT\
19 --with-plplot-libdir=$PLPLOT_DIR/lib --with-plplot-incdir=$PLPLOT_DIR/include/plplot
20
21 # Case 2 -- gcc + atlas/lapack
22 else
23 sh autogen.sh
24 sed -i -e 's/tatlas/lapack/g' configure
25 sed -i -e 's/satlas/lapack/g' configure
26 sed -i -e 's/LIBS=\"\-l\$ac_lib \$acx_atlas_libopt/LIBS=\"\-l\$ac_lib \$acx_atlas_libopt \$acx_atlas_oldextralibs/' configure
27 sed -i -e 's/-latlas -lptcblas -lcblas/-lcblas -latlas -lm/' configure
28 sed -i -e 's/-latlas -lcblas/-lcblas -latlas -lm/' configure
29 ./configure --prefix=$PRODUCT_DIR --enable-static \
30 --enable-threads \
31 --with-atlas-libdir=$ATLAS_NETLIB_DIR/lib --with-atlas-incdir=$ATLAS_NETLIB_DIR/include \
32 --with-fftw-libdir=$FFTW_DIR/lib --with-fftw-incdir=$FFTW_DIR/include \
33 --with-plplot-libdir=$PLPLOT_DIR/lib --with-plplot-incdir=$PLPLOT_DIR/include/plplot
34
35 # Finally we need to fix the Makefile(s)
36 sed -i -e 's/lapack/lapack -lcblas -latlas/' Makefile
37 sed -i -e 's/lapack/lapack -lcblas -latlas/' src/Makefile
38 fi
39
40 make
41 make install
42
43 elif [[ "$FLAVOR" =~ Darwin* ]] ; then
44
45 # For Darwin we need to compile with gcc/g++ to make it compatible with numpy
46 export CC="gcc"
47 export CXX="g++"
48
49 sh autogen.sh
50 sed -i -e 's/tatlas/lapack/g' configure
51 sed -i -e 's/satlas/lapack/g' configure
52 sed -i -e 's/LIBS=\"\-l\$ac_lib \$acx_atlas_libopt/LIBS=\"\-l\$ac_lib \$acx_atlas_libopt \$acx_atlas_oldextralibs/' configure
53 sed -i -e 's/-latlas -lptcblas -lcblas/-lcblas -latlas -lm/' configure
54 sed -i -e 's/-latlas -lcblas/-lcblas -latlas -lm/' configure
55 ./configure --prefix=$PRODUCT_DIR --enable-static \
56 --enable-threads \
57 --with-atlas-libdir=$ATLAS_NETLIB_DIR/lib --with-atlas-incdir=$ATLAS_NETLIB_DIR/include \
58 --with-fftw-libdir=$FFTW_DIR/lib --with-fftw-incdir=$FFTW_DIR/include \
59 --with-plplot-libdir=$PLPLOT_DIR/lib --with-plplot-incdir=$PLPLOT_DIR/include/plplot
60
61 # Finally we need to fix the Makefile(s)
62 sed -i -e 's/lapack/lapack -lcblas -latlas/' Makefile
63 sed -i -e 's/lapack/lapack -lcblas -latlas/' src/Makefile
64
65 make
66 make install
67
68 else
69 echo "Unsupported architecture $FLAVOR. Only Linux, Linux64, DarwinX86 are supported." >&2
70 exit 2
71 fi