Changeset 23414


Ignore:
Timestamp:
10/11/18 15:25:34 (6 years ago)
Author:
jdquinn
Message:

CHG: Attempt at fixing false failure on installation of Dakota

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-macosx64.sh

    r22699 r23414  
    44#Some cleanup
    55rm -rf Dakota
    6 rm -rf src 
    7 rm -rf build 
    8 rm -rf install 
    9 mkdir src build install 
     6rm -rf src
     7rm -rf build
     8rm -rf install
     9mkdir src build install
    1010
    1111#Download from ISSM server
    1212$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/dakota-6.2-public.src.tar.gz' 'dakota-6.2-public-src.tar.gz'
    1313
    14 #Untar 
     14#Untar
    1515tar -zxvf dakota-6.2-public-src.tar.gz
    1616
     
    2020
    2121#Set up Dakota cmake variables and config
    22 export DAK_SRC=$ISSM_DIR/externalpackages/dakota/src
    23 export DAK_BUILD=$ISSM_DIR/externalpackages/dakota/build
     22DAK_BUILD=$ISSM_DIR/externalpackages/dakota/build
     23DAK_INSTALL=$ISSM_DIR/externalpackages/dakota/install
     24DAK_SRC=$ISSM_DIR/externalpackages/dakota/src
    2425export MPIHOME=$ISSM_DIR/externalpackages/mpich/install
    2526cp $DAK_SRC/cmake/BuildDakotaTemplate.cmake $DAK_SRC/cmake/BuildDakotaCustom.cmake
     
    4243        -DBOOST_ROOT:PATHNAME=$BOOST_ROOT \
    4344        -DBoost_LIBRARY_DIRS:FILEPATH=${BOOST_ROOT}/lib \
     45        -DCMAKE_INSTALL_PREFIX=${DAK_INSTALL} \
    4446        -D CMAKE_C_COMPILER=$ISSM_DIR/externalpackages/mpich/install/bin/mpicc \
    4547        -D CMAKE_CXX_COMPILER=$ISSM_DIR/externalpackages/mpich/install/bin/mpicxx \
     
    5153        -C $DAK_SRC/cmake/DakotaDev.cmake \
    5254        $DAK_SRC
    53 cd ..
    5455
    5556# Snowleopard: Mpi should be made with these compilers
     
    5859
    5960#Compile and install dakota
    60 cd $DAK_BUILD
    6161if [ $# -eq 0 ];
    6262then
    6363        make
     64        cd test && ctest -L Accept
    6465        make install
    6566else
    6667        make -j $1
     68        cd test && ctest -j $1 -L Accept
    6769        make -j $1 install
    6870fi
    69 cd ..
     71
Note: See TracChangeset for help on using the changeset viewer.