[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bgl-discuss] netcdf compilation on BGL



can you show me your Makefile. Or, better yet, the output of make -n
(after a make clean). I want to elminate the obvious things first.

On Tue, 12 Jul 2005, Anand Nilekar wrote:

> Hi Andrew,
>
> Here is the error msg I get which contains the list of symbols that are
> not found in the ~walkup version --
>
> ../netcdf/ibm_power3/libnetcdf.a(ncio.o)(.text+0x1126): In function
> `px_pgin':
> : undefined reference to `errno'
> ../netcdf/ibm_power3/libnetcdf.a(ncio.o)(.text+0x113e): In function
> `px_pgin':
> : undefined reference to `errno'
> ../netcdf/ibm_power3/libnetcdf.a(ncio.o)(.text+0x114a): In function
> `px_pgin':
> : undefined reference to `errno'
> ../netcdf/ibm_power3/libnetcdf.a(ncio.o)(.text+0x116e): In function
> `px_pgin':
> : undefined reference to `errno'
> ../netcdf/ibm_power3/libnetcdf.a(ncio.o)(.text+0x11be): In function
> `px_pgin':
> : undefined reference to `errno'
> ../netcdf/ibm_power3/libnetcdf.a(ncio.o)(.text+0x129e): more undefined
> references to `errno' follow
> ../netcdf/ibm_power3/libnetcdf.a(string.o)(.text+0xe): In function
> `toupper':
> : undefined reference to `__ctype_toupper'
> ../netcdf/ibm_power3/libnetcdf.a(string.o)(.text+0x1a): In function
> `toupper':
> : undefined reference to `__ctype_toupper'
> ../netcdf/ibm_power3/libnetcdf.a(string.o)(.text+0x32): In function
> `tolower':
> : undefined reference to `__ctype_tolower'
> ../netcdf/ibm_power3/libnetcdf.a(string.o)(.text+0x3e): In function
> `tolower':
> : undefined reference to `__ctype_tolower'
> ../netcdf/ibm_power3/libnetcdf.a(string.o)(.text+0x4f6): In function
> `NC_check_name':
> : undefined reference to `__ctype_b'
> ../netcdf/ibm_power3/libnetcdf.a(string.o)(.text+0x502): In function
> `NC_check_name':
> : undefined reference to `__ctype_b'
>
>
>
>
> Thanks,
> Anand
>
>
>
> -----Original Message-----
> From: Andrew Siegel [mailto:asiegel@xxxxxxxxxxxxxxx]
> Sent: Tuesday, July 12, 2005 2:43 PM
> To: Anand Nilekar
> Cc: discuss@xxxxxxxxxxxxxxx
> Subject: Re: [bgl-discuss] netcdf compilation on BGL
>
>
> Can you please list the symbols that cannot be located when you try to
> link to the ~walkup version?
>
>
> On Tue, 12 Jul 2005, Anand Nilekar wrote:
>
> > Hi,
> >
> > I have been trying to install my code (Dacapo -
> > http://dcwww.camp.dtu.dk/campos//Dacapo/) on BGL. The code
> successfully
> > compiles till the point it starts linking libraries. Previously I had
> > problems with ESSL and MASS math libraries. But now I am using blas
> > instead (as Katherine suggested), which doesn't seem to give me any
> > problem. However, the netcdf installation I have lacks some required
> > functions (fortran related). I also tried the library in
> > /home/walkup/local/netcdf-3.5.1/lib/libnetcdf.a as I found it on the
> ANL
> > wiki page. But that also lacks some functions, although different from
> > what my installation doesn't have.
> >
> > When I looked at my netcdf install log closely, I found that it can't
> > figure out the fortran related variables, e.g.
> >
> > >>checking "xlf" as Fortran-90 compiler... failed to build test
> program.
> >
> > I tried various variables for FC and FFLAGS, but couldn't get it to
> > work. The rest of the env vars that work are defined as follow, which
> I
> > hope are correct as I didn't see any problem with these.
> >
> > setenv CPPFLAGS '-D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64'    # large
> file
> > support
> > setenv CFLAGS '-g +DD64'                           # 64-bit mode
> > setenv FLIBS '-lU77'
> > setenv CXX ''                                      # no 64-bit mode
> C++
> > compiler
> >
> >
> >
> > Does anyone know what is missing here? Or have encountered similar
> > problems before? Any pointers are highly appreciated.
> >
> >
> >
> > Thanks in advance,
> >
> > Anand
> >
> >
> >
> >
> > - --------------------------------------------------------------------
> > To add or remove yourself from this mailing list, use the 'notifyme'
> > command on any BGL machine. To remove: notifyme -n, to add: notifyme
> -y.
> >
> >
>
>
>

- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.