On 24/12/13 01:06 AM, Sucheta Tripathy wrote:
> Hi,
>
> We are trying to install latest version of Ray on our HPC cluster and it 
> throws the following error:
>
> [root@login1 Ray-2.3.0]# make
>    CXX code/application_core/ray_main.o
> In file included from
> /app/l_ics_2012/impi/4.0.3.008/intel64/include/mpi.h:1221 
> <http://4.0.3.008/intel64/include/mpi.h:1221>,
>                   from RayPlatform/RayPlatform/memory/DirtyBuffer.h:27,
>                   from RayPlatform/RayPlatform/memory/RingAllocator.h:25,
>                   from ./code/SeedingData/SeedWorker.h:28,
>                   from ./code/SeedingData/SeedingData.h:27,
>                   from ./code/SeedExtender/DepthFirstSearchData.h:27,
>                   from code/application_core/Machine.h:37,
>                   from code/application_core/ray_main.cpp:22:
> /app/l_ics_2012/impi/4.0.3.008/intel64/include/mpicxx.h:93:2 
> <http://4.0.3.008/intel64/include/mpicxx.h:93:2>: error:
> #error "SEEK_SET is #defined but must not be for the C++ binding of MPI.

Hi,

This is a known problem with the Intel compiler I think.

You can add  -DMPICH_IGNORE_CXX_SEEK to your CXXFLAGS.
Something like this should work:


make CXXFLAGS=" -DMPICH_IGNORE_CXX_SEEK  -xHOST  -O3 -Wall"


> Include mpi.h before stdio.h"
> /app/l_ics_2012/impi/4.0.3.008/intel64/include/mpicxx.h:97:2 
> <http://4.0.3.008/intel64/include/mpicxx.h:97:2>: error:
> #error "SEEK_CUR is #defined but must not be for the C++ binding of MPI.
> Include mpi.h before stdio.h"
> /app/l_ics_2012/impi/4.0.3.008/intel64/include/mpicxx.h:102:2 
> <http://4.0.3.008/intel64/include/mpicxx.h:102:2>: error:
> #error "SEEK_END is #defined but must not be for the C++ binding of MPI.
> Include mpi.h before stdio.h"
> make: *** [code/application_core/ray_main.o] Error 1
>
> As per the above error we have the solution (Pls find the link)
> --
>
> So, it clearly needs mpi.h defined before stdio.h. I am wondering in which 
> file we should make this change.
>
> Best
>
> Sucheta
>
> --
> Sucheta Tripathy, Ph.D
> Scientist, Ramalingaswamy Fellow,
> Indian Institute of Chemical Biology,
> Kolkata, India.
> https://sites.google.com/site/suchetalab/
> https://twitter.com/tsucheta


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Denovoassembler-users mailing list
Denovoassembler-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/denovoassembler-users

Reply via email to