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

20030416: building netCDF under RedHat 7.2 using ifc



John,

>Date: Wed, 16 Apr 2003 10:30:04 -0700
>From: "Donahue, John F." <address@hidden>
>Organization: Northrop Grumman Information Technology
>To: "'Steve Emmerson'" <address@hidden>
>Subject: RE: 20030416: building netCDF under RedHat 7.2 using ifc

The above message contained the following:

>       The patch seems to work. I followed the suggested environmental
> variables except for specifying the library path, as that's already in my
> LD_LIBRARY_PATH. When I ran make test I got a lot of warnings about
> obsolescent features, but a load error.:
> 
>       COMMON    /INTCOM/        NFAILS,         !/* number of failures in 
>                                                                         ^
> Warning 102 at (179:./tests.inc) : Non-blank characters beyond column 72
> ignored
> 
>       CHARACTER*2       ATT_NAME
>                ^
> Comment 15 at (203:./tests.inc) : This feature is obsolescent in Fortran 95
> 
> 55944 Lines Compiled
> cc -c -O   -DNDEBUG fortlib.c
> ifc -o nf_test -O -mp  test_get.o test_put.o nf_error.o nf_test.o
> test_read.o test_write.o util.o fortlib.o ../libsrc/libnetcdf.a  -lm 
> nf_test.o: In function `main':
> nf_test.o(.text+0x215): undefined reference to `getarg_'
> nf_test.o(.text+0x23a): undefined reference to `iargc_'
> nf_test.o(.text+0x266): undefined reference to `getarg_'
> nf_test.o(.text+0xbb2): undefined reference to `getarg_'
> make[2]: *** [nf_test] Error 1

Looks like the Intel Fortran environment doesn't contain the standard
UNIX functions.

> I ignored it and did a make install anyway, and my code is running fine.

Great!

> John Donahue
> NGIT
> Reading, MA

Regards,
Steve Emmerson