Skip to Content.
Sympa Menu

charm - Re: [charm] Problem building charm++ on Intel platform

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Problem building charm++ on Intel platform


Chronological Thread 
  • From: "Van Der Wijngaart, Rob F" <rob.f.van.der.wijngaart AT intel.com>
  • To: Nikhil Jain <nikhil.jain AT acm.org>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Problem building charm++ on Intel platform
  • Date: Wed, 3 Sep 2014 16:39:09 +0000
  • Accept-language: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Great, thanks, Jeff and Nikhil!

Rob

-----Original Message-----
From:
nikhil.life AT gmail.com

[mailto:nikhil.life AT gmail.com]
On Behalf Of Nikhil Jain
Sent: Wednesday, September 03, 2014 9:38 AM
To: Van Der Wijngaart, Rob F
Cc: Jeff Hammond; Phil Miller;
charm AT cs.illinois.edu
Subject: Re: [charm] Problem building charm++ on Intel platform

This is probably due to conflicting seek definitions. Please try
adding the following flags to you build command:

-DMPICH_IGNORE_CXX_SEEK -DMPICH_SKIP_MPICXX

So you overall command is:
./build charm++ mpi-linux-x86_64 ifort mpicxx -j8
-DMPICH_IGNORE_CXX_SEEK -DMPICH_SKIP_MPICXX

Hope this works.

On Wed, Sep 3, 2014 at 11:33 AM, Van Der Wijngaart, Rob F
<rob.f.van.der.wijngaart AT intel.com>
wrote:
> BTW, I also did the obvious thing and replaced mpicxx with icc, and got the
> equally obvious error that the build script couldn't compile MPI programs...
>
>
>
> From: Van Der Wijngaart, Rob F
> Sent: Wednesday, September 03, 2014 9:21 AM
> To: 'Jeff Hammond'; Phil Miller
> Cc:
> charm AT cs.illinois.edu
> Subject: RE: [charm] Problem building charm++ on Intel platform
>
>
>
> OK, I built in /tmp and got a lot further, but the build still breaks, see
> attached complete output. I am inserting the last few lines resulting from
> this command:
>
> ./build charm++ mpi-linux-x86_64 ifort mpicxx
>
> I can go into mpi-interoperate,{C,h} and try to fix things, but am wondering
> if you have run into this before. Thanks!
>
>
>
> Rob
>
>
>
> ../bin/charmc -c -I. cktiming.C
>
> ../bin/charmc -c -I. ckbitvector.C
>
> ../bin/charmc -c -I. pathHistory.C
>
> ../bin/charmc -c -I. controlPoints.C
>
> ../bin/charmc -c -I. arrayRedistributor.C
>
> ../bin/charmc -c -I. cp_effects.C
>
> ../bin/charmc -c -I. trace-controlPoints.C
>
> ../bin/charmc -c -I. mpi-interoperate.C
>
> In file included from
> /opt/intel//impi/4.1.1.036/intel64/include/mpi.h:1279:0,
>
> from mpi-interoperate.h:9,
>
> from mpi-interoperate.C:3:
>
> /opt/intel//impi/4.1.1.036/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"
>
> #error "SEEK_SET is #defined but must not be for the C++ binding of MPI.
> Include mpi.h before stdio.h"
>
> ^
>
> /opt/intel//impi/4.1.1.036/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"
>
> #error "SEEK_CUR is #defined but must not be for the C++ binding of MPI.
> Include mpi.h before stdio.h"
>
> ^
>
> /opt/intel//impi/4.1.1.036/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"
>
> #error "SEEK_END is #defined but must not be for the C++ binding of MPI.
> Include mpi.h before stdio.h"
>
> ^
>
> Fatal Error by charmc in directory
> /tmp/rfvander/charm-6.5.1/mpi-linux-x86_64-ifort-mpicxx/tmp
>
> Command mpicxx -m64 -fPIC -I../bin/../include -D__CHARMC__=1 -I.
> -fno-stack-protector -c mpi-interoperate.C -o mpi-interoperate.o returned
> error code 1
>
> charmc exiting...
>
> gmake: *** [mpi-interoperate.o] Error 1
>
> -------------------------------------------------
>
> Charm++ NOT BUILT. Either cd into mpi-linux-x86_64-ifort-mpicxx/tmp and try
>
> to resolve the problems yourself, visit
>
> http://charm.cs.illinois.edu/
>
> for more information. Otherwise, email the developers at
> charm AT cs.illinois.edu
>
>
>
>
>
>
> _______________________________________________
> charm mailing list
> charm AT cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/charm
>



--
Nikhil Jain,
nikhil.jain AT acm.org,
http://charm.cs.uiuc.edu/people/nikhil
Doctoral Candidate @ CS, UIUC





Archive powered by MHonArc 2.6.16.

Top of Page