Last change
on this file since 8271 was 8271, checked in by Mathieu Morlighem, 14 years ago |
Added Toolkit for advanced optimization
|
-
Property svn:executable
set to
*
|
File size:
421 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
|
---|
| 10 | rm -rf install tao-$version src
|
---|
| 11 |
|
---|
| 12 | #Create src and install directories
|
---|
| 13 | mkdir install src
|
---|
| 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.