source: issm/oecreview/Archive/14312-15392/ISSM-14469-14470.diff

Last change on this file was 15393, checked in by Mathieu Morlighem, 12 years ago

NEW: adding Archive/14312-15392 for oecreview

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 libraries
    2 instead of the gfortran package libraries.  Matlab library is missing some symbols, so you might
    3 need to link to the actual gfortran library
    4 sudo cp /Applications/MATLAB_R2011b.app/sys/os/maci64/libgfortran.3.dynlib /Applications/MATLAB_R2011b.app/sys/os/maci64/libgfortran.3.dynlib.matlab
    5 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 version
    2 here refers to the VOTD release on May 12th 2009. While waiting
    3 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 Dakota
    5 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 serious
    9         troubles.
  • ../trunk-jpl/externalpackages/dakota/configs/5.2/Teuchos_ConfigDefs.hpp.patch

     
     187a88
     2> #include <stddef.h>
  • ../trunk-jpl/externalpackages/dakota/install-5.2-linux64-larsen.sh

     
     1#!/bin/bash
     2set -eu
     3
     4#Some cleanup
     5rm -rf Dakota
     6rm -rf src
     7rm -rf install
     8mkdir 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
     14tar -zxvf Dakota_5_2.src.tar.gz
     15
     16#Move Dakota to src directory
     17mv Dakota/* src
     18rm -rf Dakota
     19
     20#Apply patches
     21patch src/src/ParallelLibrary.C configs/5.2/ParallelLibrary.C.patch
     22patch src/src/ParallelLibrary.H configs/5.2/ParallelLibrary.H.patch
     23patch src/src/NonDSampling.C configs/5.2/NonDSampling.C.patch
     24patch src/src/NonDLocalReliability.C configs/5.2/NonDLocalReliability.C.patch
     25patch src/src/NonDUnilevelRBDO.C configs/5.2/NonDUnilevelRBDO.C.patch    #  source not even used?
     26patch src/packages/pecos/src/pecos_global_defs.hpp configs/5.2/pecos_global_defs.hpp.patch
     27patch src/packages/teuchos/src/Teuchos_ConfigDefs.hpp configs/5.2/Teuchos_ConfigDefs.hpp.patch
     28
     29#Configure dakota
     30cd 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
     41cd ..
     42
     43#Compile and install dakota
     44cd src
     45if [ $# -eq 0 ];
     46then
     47        make
     48        make install
     49else
     50        make -j $1
     51        make -j $1 install
     52fi
     53cd ..
Note: See TracBrowser for help on using the repository browser.