tar-zxvf SU2v2.0.tgz
cdSU2v2.0/
ls
aclocal.m4 ChangeLog COPYING install-sh missing trunk
AUTHORS configure depcomp Makefile.am NEWS
autom4te.cache configure.ac INSTALL Makefile.in README
./configure
checkingfor a BSD-compatible install... /usr/bin/install -c
checkingwhether build environment is sane... yes
checkingfor gawk... gawk
checkingwhether make sets $(MAKE)... yes
checkingfor g++... g++
checkingfor C++ compiler default output file name... a.out
checkingwhether the C++ compiler works... yes
checkingwhether we are cross compiling... no
checkingfor suffix of executables...
checkingfor suffix of object files... o
checkingwhether we are using the GNU C++ compiler... yes
checkingwhether g++ accepts -g... yes
checkingfor style of include used by make... GNU
checkingdependency style of g++... gcc3
checkingfor ranlib... ranlib
configure:creating ./config.status
config.status:creating Makefile
config.status:creating trunk/Common/lib/Makefile
config.status:creating trunk/SU2_CFD/bin/Makefile
config.status:creating trunk/SU2_DDC/bin/Makefile
config.status:creating trunk/SU2_GPC/bin/Makefile
config.status:creating trunk/SU2_MAC/bin/Makefile
config.status:creating trunk/SU2_MDC/bin/Makefile
config.status:creating trunk/SU2_PBC/bin/Makefile
config.status:creating trunk/SU2_SMC/bin/Makefile
config.status:creating trunk/SU2Py/Makefile
config.status:executing depfiles commands
BuildConfiguration Summary:
Sourcecode location: 这个地方是软件源代码的位置,会显示完整的所在路径
Installlocation: /usr/local
Version: 2.0
Compiler: g++
Preprocessorflags:
Compilerflags: -DNO_MPI
Linkerflags:
CGNSsupport: no
MPIsupport: no
Metissupport: no
BuildSU2_CFD: yes
BuildSU2_DDC: yes
BuildSU2_GPC: yes
BuildSU2_MAC: yes
BuildSU2_MDC: yes
BuildSU2_PBC: yes
BuildSU2_SMC: yes
Pleasebe sure to add the $SU2_HOME and $SU2_RUN environment variables, andupdate your $PATH with $SU2_RUN
Basedon the input to this configuration, add these lines to your .bashrcfile -
exportSU2_RUN="/usr/local/bin"
exportSU2_HOME="/**/SU2v2.0/trunk"
exportPATH=$PATH:$SU2_RUN
make
需要等待一段时间,
makeinstall
需要注意的是,这一步需要有管理员权限。可以考虑用su命令,然后输入管理员密码就可以按照成功了。