@BravoWA
2015-09-26T13:48:51.000000Z
字数 1548
阅读 1859
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.gzcd *path of MPICH2.1.4.1*./configre --prefix-"path" --disable-f77 --disable-fc.make.make install.export PATH=/[path of MPICH2]bin:$PATHtar -xvf metis_5.1.0.tar.gzcd /[path of metis_5.1.0]make config prefix=/[path to install metis] (if no CMAKE, install one using apt-get install cmake)make installcd /[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]/includecd /[path of SU2-3.0.0]/Common/lib, (maybe need automake), then makecd /[path of SU2-3.0.0]/SU2_CFD/obj, then makecd /[path of SU2-3.0.0]/SU2_DDC/obj, then makecd /[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