![]() |
Error about MPI happens when I enter "g++ SU2_CFD.cpp"
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... |
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).
|
Quote:
|
Quote:
|
Quote:
|
Quote:
http://www.cfd-online.com/Forums/su2...osing-su2.html I think SU2 is more better for compressible flow. |
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 |
| All times are GMT -4. The time now is 06:47. |