|
[Sponsors] |
March 27, 2014, 23:54 |
Compile SU2 with mpiicpc
|
#1 |
New Member
zhen yi
Join Date: Mar 2014
Posts: 16
Rep Power: 12 |
Hello sir,
When I compile SU2 with inteMPI ---- mpiicpc, there are some bugs occurred as follow: 1 Making all in Common/lib 2 make[1]: Entering directory `/parastor/users/isc01/zy/temp/SU2-master-back/Common/lib' 3 mpiicpc -DPACKAGE_NAME=\"SU\^2\" -DPACKAGE_TARNAME=\"SU\^2\" -DPACKAGE_VERSION=\"3.0.0\ \"eagle\"\" -DPACKAGE_STRING=\"SU\^2\ 3.0.0\ \"eagle\"\ " -DPACKAGE_BUGREPORT=\"susquared-dev@lists.stanford.edu\" -DPACKAGE_URL=\"http://su2.stanford.edu\" -DPACKAGE=\"SU\^2\" -DVERSION=\"3.0.0\ \"e agle\"\" -I. -O3 -I/parastor/users/isc01/zy/cgns/include -I/parastor/users/isc01/zy/metis/include -DMETIS_5 -I/parastor/users/isc01/zy/tecio/ tecsrc/ -DNO_MUTATIONPP -O3 -MT ../src/libSU2_a-config_structure.o -MD -MP -MF ../src/.deps/libSU2_a-config_structure.Tpo -c -o ../src/libSU2_ a-config_structure.o `test -f '../src/config_structure.cpp' || echo './'`../src/config_structure.cpp 4 mv -f ../src/.deps/libSU2_a-config_structure.Tpo ../src/.deps/libSU2_a-config_structure.Po 5 mpiicpc -DPACKAGE_NAME=\"SU\^2\" -DPACKAGE_TARNAME=\"SU\^2\" -DPACKAGE_VERSION=\"3.0.0\ \"eagle\"\" -DPACKAGE_STRING=\"SU\^2\ 3.0.0\ \"eagle\"\ " -DPACKAGE_BUGREPORT=\"susquared-dev@lists.stanford.edu\" -DPACKAGE_URL=\"http://su2.stanford.edu\" -DPACKAGE=\"SU\^2\" -DVERSION=\"3.0.0\ \"e agle\"\" -I. -O3 -I/parastor/users/isc01/zy/cgns/include -I/parastor/users/isc01/zy/metis/include -DMETIS_5 -I/parastor/users/isc01/zy/tecio/ tecsrc/ -DNO_MUTATIONPP -O3 -MT ../src/libSU2_a-dual_grid_structure.o -MD -MP -MF ../src/.deps/libSU2_a-dual_grid_structure.Tpo -c -o ../src/l ibSU2_a-dual_grid_structure.o `test -f '../src/dual_grid_structure.cpp' || echo './'`../src/dual_grid_structure.cpp 6 /public/soft/intel/impi/3.2.2.006/include64/mpicxx.h(45): catastrophic error: #error directive: "SEEK_SET is #defined but must not be for the C ++ binding of MPI. Include mpi.h before stdio.h" 7 #error "SEEK_SET is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h" 8 ^ 9 10 compilation aborted for ../src/dual_grid_structure.cpp (code 4) 11 make[1]: *** [../src/libSU2_a-dual_grid_structure.o] Error 4 12 make[1]: Leaving directory `/parastor/users/isc01/zy/temp/SU2-master-back/Common/lib' 13 make: *** [all-recursive] Error 1 May somebody please help me to solve this problem? By the way, I used to try the way as follow: Add #undef SEEK_SET #undef SEEK_END #undef SEEK_CUR before mpi.h is included only "config_structure.hpp", "geometry_structure.hpp" and "solver_structure.hpp" need be modified But it doesn't work. The SU2 parallel_computation got the error way. Thank you. |
|
April 13, 2014, 16:28 |
|
#2 |
Member
Carlos Alexandre Tomigawa Aguni
Join Date: Mar 2014
Posts: 40
Rep Power: 12 |
Hello codezy.
Are you still stuck with this error? I noticed that you've searched this http://www.cfd-online.com/Forums/su2...-compiler.html I didn't modify any file. Using that flag worked fine for me though. |
|
April 16, 2014, 05:30 |
|
#3 | |
New Member
zhen yi
Join Date: Mar 2014
Posts: 16
Rep Power: 12 |
Quote:
Hello sir, Could you tell me how you can worked fine with mpiicpc? Are you using SU2 3.0.0? Or may be your version of mpiicpc is...... Thank you |
||
April 16, 2014, 11:20 |
|
#4 | |
Member
Carlos Alexandre Tomigawa Aguni
Join Date: Mar 2014
Posts: 40
Rep Power: 12 |
Quote:
I don't know all the in depth details since it's been a while. But I'm using SU2 3.0 along with Intel MPI 4.1.3.048. wish you lucky! Edit1: Another thing. You don't need to modify any file. Just try adding -DMPICH_IGNORE_CXX_SEEK flag. Note that this flag is different from this one (http://www.cfd-online.com/Forums/su2...-compiler.html) where I saw here (https://software.intel.com/en-us/art...driver-mpiicpc). Don't use this flag "-DMPICH_SKIP_MPICXX"! Just this one : -DMPICH_IGNORE_CXX_SEEK Best regards. Crash. |
||
Tags |
error, intel, mpi, su2 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Official release of SU2 V3.0 and SU2 Educational V1.0 | fpalacios | SU2 News & Announcements | 2 | January 22, 2014 06:28 |
Can I compile SU2 in CentOS? | sxhqjfl | SU2 Installation | 2 | April 11, 2013 20:23 |
Welcome to the Stanford University Unstructured (SU2) forum! | economon | SU2 | 0 | January 7, 2013 03:48 |
New SU2 Forum Opened at CFD Online | pete | Site News & Announcements | 0 | January 5, 2013 18:59 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |