|
[Sponsors] |
Error about MPI happens when I enter "g++ SU2_CFD.cpp" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 20, 2013, 23:10 |
Error about MPI happens when I enter "g++ SU2_CFD.cpp"
|
#1 |
New Member
feeling
Join Date: Jan 2013
Posts: 21
Rep Power: 13 |
I use win7 and setup the MinGW to compile the .cpp files.
I want to add my own methods to the code, so I download the SU2 Source Code in F:\SU2. I want to use SU2_CFD firstly. I find there is a file named SU2_CFD.cpp in F:\SU2\SU2v2.0\trunk\SU2_CFD\src, will it should be compiled to create the SU2_CFD.exe? I guess so and open my cmd, enter F:\SU2\SU2v2.0\trunk\SU2_CFD\src>g++ SU2_CFD.cpp However, I get this response: In file included from SU2_CFD.cpp:24:0: ../include/SU2_CFD.hpp:30:17: fatal error: mpi.h: No such file or directory compilation terminated. I think this error is about MPI. I download it, but don't know how to use it?? I hope for help... |
|
January 21, 2013, 08:04 |
|
#2 |
Member
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17 |
I think if you want to develop new module in SU2, you should use linux os or Mac os. I do not think windows is a good choice. If you have no any idea on the compilation of source code, I think you can not add any new method in the code. As a suggestion, I think that you should have some knowledge on the different os (LINUX, Mac os).
Last edited by liujmljm; January 21, 2013 at 08:15. Reason: incomplete |
|
January 21, 2013, 08:10 |
|
#3 |
New Member
feeling
Join Date: Jan 2013
Posts: 21
Rep Power: 13 |
Thank you for your suggestion very much. I will install Linux OS right now. By the same, do you know how to develop SU2? Do you have some related materials writen in Chinese? My English is very poor.
|
|
January 21, 2013, 08:29 |
|
#4 |
Member
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17 |
I am afraid that there is not. Now, I am learning the code. I also want to use the code and add new module. I think we should study the doxygen documents and get some idea on the structure of the code.
|
|
January 21, 2013, 08:34 |
|
#5 |
New Member
feeling
Join Date: Jan 2013
Posts: 21
Rep Power: 13 |
Thank you for your suggestion. In fact, I am a senior now and just a beginner. Do you hear from Openfoam? What is the difference between Openfoam and su2? Which is better for aerodynamics research?
|
|
January 21, 2013, 09:02 |
|
#6 | |
Member
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17 |
Quote:
http://www.cfd-online.com/Forums/su2...osing-su2.html I think SU2 is more better for compressible flow. |
||
February 5, 2013, 01:08 |
|
#7 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
As a side note I would like to point out that one of it most important features of SU2 is it design capability. More details in
http://su2.stanford.edu/documents/SU2_AIAA_ASM2013.pdf Cheers, Francisco |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mpirun, best parameters | pablodecastillo | Hardware | 18 | November 10, 2016 13:36 |
Sgimpi | pere | OpenFOAM | 27 | September 24, 2011 08:57 |
Building OpenFOAM on IRIX | lakeat | OpenFOAM Installation | 7 | July 16, 2008 08:27 |
Error using LaunderGibsonRSTM on SGI ALTIX 4700 | jaswi | OpenFOAM | 2 | April 29, 2008 11:54 |
Is Testsuite on the way or not | lakeat | OpenFOAM Installation | 6 | April 28, 2008 12:12 |