Changeset 24639
- Timestamp:
- 03/04/20 20:42:07 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 3 deleted
- 16 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/dakota/install-6.2-linux-static.sh
r24632 r24639 6 6 # 7 7 DAK_ROOT=${ISSM_DIR}/externalpackages/dakota 8 MPI_INSTALL=${ISSM_DIR}/externalpackages/petsc/install9 8 VER="6.2" 10 9 11 10 ## Environment 12 11 # 13 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lf 2cblas -L/usr/lib/gcc/x86_64-linux-gnu/8-lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it12 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas -L${ISSM_DIR}/lib -lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 14 13 export BOOST_ROOT=${ISSM_DIR}/externalpackages/boost/install 15 14 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost (absolutely necessary for this version) … … 18 17 export DAK_INSTALL=${DAK_ROOT}/install 19 18 export DAK_SRC=${DAK_ROOT}/src 20 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lf2clapack -L/usr/lib/gcc/x86_64-linux-gnu/8 -lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 21 export MPIHOME=${MPI_INSTALL} # This appears to only be used by certain external packages and examples 19 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack -L${ISSM_DIR}/lib -lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 22 20 23 21 # Cleanup … … 49 47 -DBUILD_SHARED_LIBS=OFF \ 50 48 -DBUILD_STATIC_LIBS=ON \ 51 -DCMAKE_C_COMPILER=${MPI_ INSTALL}/bin/mpicc \52 -DCMAKE_CXX_COMPILER=${MPI_ INSTALL}/bin/mpicxx \53 -DCMAKE_Fortran_COMPILER=${MPI_ INSTALL}/bin/mpif77 \49 -DCMAKE_C_COMPILER=${MPI_HOME}/bin/mpicc \ 50 -DCMAKE_CXX_COMPILER=${MPI_HOME}/bin/mpicxx \ 51 -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \ 54 52 -DCMAKE_C_FLAGS="-fPIC" \ 55 53 -DCMAKE_CXX_FLAGS="-fPIC" \ -
issm/trunk-jpl/externalpackages/dakota/install-6.2-linux.sh
r24632 r24639 6 6 # 7 7 DAK_ROOT=${ISSM_DIR}/externalpackages/dakota 8 MPI_INSTALL=${ISSM_DIR}/externalpackages/petsc/install9 8 VER="6.2" 10 9 11 10 ## Environment 12 11 # 13 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lf 2cblas" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it12 export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas -L/usr/lib/x86_64-linux-gnu -lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 14 13 export BOOST_ROOT=${ISSM_DIR}/externalpackages/boost/install 15 14 export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost (absolutely necessary for this version) … … 18 17 export DAK_INSTALL=${DAK_ROOT}/install 19 18 export DAK_SRC=${DAK_ROOT}/src 20 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lf2clapack" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 21 export MPIHOME=${MPI_INSTALL} # This appears to only be used by certain external packages and examples 19 export LAPACK_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lflapack -L/usr/lib/x86_64-linux-gnu -lgfortran" # Need to export LAPACK_LIBS *and* pass it as an option to CMake to ensure that external packages also find it 22 20 23 21 # Cleanup … … 25 23 mkdir build install src 26 24 27 # Download from ISSM server25 # Download source 28 26 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/dakota-${VER}-public.src.tar.gz" "dakota-${VER}-public-src.tar.gz" 29 27 … … 49 47 -DBUILD_SHARED_LIBS=ON \ 50 48 -DBUILD_STATIC_LIBS=OFF \ 51 -DCMAKE_C_COMPILER=${MPI_ INSTALL}/bin/mpicc \52 -DCMAKE_CXX_COMPILER=${MPI_ INSTALL}/bin/mpicxx \53 -DCMAKE_Fortran_COMPILER=${MPI_ INSTALL}/bin/mpif77 \49 -DCMAKE_C_COMPILER=${MPI_HOME}/bin/mpicc \ 50 -DCMAKE_CXX_COMPILER=${MPI_HOME}/bin/mpicxx \ 51 -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \ 54 52 -DHAVE_ACRO=OFF \ 55 53 -DHAVE_JEGA=OFF \ -
issm/trunk-jpl/externalpackages/petsc/install-3.11-linux-static.sh
r24637 r24639 5 5 ## Constants 6 6 # 7 VER="3.1 2.3"7 VER="3.11.3" 8 8 9 9 # Download source -
issm/trunk-jpl/externalpackages/petsc/install-3.11-mac-static.sh
r24637 r24639 5 5 ## Constants 6 6 # 7 VER="3.1 2.3"7 VER="3.11.3" 8 8 9 9 # Download source -
issm/trunk-jpl/externalpackages/petsc/install-3.11-mac.sh
r24637 r24639 26 26 --prefix="${ISSM_DIR}/externalpackages/petsc/install" \ 27 27 --PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" \ 28 --COPTFLAGS="-O2" \ 29 --CXXOPTFLAGS="-O2" \ 30 --FOPTFLAGS="-O2" \ 28 31 --with-debugging=0 \ 29 32 --with-valgrind=0 \ -
issm/trunk-jpl/jenkins/jenkins.sh
r24458 r24639 16 16 rm -rf $ISSM_DIR/execution/* 17 17 rm -rf $ISSM_DIR/nightlylog 18 mkdir 18 mkdir $ISSM_DIR/nightlylog 19 19 20 20 #Server URI … … 31 31 if [ ! -f "$1" ] 32 32 then 33 echo "File $1 not found!" >&2 33 echo "File $1 not found!" >&2 # Error message to stderr. 34 34 exit 1 35 35 fi … … 67 67 SVN_CURRENT=$SVN_REVISION_1 68 68 echo "Previous revision number: $SVN_PREVIOUS" 69 echo "Current 69 echo "Current revision number: $SVN_CURRENT" 70 70 71 71 # Get list of changed files … … 82 82 #cat changes | grep 'document_edit' |sed -e 's/document_edit.png/document_edit.png\ 83 83 #/g' | sed -e 's/.*<\/a><\/td><td>\(.*\)<\/td><\/tr>.*/\1/' | grep -v 'document_edit.png' > $ISSM_DIR/TEMP 84 cat changes 84 cat changes | tr " " "\n" | grep trunk | sed -e 's/.*<a>\(.*\)<\/a>.*/\1/' > $ISSM_DIR/TEMP 85 85 86 86 # Print list of changed files … … 146 146 echo $SVN_REVISION_1 > $ISSM_DIR/svn_revision_old 147 147 #}}} 148 #Install external packages (ISSM_EXTERNALPACKAGES){{{ 149 150 #number of packages: 151 NUMPACKAGES=$(($(echo $EXTERNALPACKAGES | wc -w )/2)) 148 149 ## External Packages 150 # 151 152 # Number of packages 153 NUMPACKAGES=$(($(echo ${EXTERNALPACKAGES} | wc -w ) / 2)) 152 154 153 155 #Jenkins xml files for individual packages … … 315 317 warning off %necessary to avoid a log of several Go for parallel runs 316 318 try, 317 $(if [ "$MATLAB_NROPTIONS" = "" ] 318 then 319 $(if [ "$MATLAB_NROPTIONS" = "" ]; then 319 320 echo "runme('output','nightly','rank',$i,'numprocs',$NUMCPUS_RUN);" 320 321 else … … 374 375 for job in `jobs -p` 375 376 do 376 echo "Waiting on: $job"377 377 echo "Waiting on: $job" 378 wait $job 378 379 done 379 380 … … 411 412 for job in `jobs -p` 412 413 do 413 echo "Waiting on: $job"414 414 echo "Waiting on: $job" 415 wait $job 415 416 done 416 417 … … 535 536 if [ $MATLAB_TEST -eq 1 ]; then 536 537 #number tests: 537 numtests=`cat matlab_log.log 538 testlist=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g'| sed 's/-//g'`538 numtests=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | wc -l` 539 testlist=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g' | sed 's/-//g'` 539 540 540 541 #look through numtests: 541 542 for i in `echo $testlist` 542 543 do 543 juLog 544 juLog 544 juLog -test=MATLAB-$i -name=Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log 545 juLog -test=MATLAB-$i -name=Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log 545 546 done 546 547 547 548 # Check that MATLAB did not exit in error 548 matlabExitedInError=`grep -E " Activation cannot proceed|license" matlab_log.log | wc -l`549 matlabExitedInError=`grep -E "Error|Activation cannot proceed|license" matlab_log.log | wc -l` 549 550 550 551 if [ $matlabExitedInError -ne 0 ] … … 563 564 if [ $PYTHON_TEST -eq 1 ]; then 564 565 #number tests: 565 numtests=`cat python_log.log 566 testlist=`cat python_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g'| sed 's/-//g'`566 numtests=`cat python_log.log | grep "\-\-\-\-\-\-\-\-starting" | wc -l` 567 testlist=`cat python_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g' | sed 's/-//g'` 567 568 568 569 #look through numtests: 569 570 for i in `echo $testlist` 570 571 do 571 juLog 572 juLog 572 juLog -test=PYTHON-$i -name=Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log 573 juLog -test=PYTHON-$i -name=Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log 573 574 done 574 575 575 576 # Check that Python did not exit in error 576 pythonExitedInError=`grep -E " Traceback|bad interpreter" python_log.log | wc -l`577 pythonExitedInError=`grep -E "Error|Traceback|bad interpreter" python_log.log | wc -l` 577 578 578 579 if [ $pythonExitedInError -ne 0 ] … … 597 598 $SED -i .bak 's///g' matlab_log_examples.log 598 599 599 numtests=`cat matlab_log_examples.log 600 testlist=`cat matlab_log_examples.log 600 numtests=`cat matlab_log_examples.log | grep "starting: " | wc -l` 601 testlist=`cat matlab_log_examples.log | grep "starting: " | sed 's/starting: //'` 601 602 602 603 echo "Processing: $numtests" 603 604 for i in `echo $testlist` 604 605 do 605 juLog 606 juLog -test=Example-$i -name=Error -error=FAILURE awk "/starting: $i/{flag=1;next}/finished: $i/{flag=0} flag{print}" matlab_log_examples.log 606 607 done 607 608 fi -
issm/trunk-jpl/jenkins/macosx_pine-island
r24638 r24639 41 41 autotools install.sh 42 42 cmake install.sh 43 petsc install-3.1 2-mac.sh43 petsc install-3.11-mac.sh 44 44 triangle install-mac.sh 45 45 chaco install.sh -
issm/trunk-jpl/jenkins/ross-debian_linux
r24632 r24639 32 32 autotools install-debian-linux.sh 33 33 cmake install.sh 34 petsc install-3.1 2-linux.sh34 petsc install-3.11-linux.sh 35 35 triangle install-linux.sh 36 36 chaco install.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-adolc-ampioff
r24632 r24639 40 40 autotools install-debian-linux.sh 41 41 cmake install.sh 42 petsc install-3.1 2-linux.sh42 petsc install-3.11-linux.sh 43 43 triangle install-linux.sh 44 44 gsl install-linux64.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-adolc-ampion
r24632 r24639 41 41 autotools install-debian-linux.sh 42 42 cmake install.sh 43 petsc install-3.1 2-linux.sh43 petsc install-3.11-linux.sh 44 44 triangle install-linux.sh 45 45 gsl install-linux64.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-binaries
r24632 r24639 37 37 autotools install-debian-linux.sh 38 38 cmake install.sh 39 petsc install-3.1 2-linux-static.sh39 petsc install-3.11-linux-static.sh 40 40 triangle install-linux-static.sh 41 41 chaco install.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-binaries-with_dakota
r24632 r24639 43 43 autotools install-debian-linux.sh 44 44 cmake install.sh 45 petsc install-3.1 2-linux-static.sh45 petsc install-3.11-linux-static.sh 46 46 boost install-1.55-linux-static.sh 47 47 dakota install-6.2-linux-static.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-codipack
r24632 r24639 38 38 autotools install-debian-linux.sh 39 39 cmake install.sh 40 petsc install-3.1 2-linux.sh40 petsc install-3.11-linux.sh 41 41 triangle install-linux.sh 42 42 chaco install.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-dakota
r24632 r24639 38 38 autotools install-debian-linux.sh 39 39 cmake install.sh 40 petsc install-3.1 2-linux.sh40 petsc install-3.11-linux.sh 41 41 boost install-1.55-linux.sh 42 42 dakota install-6.2-linux.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-gia
r24632 r24639 33 33 autotools install-debian-linux.sh 34 34 cmake install.sh 35 petsc install-3.1 2-linux.sh35 petsc install-3.11-linux.sh 36 36 triangle install-linux.sh 37 37 math77 install.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-iceocean
r24632 r24639 33 33 autotools install-debian-linux.sh 34 34 cmake install.sh 35 petsc install-3.1 2-linux.sh35 petsc install-3.11-linux.sh 36 36 triangle install-linux.sh 37 37 chaco install.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-python
r24632 r24639 32 32 autotools install-debian-linux.sh 33 33 cmake install.sh 34 petsc install-3.1 2-linux.sh34 petsc install-3.11-linux.sh 35 35 triangle install-linux.sh 36 36 chaco install.sh -
issm/trunk-jpl/jenkins/ross-debian_linux-solid_earth
r24632 r24639 32 32 autotools install-debian-linux.sh 33 33 cmake install.sh 34 petsc install-3.1 2-linux.sh34 petsc install-3.11-linux.sh 35 35 triangle install-linux.sh 36 36 chaco install.sh
Note:
See TracChangeset
for help on using the changeset viewer.