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
|
Rev | Line | |
---|
[8271] | 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
|
---|
[8389] | 10 | rm -rf install tao-$version
|
---|
[8271] | 11 |
|
---|
| 12 | #Create src and install directories
|
---|
[8389] | 13 | mkdir install
|
---|
[8271] | 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.