Re: Compiling on G5 using xlC

From: Gengbin Zheng (gzheng_at_ks.uiuc.edu)
Date: Thu Feb 26 2004 - 15:40:59 CST

oops, xlC compiler bug.
can't do anything about it.
It works on our G5 though.

Gengbin

On Thu, 26 Feb 2004, klsale wrote:

> Ok, this helped and NAMD compiles up to the following point:
>
> NAMD_PLATFORM=\"MacOSX-PPC\" -O -o obj/FreeEnergyGroup.o -c
> src/FreeEnergyGroup.C
>
> Second exception at 0x0000387C
>
> EXCEPTION of type: SIGSEGV 11 in exception handler at 0000387C. Regs:
>
> FFFFFFFE 00C48450 00000000 FFFFFFFF 00000000 00000001 00000030 00753554
>
> 00BD7C04 00C4841D 20202020 00BD7A00 00C484B2 00BD8AF0 00BD8AF0 00C4C270
>
> 00000002 00000000 0000000C 0000000F 00000000 00000004 00000000 00C49A4E
>
> 20202020 20200000 005EA3C0 00C4C27C 0074E020 00000000 00000002 00003554
>
> resume: cr: lr: ctr: xer: fpscr: msr: mq:
>
> 00000000 48000242 0000370C 9007404C 20000000 00000000 0200D030 00000000
>
> Traceback:
>
> Line ? Disp 0000387C _flush_be_msgs Dsa: 00C48450
>
> Line ? Disp 000026A0 __Axerror Dsa: 00C4ACD0
>
> --- End of call chain ---
>
>
>
> Original EXCEPTION details possibly follow.
>
> Exception of type: SIGBUS 10 at 00151888. Regs:
>
> 00E3EDA0 A000932C 0015D46C 000246D2 00151810 00000000 00000000 00000000
>
> 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00BD8B70
>
> 00C81310 007D29B4 007D2D14 007D1E18 00C25E98 00C81310 00000000 0015183C
>
> resume: cr: lr: ctr: xer: fpscr: msr: mq:
>
> 00000000 24000442 0015183C 90009440 00000000 00000000 0000D930 00000000
>
> Traceback:
>
> Line ? Disp 00151888 _process_compilation_unit Dsa: BFFFF780
>
> --- End of call chain ---
>
> make: *** [obj/FreeEnergyGroup.o] Error 218
>
>
>
>
>
>
>
> On 2/26/04 12:16 PM, "Gengbin Zheng" <gzheng_at_ks.uiuc.edu> wrote:
>
> >
> > I think I saw this before. Either try download charm++ and NAMD from cvs.
> > or try adding -qstaticinline in NAMD config file MacOSX-PPC-xlC.arch.
> > And maybe in the charm config file at:
> > charm/src/arch/net-ppc-darwin/xx-xlc.sh.
> >
> > Gengbin
> >
> > On Thu, 26 Feb 2004, klsale wrote:
> >
> >> I am trying to compile NAMD on a Mac G5 running under OSX 10.2.6. I am
> >> getting the following errors:
> >>
> >>
> >> "/Volumes/data/charm/net-ppc-darwin-xlc/include/lbdb.h", line 348.13:
> >> 1540-0704 (S) The definitions of "void LDOMHandle::pup(PUP::er &)" and "void
> >> _LDObjid::pup(PUP::er &)" have the same linkage signature "pup".
> >>
> >> "/Volumes/data/charm/net-ppc-darwin-xlc/include/lbdb.h", line 364.13:
> >> 1540-0704 (S) The definitions of "void LDObjHandle::pup(PUP::er &)" and
> >> "void _LDObjid::pup(PUP::er &)" have the same linkage signature "pup".
> >>
> >> "/Volumes/data/charm/net-ppc-darwin-xlc/include/lbdb.h", line 370.13:
> >> 1540-0704 (S) The definitions of "void LDObjData::pup(PUP::er &)" and "void
> >> _LDObjid::pup(PUP::er &)" have the same linkage signature "pup".
> >>
> >> "/Volumes/data/charm/net-ppc-darwin-xlc/include/lbdb.h", line 378.13:
> >> 1540-0704 (S) The definitions of "void _LDCommDesc::pup(PUP::er &)" and
> >> "void _LDObjid::pup(PUP::er &)" have the same linkage signature "pup".
> >>
> >>
> >> Charm++ compiled without a problem.
> >>
> >> Also, were do Tcl and FFTW need to be installed? Does NAMD "look" for these
> >> during compilation?
> >>
> >> Thanks,
> >>
> >> Ken
> >>
> >
> >
> >
>

Gengbin Zheng
============
(217)244-3667 (o)
gzheng_at_uiuc.edu
zhenggb_at_acm.org
http://www.ks.uiuc.edu/~gzheng/personal.html

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:38:27 CST