source:
issm/oecreview/Archive/14312-15392/ISSM-14469-14470.diff@
15393
Last change on this file since 15393 was 15393, checked in by , 12 years ago | |
---|---|
File size: 3.9 KB |
-
../trunk-jpl/externalpackages/dakota/dakota_njs_notes_macos64.txt
1 Matlab might try to use its local /Applications/MATLAB_R2011b.app/sys/os/maci64/ fortran libraries2 instead of the gfortran package libraries. Matlab library is missing some symbols, so you might3 need to link to the actual gfortran library4 sudo cp /Applications/MATLAB_R2011b.app/sys/os/maci64/libgfortran.3.dynlib /Applications/MATLAB_R2011b.app/sys/os/maci64/libgfortran.3.dynlib.matlab5 sudo ln -s /usr/local/gfortran/lib/gcc/x86_64-apple-darwin10/4.6.2/libgfortran.3.dylib libgfortran.3.dylib -
../trunk-jpl/externalpackages/dakota/README
1 version 4.3 of dakota is not yet released. The 4.3 version2 here refers to the VOTD release on May 12th 2009. While waiting3 for 4.3, we consider the develpment version to be 4.3.4 4.2 is replaced by 4.3, to handle fnEvalId extra arguemnt to the Dakota5 structure.6 7 Be sure to set FC and F77 variable names to point to your fortran compiler, otherwise,8 the LHS packages will pick up gfortran as its fortran compiler, which can create serious9 troubles. -
../trunk-jpl/externalpackages/dakota/configs/5.2/Teuchos_ConfigDefs.hpp.patch
1 87a88 2 > #include <stddef.h> -
../trunk-jpl/externalpackages/dakota/install-5.2-linux64-larsen.sh
1 #!/bin/bash 2 set -eu 3 4 #Some cleanup 5 rm -rf Dakota 6 rm -rf src 7 rm -rf install 8 mkdir src install 9 10 #Download from ISSM server 11 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/Dakota_5_2.src.tar.gz' 'Dakota_5_2.src.tar.gz' 12 13 #Untar 14 tar -zxvf Dakota_5_2.src.tar.gz 15 16 #Move Dakota to src directory 17 mv Dakota/* src 18 rm -rf Dakota 19 20 #Apply patches 21 patch src/src/ParallelLibrary.C configs/5.2/ParallelLibrary.C.patch 22 patch src/src/ParallelLibrary.H configs/5.2/ParallelLibrary.H.patch 23 patch src/src/NonDSampling.C configs/5.2/NonDSampling.C.patch 24 patch src/src/NonDLocalReliability.C configs/5.2/NonDLocalReliability.C.patch 25 patch src/src/NonDUnilevelRBDO.C configs/5.2/NonDUnilevelRBDO.C.patch # source not even used? 26 patch src/packages/pecos/src/pecos_global_defs.hpp configs/5.2/pecos_global_defs.hpp.patch 27 patch src/packages/teuchos/src/Teuchos_ConfigDefs.hpp configs/5.2/Teuchos_ConfigDefs.hpp.patch 28 29 #Configure dakota 30 cd src 31 ./configure \ 32 --prefix="$ISSM_DIR/externalpackages/dakota/install" \ 33 --without-graphics \ 34 --with-pic \ 35 --disable-mpi \ 36 --with-plugin \ 37 --with-blas=/usr/lib/libblas.a \ 38 --with-lapack=/usr/lib/liblapack.a 39 40 /u/astrid-r1b/morlighe/issmjpl/cron/trunk-jpl/externalpackages/blas/install/lib/libblas.a 41 cd .. 42 43 #Compile and install dakota 44 cd src 45 if [ $# -eq 0 ]; 46 then 47 make 48 make install 49 else 50 make -j $1 51 make -j $1 install 52 fi 53 cd ..
Note:
See TracBrowser
for help on using the repository browser.