CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

Compile SU2 with mpiicpc

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2014, 23:54
Default Compile SU2 with mpiicpc
  #1
New Member
 
zhen yi
Join Date: Mar 2014
Posts: 16
Rep Power: 12
codezy is on a distinguished road
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.
codezy is offline   Reply With Quote

Old   April 13, 2014, 16:28
Default
  #2
Member
 
Carlos Alexandre Tomigawa Aguni
Join Date: Mar 2014
Posts: 40
Rep Power: 12
CrashLaker is on a distinguished road
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.
CrashLaker is offline   Reply With Quote

Old   April 16, 2014, 05:30
Default
  #3
New Member
 
zhen yi
Join Date: Mar 2014
Posts: 16
Rep Power: 12
codezy is on a distinguished road
Quote:
Originally Posted by CrashLaker View Post
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.

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
codezy is offline   Reply With Quote

Old   April 16, 2014, 11:20
Default
  #4
Member
 
Carlos Alexandre Tomigawa Aguni
Join Date: Mar 2014
Posts: 40
Rep Power: 12
CrashLaker is on a distinguished road
Quote:
Originally Posted by codezy View Post
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
Hello codezy.

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.
CrashLaker is offline   Reply With Quote

Reply

Tags
error, intel, mpi, su2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:47.