@BravoWA
2015-09-26T21:48:51.000000Z
字数 1548
阅读 1710
SU2
VMware
Linux
Author: Chen Jiang (Netname: BravoWA)
All commands in this file are shell-commands.
sudo apt-get install python-numpy python-scipy
. (Different in other Linux distributions)tar -xvf MPICH2.1.4.1.tar.gz
cd *path of MPICH2.1.4.1*
./configre --prefix-"path" --disable-f77 --disable-fc
.make
.make install
.export PATH=/[path of MPICH2]bin:$PATH
tar -xvf metis_5.1.0.tar.gz
cd /[path of metis_5.1.0]
make config prefix=/[path to install metis]
(if no CMAKE, install one using apt-get install cmake
)make install
cd /[path of SU2-3.0.0]
./configure CXXFLAG="-O3" --with-MPI=/[path of mpich2]/bin/mpicxx --with-Metis-lib=/[path of Metis]/lib --with-Metis-include=/[path of Metis]/include
cd /[path of SU2-3.0.0]/Common/lib
, (maybe need automake), then make
cd /[path of SU2-3.0.0]/SU2_CFD/obj
, then make
cd /[path of SU2-3.0.0]/SU2_DDC/obj
, then make
cd /[path of SU2-3.0.0]/SU2_MDC/obj
, then make
./configure
before, please first use make clean
for each module of SU2. /[path of SU2-3.0.0]/SU2_CFD(or others)/bin
to a new folder /[new folder]
.mpirun -n j SU2_DDC xxx.cfg
(j=the cores your want to use)mpirun -n j SU2_CFD xxx.cfg