Re: [charm] Charm 6.5.0 compilation issue

From: Ake Sandgren (ake.sandgren_at_hpc2n.umu.se)
Date: Fri Jan 11 2013 - 12:21:43 CST

On Fri, 2013-01-11 at 17:17 +0400, Dmitry Osolodkin wrote:
> Dear developers,
>
> I'm trying to compile current Nightly build of NAMD with Charm 6.5.0 and
> Intel compilers. My command is: env MPICXX=mpiicc ./build charm++
> mpi-linux-x86_64 --with-production
>
> I used env MPICXX=mpiicpc or env MPICXX=mpiicc because default mpicxx
> points to gcc compiler, but in both cases results are the same:
>
> /share/intel/impi/4.0.3.008/intel64/include/mpicxx.h(93): catastrophic
> error: #error directive: "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"

I have a patch for this already.
It's probably not the very best but it works for me.

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake_at_hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se

This archive was generated by hypermail 2.1.6 : Tue Dec 31 2013 - 23:22:53 CST