Changeset 8348


Ignore:
Timestamp:
05/19/11 08:02:09 (14 years ago)
Author:
Mathieu Morlighem
Message:

simpler install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/matlab/install.sh

    r6081 r8348  
    11#!/bin/bash
    2 
    3 #Matlab version: used by Petsc to detect some weird behaviour starting at version 7.6/R2008a (all blas and lapack prototypes changed! damn them!)
    4 MATLAB_VERSION=R2008a
    52
    63#Erase symlink
    74rm -rf install
    85
    9 # MAC symlink matlab to root matlab
    10 #ln -s /Applications/MATLAB_R2008a/ install
    11 #export MATLAB_VERSION=R2008a
    12 # LINUX symlink matlab to root matlab
     6#Select or create a new simlink
    137ln -s /usr/local/pkgs/matlab-7.6/ install
    14 
    15 
    16 #initialize MATLAB_VERSION in etc/environment_variables
    17 #cat $ISSM_TIER/etc/environment_variables.sh | sed -e "/MATLAB_VERSION/d" | sed "/^MATLAB_DIR.*$/a\MATLAB_VERSION=$MATLAB_VERSION" >  $ISSM_TIER/etc/environment_variables.sh.bak
    18 #mv $ISSM_TIER/etc/environment_variables.sh.bak $ISSM_TIER/etc/environment_variables.sh
    19 #cat $ISSM_TIER/etc/environment_variables.csh | sed -e "/MATLAB_VERSION/d" | sed "/^set MATLAB_DIR.*$/a\set MATLAB_VERSION=$MATLAB_VERSION" >  $ISSM_TIER/etc/environment_variables.csh.bak
    20 #mv $ISSM_TIER/etc/environment_variables.csh.bak $ISSM_TIER/etc/environment_variables.csh
     8#ln -s /usr/local/pkgs/matlab-7.8/ install
     9#ln -s /Applications/MATLAB_R2009a.app/ install
     10#ln -s /Applications/MATLAB_R2010a.app/ install
Note: See TracChangeset for help on using the changeset viewer.