Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

error "SEEK_SET is #defined but must not be for the C++ binding of MPI

$
0
0

I am trying to compile RedMD application with intel parallel studio 2013,
and i am getting following error!

In file included from /share/apps/intel//impi/4.1.3.048/intel64/include/mpi.h:1279,
                 from potentialcalc.cpp:33:
/share/apps/intel//impi/4.1.3.048/intel64/include/mpicxx.h:95:2: error: #error "SEEK_SET is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
/share/apps/intel//impi/4.1.3.048/intel64/include/mpicxx.h:99:2: error: #error "SEEK_CUR is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
/share/apps/intel//impi/4.1.3.048/intel64/include/mpicxx.h:104:2: error: #error "SEEK_END is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
make[3]: *** [potentialcalc.o] Error 1
make[3]: Leaving directory `/share/apps/user1-INTEL/finaluser1/ToolsInstaller/Chemical/RedMD/RedMD_2.3_all/src/potential'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/share/apps/user1-INTEL/finaluser1/ToolsInstaller/Chemical/RedMD/RedMD_2.3_all/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/share/apps/user1-INTEL/finaluser1/ToolsInstaller/Chemical/RedMD/RedMD_2.3_all'
make: *** [all] Error 2
Making install in src

Though this error does not show up in cluster studio 2015 ,
Also a fix is available here (the reference link there is invalid that's why i am asking these questions! )but i want to know
Q1. why this error crops up with v2013
Q2. what is the role of -DMPICH_IGNORE_CXX_SEEK and -DMPICH_SKIP_MPICXX compiler flags?

Awaiting your reply!
 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>