Linking problems:

Problems:

1) offset.o:(.text+0x0): undefined reference to `..EN1_299'

Solutions:

1) offset.o:(.text+0x0): undefined reference to `..EN1_299': Since we had installed our recent version of the Pallas pgf compilers (Version 6.2-4) a mysterious compiler (loader) error showed up (some of you reported):

offset.o:(.text+0x0): undefined reference to `..EN1_299'
make1: *** nbody6 Error 2
make1: Leaving directory `/work/Umi2/spurzem/5/Nbody6++'
make: *** pgf Error 2

A closer inspection of routine offset.f yielded the following result: Comment the lines 30 and 33, such that the lines 30-33 look like:

* IF (KZ(19).EQ.2) THEN
TPLOT = TPLOT - DTOFF
TMDOT = TMDOT - DTOFF
* END IF

With this change, it does no harm, the program compiles with no error. The problem does not occur with g77 or ifc. I suspect a real compiler bug, because I tried a lot and I HAVE NOT THE SLIGHTEST IDEA WHAT IS GOING WRONG HERE. Has anyone made simuilar experiences with other codes and pgf 6.2 ? (R. Sp.)


Page Information

  • 11 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts