NWChem/.travis.yml

64 lines
2.7 KiB
YAML
Raw Normal View History

2017-11-21 14:58:34 -08:00
language: c
matrix:
2017-11-21 15:52:58 -08:00
include:
2017-11-21 16:20:08 -08:00
- os: linux
2017-11-21 22:59:23 -08:00
dist: trusty
2017-11-21 16:20:08 -08:00
sudo: required
compiler:
- gcc
env: == default ==
NWCHEM_TOP=$TRAVIS_BUILD_DIR
NWCHEM_TARGET=LINUX64
2017-11-22 18:40:59 -08:00
NWCHEM_MODULES="nwdft driver stepper property hessian vib mp2_grad ccsd solvation python"
USE_MPI=y
2017-11-21 15:42:20 -08:00
USE_64TO32=y
BLASOPT="-L$TRAVIS_BUILD_DIR/lib -lopenblas -lpthread -lrt"
BLAS_SIZE=4
2017-11-22 18:40:59 -08:00
SCALAPACK="-L$TRAVIS_BUILD_DIR/lib -lscalapack -lnwclapack -lopenblas -lpthread -lrt"
2017-11-21 15:52:58 -08:00
SCALAPACK_SIZE=4
USE_PYTHONCONFIG=y
PYTHONVERSION=2.7
PYTHONHOME=/usr
2017-11-22 18:40:59 -08:00
LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/lib:$LD_LIBRARY_PATH
before_script:
- printenv TRAVIS_BUILD_DIR
- printenv NWCHEM_TOP
2017-11-21 22:59:23 -08:00
- sudo apt-get -y install gfortran gcc python-dev cmake
2017-11-21 16:10:48 -08:00
- sudo apt-get -y install libopenmpi-dev openmpi-bin tcsh make automake libtool autoconf
- sudo apt-get -y install perl
2017-11-21 22:59:23 -08:00
- ls -lrt $TRAVIS_BUILD_DIR
- ls -lrt $NWCHEM_TOP
2017-11-21 16:12:12 -08:00
- cd $NWCHEM_TOP/src && make nwchem_config && make 64_to_32 >& 6log &
2017-11-22 12:51:26 -08:00
- ./travis/build_openblas.sh
- ./travis/build_scalapack.sh
2017-11-21 16:11:29 -08:00
- sleep 1
2017-11-21 15:27:16 -08:00
script:
2017-11-22 16:08:31 -08:00
- cd $NWCHEM_TOP/src/tce && make 64_to_32 >& 6log &
2017-11-22 21:30:00 -08:00
- cd $NWCHEM_TOP/src && ../travis/sleep_loop.sh make -j3
2017-11-21 22:59:23 -08:00
- tail -2 $NWCHEM_TOP/src/6log
- tail -2 $NWCHEM_TOP/src/tce/6log
2017-11-22 23:37:39 -08:00
- head -2 $NWCHEM_TOP/src/tools/build/config.log
2017-11-21 22:59:23 -08:00
- tail -2 $NWCHEM_TOP/src/tools/build/config.log
- tail -10 $NWCHEM_TOP/src/make.log
2017-11-22 18:40:59 -08:00
- cd $NWCHEM_TOP/src && make nwchem_config NWCHEM_MODULES="nwdft driver stepper property hessian vib mp2_grad ccsd solvation python tce"
2017-11-22 23:37:39 -08:00
- cd $NWCHEM_TOP/src/tce && head -2 dependencies && rm -f dependencies
2017-11-22 17:12:34 -08:00
- grep -i dot $NWCHEM_TOP/src/tce/tce_residual_t1.F
2017-11-22 22:37:19 -08:00
- make include_stamp dependencies >& dep.log && tail -2 dep.log
2017-11-22 17:12:34 -08:00
- wait
2017-11-22 23:37:39 -08:00
- tail -2 $NWCHEM_TOP/src/tce/6log
2017-11-22 17:12:34 -08:00
- grep -i dot $NWCHEM_TOP/src/tce/tce_residual_t1.F
2017-11-22 23:53:48 -08:00
- cd $NWCHEM_TOP/src/tce && ../../travis/sleep_loop.sh make FDEBUG="-O0 -g" FOPTIMIZE="-O0 -g" -j4
2017-11-22 22:10:49 -08:00
- tail -4 $NWCHEM_TOP/src/make.log
2017-11-22 18:40:59 -08:00
- cd $NWCHEM_TOP/src && make link
- cd $NWCHEM_TOP/QA && ./runtests.mpi.unix procs 2 dft_siosi3
- cd $NWCHEM_TOP/QA && ./doafewqmtests.mpi 2
2017-11-21 15:32:09 -08:00
after_failure:
2017-11-21 22:59:23 -08:00
- tail -20 $NWCHEM_TOP/src/tools/build/config.log
- tail -10 $NWCHEM_TOP/src/tools/build/comex/config.log
- grep -A 2 -B 2 -i error $NWCHEM_TOP/src/make.log
2017-11-22 22:10:49 -08:00
- head -200 $NWCHEM_TOP/src/make.log
- tail -200 $NWCHEM_TOP/src/make.log
2017-11-22 18:40:59 -08:00
- grep d= $NWCHEM_TOP/QA/testoutputs/dft_he2+.out
- grep @ $NWCHEM_TOP/QA/testoutputs/h2o_opt.out
2017-11-21 22:59:23 -08:00