Changeset 23414
- Timestamp:
- 10/11/18 15:25:34 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/dakota/install-6.2-macosx64.sh
r22699 r23414 4 4 #Some cleanup 5 5 rm -rf Dakota 6 rm -rf src 7 rm -rf build 8 rm -rf install 9 mkdir src build install 6 rm -rf src 7 rm -rf build 8 rm -rf install 9 mkdir src build install 10 10 11 11 #Download from ISSM server 12 12 $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' 13 13 14 #Untar 14 #Untar 15 15 tar -zxvf dakota-6.2-public-src.tar.gz 16 16 … … 20 20 21 21 #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 22 DAK_BUILD=$ISSM_DIR/externalpackages/dakota/build 23 DAK_INSTALL=$ISSM_DIR/externalpackages/dakota/install 24 DAK_SRC=$ISSM_DIR/externalpackages/dakota/src 24 25 export MPIHOME=$ISSM_DIR/externalpackages/mpich/install 25 26 cp $DAK_SRC/cmake/BuildDakotaTemplate.cmake $DAK_SRC/cmake/BuildDakotaCustom.cmake … … 42 43 -DBOOST_ROOT:PATHNAME=$BOOST_ROOT \ 43 44 -DBoost_LIBRARY_DIRS:FILEPATH=${BOOST_ROOT}/lib \ 45 -DCMAKE_INSTALL_PREFIX=${DAK_INSTALL} \ 44 46 -D CMAKE_C_COMPILER=$ISSM_DIR/externalpackages/mpich/install/bin/mpicc \ 45 47 -D CMAKE_CXX_COMPILER=$ISSM_DIR/externalpackages/mpich/install/bin/mpicxx \ … … 51 53 -C $DAK_SRC/cmake/DakotaDev.cmake \ 52 54 $DAK_SRC 53 cd ..54 55 55 56 # Snowleopard: Mpi should be made with these compilers … … 58 59 59 60 #Compile and install dakota 60 cd $DAK_BUILD61 61 if [ $# -eq 0 ]; 62 62 then 63 63 make 64 cd test && ctest -L Accept 64 65 make install 65 66 else 66 67 make -j $1 68 cd test && ctest -j $1 -L Accept 67 69 make -j $1 install 68 70 fi 69 cd .. 71
Note:
See TracChangeset
for help on using the changeset viewer.