/jube/compile.xml
XML | 185 lines | 151 code | 27 blank | 7 comment | 0 complexity | e6d232c8817485d833c6f128342e607f MD5 | raw file
Possible License(s): GPL-2.0, LGPL-3.0
- <compilation>
- <!-- predefined vars: -->
- <!-- $outdir -> output directory for temporary compile files-->
- <!-- $id -> identifier of this benchmark run-->
- <!-- compile GSL: ./configure - -prefix=$HOME/gsl - -disable-shared -->
- <compile cname="Cray-XT5-Shanghai-Louhi">
- <src directory="./octopus" files="." />
- <command>
- source /opt/modules/default/init/bash ;
- module unload PrgEnv-pgi pgi;
- module load intel PrgEnv-intel;
- module swap xtpe-barcelona xtpe-shanghai;
- module load acml;
- module load fftw;
- autoreconf -i;
- export CC=cc;
- export FC=ftn;
- export CFLAGS="-u -fpp1 -pc80 -align -unroll -O3 -ip -no-fp-port -mno-ieee-fp -vec-report0 -no-prec-div";
- export FCFLAGS="-nbs -p $CFLAGS";
- ./configure --prefix=$outdir \
- --with-gsl-prefix=$HOME/gsl \
- --enable-mpi \
- --disable-gdlib;
- make;
- make install;
- make clean;
- tar -C $outdir -cf $execname bin lib include share;
- </command>
- </compile>
- <compile cname="Cray-XT5-Barcelona-Louhi">
- <src directory="./octopus" files="." />
- <command>
- source /opt/modules/default/init/bash ;
- module unload PrgEnv-pgi pgi;
- module load intel PrgEnv-intel;
- module load acml;
- module load fftw;
- autoreconf -i;
- export CC=cc;
- export FC=ftn;
- export CFLAGS="-u -fpp1 -pc80 -align -unroll -O3 -ip -no-fp-port -mno-ieee-fp -vec-report0 -no-prec-div";
- export FCFLAGS="-nbs -p $CFLAGS";
- ./configure --prefix=$outdir \
- --with-gsl-prefix=$HOME/gsl \
- --enable-mpi \
- --disable-gdlib;
- make;
- make install;
- make clean;
- tar -C $outdir -cf $execname bin lib include share;
- </command>
- </compile>
- <compile cname="IBM-BGP-Jugene">
- <src directory="./octopus" files="." />
- <command>
- module load gsl;
- module load lapack;
- autoreconf -i;
- export FC_INTEGER_SIZE=4;
- export CC_FORTRAN_INT=int;
- export CC=mpixlc_r;
- export CFLAGS='-g -O3 -qarch=450d';
- export FC=mpixlf90_r;
- export FCFLAGS='-g -O3 -qarch=450d -qxlf90=autodealloc -qessl -qsmp=omp';
- export LIBS_BLAS="-lesslsmpbg -L/opt/ibmmath/essl/4.4/lib -lesslbg";
- export LIBS_LAPACK="-L$LAPACK_LIB -llapack";
- export LIBS_FFT="-L/bgsys/local/fftw3/lib/ -lfftw3 -lm";
- ./configure --prefix=$outdir \
- --host=powerpc32-unknown-linux-gnu \
- --build=powerpc64-unknown-linux-gnu \
- --disable-gdlib \
- --with-gsl-prefix=$GSL_DIR \
- --enable-mpi --enable-openmp;
- make;
- make install;
- make clean;
- tar -C $outdir -cf $execname bin lib include share;
- </command>
- </compile>
- <compile cname="IBM-SP6-Huygens">
- <src directory="./octopus" files="." />
- <command>
- module load fftw3
- module load gsl;
- module load lapack;
- echo localhost > $PWD/hostfile;
- export MP_HOSTFILE=$PWD/hostfile;
- export MP_PROCS=1; # Otherwise files compiled with mpp do not run;
- autoreconf -i;
- export CC=mpcc;
- export CFLAGS='-g -O3 -qarch=auto';
- export FC=mpfort;
- export FCFLAGS='-g -O3 -qfree=f90 -qnosave -qarch=auto -qxlf90=autodealloc -qessl -I/opt/ibmhpc/ppe.poe/include/';
- export LIBS_BLAS="-lessl";
- export LIBS_LAPACK="-L$SARA_LAPACK_LIB -llapack";
- export LIBS_FFT="-L$SARA_FFTW3_LIB -lfftw3 -lm";
- ./configure --prefix=$outdir \
- --disable-gdlib \
- --disable-f90-forall \
- --with-gsl-prefix=$SARA_GSL_ROOT \
- --enable-mpi;
- make;
- make install;
- make clean;
- tar -C $outdir -cf $execname bin lib include share;
- </command>
- </compile>
- <!-- compile GSL: ./configure - -prefix=$HOME/gsl - -disable-shared -->
- <compile cname="IBM-Cell-MariCel">
- <src directory="./octopus" files="." />
- <command>
- autoreconf -i;
- export OMPI_FC=/opt/ibmcmp/xlf/cbe/11.1/bin/ppuxlf;
- export OMPI_CC=/opt/ibmcmp/xlc/cbe/10.1/bin/ppuxlc;
- export OMPI_FCFLAGS="";
- export OMPI_CFLAGS="";
- export OMPI_LDFLAGS="-L/opt/openmpi/ppc64/lib/";
- export CC="mpicc";
- export FC="mpif90";
- export CFLAGS="-q64 -O3 -qarch=auto -qcache=auto";
- export FCFLAGS="$CFLAGS -qextname -qxlf90=autodealloc";
- export LDFLAGS="-lspe2";
- export LIBS_BLAS="-L/gpfs/data/home/Applications/afarres/soft/lib/ -lblas_xlf";
- export LIBS_LAPACK="-llapack_xlf";
- export LIBS_FFT="-L/gpfs/data/home/Applications/afarres/soft/lib/ -lfftw3_xlf";
- ./configure --prefix=$outdir \
- --with-gsl-prefix=$HOME/gsl \
- --disable-gdlib --disable-f90-forall \
- --enable-mpi;
- make;
- make install;
- make clean;
- tar -C $outdir -cf $execname bin lib include share;
- </command>
- </compile>
- <!-- compile GSL: ./configure - -prefix=$HOME/gsl - -disable-shared -->
- <!-- compile FFTW: ./configure - -prefix=$HOME/fftw - -disable-shared -->
- <compile cname="BULL-RS422-teraplus">
- <src directory="./octopus" files="." />
- <command>
- module load mkl/10.0.010;
- autoreconf -i;
- export CC=mpicc;
- export FC=mpif90;
- export CFLAGS="-u -fpp1 -pc80 -align -unroll -O3 -ip -no-fp-port -mno-ieee-fp -vec-report0 -no-prec-div";
- export FCFLAGS="-nbs -p $CFLAGS";
- export LIBS_BLAS="-L$LIBRARY_PATH -lmkl -lguide";
- export LIBS_FFT="-L$HOME/fftw/lib -lfftw3"
- ./configure --prefix=$outdir \
- --with-gsl-prefix=$HOME/gsl \
- --enable-mpi;
- make;
- make install;
- make clean;
- tar -C $outdir -cf $execname bin lib include share;
- </command>
- </compile>
- </compilation>