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: Jeff Hammond <jeff.science AT gmail.com>, Phil Miller <mille121 AT illinois.edu>
  • 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:33:07 +0000
  • Accept-language: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

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

 

 




Archive powered by MHonArc 2.6.16.

Top of Page