Changes between Version 4 and Version 5 of vilje
- Timestamp:
- 11/25/16 07:06:07 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
vilje
v4 v5 58 58 export ISSM_DIR=PATHTOTRUNK 59 59 # 60 module load intelcomp/1 3.0.1 mpt/2.06 petsc/3.4.1d61 module load parmetis/4.0. 2 mumps/4.10.060 module load intelcomp/17.0.0 mpt/2.14 petsc/3.7.4d 61 module load parmetis/4.0.3 mumps/5.0.2 62 62 module load automake 63 63 }}} … … 67 67 == Installing ISSM on Vilje == 68 68 69 run libtoolize 69 If it is the first time you are installing issm on Vilje you will need to run libtoolize: 70 {{{ 71 libtoolize 72 }}} 70 73 71 run ./scripts/automakerrerun 74 The only package from external packages that you may require (if you need to run some inversion) is m1qn3. Install it as usual and source you environment file 75 {{{ 76 cd externalpackages/m1qn3 77 ./install.sh 78 source ../../etc/environment.sh 79 }}} 72 80 73 You can check out ISSM and install m1qn3. This is the only package we will install, the module loaded from your bashrc are taking care of the rest. 81 Once this is done in ISSM_DIR do: 82 {{{ 83 run ./scripts/automakererun.sh 84 }}} 74 85 75 86 Use the following configuration script (adapt to your needs): 76 87 77 88 {{{ 78 #!/bin/sh 89 #!/bin/sh 79 90 ./configure \ 80 91 --prefix=$ISSM_DIR \ 81 92 --without-kriging \ 82 93 --with-wrappers=no \ 83 --with-petsc-dir="/sw/sdev/Modules/petsc/petsc-3. 4.1" \84 --with-mpi-include="/sw/sgi/mpt/mpt-2. 06/include/" \85 --with-mpi-libflags="-L/sw/sgi/mpt/mpt-2. 06/lib -lmpi -lmpi++" \86 --with-metis-dir="/sw/sdev/Modules/parmetis/parmetis-4.0. 2/include" \87 --with-mumps-dir="/sw/sdev/Modules/mumps/mumps- 4.10.0" \94 --with-petsc-dir="/sw/sdev/Modules/petsc/petsc-3.7.4" \ 95 --with-mpi-include="/sw/sgi/mpt/mpt-2.14/include/" \ 96 --with-mpi-libflags="-L/sw/sgi/mpt/mpt-2.14/lib -lmpi -lmpi++" \ 97 --with-metis-dir="/sw/sdev/Modules/parmetis/parmetis-4.0.3/include" \ 98 --with-mumps-dir="/sw/sdev/Modules/mumps/mumps-5.0.2" \ 88 99 --with-cxxoptflags="-O2 -xAVX" \ 89 100 --with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \ … … 96 107 }}} 97 108 109 You can then make your configuration file executable (if it is not already) execute it and install ISSM: 110 {{{ 111 chmod +x configure.sh 112 ./configure 113 make install 114 }}} 115 98 116 == vilje_settings.py == 117 99 118 {{{ 100 119 def vilje_settings(md): … … 110 129 == vilje_settings.m == 111 130 112 The use of the Python version of the code is encouraged at Uib but you are welcom to clone the python settings.131 The use of the Python version of the code is encouraged at Uib but you are welcome to clone the python settings.