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

20000814: building F90 interface on Cray T3E: missing typeSizes module



Seung-Jae Lee,

> Date:    Sat, 12 Aug 2000 09:51:00 +0900
> From:    address@hidden
> To:      address@hidden
> Subject: Help!!

The above message contained the following:

...
> Making `all' in directory /inst/r106kaf/netcdf-3.5-beta3/src/ncdump
> 
>         c89 -c -O -I../libsrc  -DNDEBUG ncdump.c
>         c89 -c -O -I../libsrc  -DNDEBUG vardata.c
>         c89 -c -O -I../libsrc  -DNDEBUG dumplib.c
>         c89 -o ncdump -O  ncdump.o vardata.o dumplib.o ../libsrc/libnetcdf.a
> cld-412 cld: WARNING
>   The USE module `TYPESIZES', referenced from relocatable object 
> `../libsrc/libn
> etcdf.a[netcdf.o:NETCDF]', was defined in file `./typeSizes.o' but the file 
> was
> not found.
> cld-431 cld: WARNING
>   The resulting output file `ncdump' is not executable because of previous 
> WARNI
> NG messages.
> Make: "c89 -o ncdump -O  ncdump.o vardata.o dumplib.o ../libsrc/libnetcdf.a  
> ":
> Error code 1
...
> We are not sure what the problem is exactly.
> So we need your kind answer and comments in detail.
> I look forward to your reply. 
> 
> Sincerly yours,
> 
> Seung-Jae Lee

Interesting.  Building the "ncdump" utility doesn't involved the
"typeSizes" module at all -- yet it appears that the linker/loader on
the Cray T3E requires it anyway.

Would you please try the following and let me know if it works:

    1.  Go to the top-level source directory.

    2.  Remove the file "ncdump/ncdump".

    3.  Edit the file "f90/Makefile": add "typeSizes.o" to the LIB_OBJS
        macro, i.e. change

            LIB_OBJS        = netcdf.o

        to

            LIB_OBJS        = netcdf.o typeSizes.o

    4.  Execute the command "make".  Redirect standard output and
        standard error to the file "make.log".

Again, please let me know if this works.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>