Last change
on this file since 839 was
343,
checked in by aslmd, 13 years ago
|
MESOSCALE: previous problems do not appear when using openMPI instead of MPICH2.
|
-
Property svn:executable set to
*
|
File size:
490 bytes
|
Rev | Line | |
---|
[343] | 1 | #! /bin/bash |
---|
| 2 | |
---|
| 3 | name=pgfortran_openmpi-1.4.4 |
---|
| 4 | ########################### |
---|
| 5 | |
---|
| 6 | wget http://www.open-mpi.org/software/ompi/v1.4/downloads/openmpi-1.4.4.tar.gz |
---|
| 7 | tar xzvf openmpi-1.4.4.tar.gz |
---|
| 8 | \rm openmpi-1.4.4.tar.gz |
---|
| 9 | |
---|
| 10 | export CC=pgcc |
---|
| 11 | export FC=pgfortran |
---|
| 12 | export F77=pgfortran |
---|
| 13 | export CXX=pgcpp |
---|
| 14 | export CFLAGS=-fast |
---|
| 15 | export FCFLAGS=-fast |
---|
| 16 | export FFLAGS=-fast |
---|
| 17 | export CXXFLAGS=-fast |
---|
| 18 | |
---|
| 19 | ici=$PWD/$name |
---|
| 20 | cd openmpi-1.4.4 |
---|
| 21 | ./configure --prefix=$ici |
---|
| 22 | make |
---|
| 23 | make check |
---|
| 24 | make install |
---|
| 25 | cd .. |
---|
| 26 | \rm -rf openmpi-1.4.4 |
---|
| 27 | |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.