Last change
on this file since 8389 was 8389, checked in by Mathieu Morlighem, 14 years ago |
trunk: simpler tao install
|
-
Property svn:executable
set to
*
|
File size:
413 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | #Get number of cpus on current platform
|
---|
4 | NUMCPUS=$1;
|
---|
5 |
|
---|
6 | #version
|
---|
7 | version='1.10.1-p1'
|
---|
8 |
|
---|
9 | #Some cleanup
|
---|
10 | rm -rf install tao-$version
|
---|
11 |
|
---|
12 | #Create src and install directories
|
---|
13 | mkdir install
|
---|
14 |
|
---|
15 | #Untar
|
---|
16 | tar -zxvf tao-$version.tar.gz
|
---|
17 |
|
---|
18 | #move into place
|
---|
19 | mv tao-$version/* install/
|
---|
20 | rm -rf tao-$version
|
---|
21 | cd install
|
---|
22 |
|
---|
23 | export TAO_DIR="$ISSM_TIER/externalpackages/tao/install/"
|
---|
24 |
|
---|
25 | #recomplie petsc with --with-clanguage=C++
|
---|
26 | make
|
---|
Note:
See
TracBrowser
for help on using the repository browser.