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

20010920: building Fortran interface using sgif90



Crystal,

>Date: Thu, 20 Sep 2001 14:09:16 -0500 (CDT)
>From: Crystal Shaw <address@hidden>
>Organization: NCSA
>To: address@hidden (Steve Emmerson)
>Subject: Re: 20010920: building Fortran interface using sgif90
>Keywords: 200109201638.f8KGcg105025

The above message contained the following:

> Great!!! mipsFortran works for all tests.

Interesting.  Apparently, your C compiler doesn't pre-define the macros 
"mips" or "__mips.  Shame on the compiler.

> The error in install.log is below:
> 
> make[1]: Entering directory `/home/shaw/netcdf-3.5.0/src'
> 
> Making `install' in directory /home/shaw/netcdf-3.5.0/src/libsrc
> 
> make[2]: Entering directory `/home/shaw/netcdf-3.5.0/src/libsrc'
> test -d /home/shaw/netcdf-3.5.0/lib || mkdir /home/shaw/netcdf-3.5.0/lib
> ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o putget.o 
> string.o v1hpg.o v2i.o var.o
> ranlib libnetcdf.a
> cp libnetcdf.a /home/shaw/netcdf-3.5.0/lib/libnetcdf.a
> test -d /home/shaw/netcdf-3.5.0/include || mkdir 
> /home/shaw/netcdf-3.5.0/include
> cp netcdf.h /home/shaw/netcdf-3.5.0/include/netcdf.h
> test -d /home/shaw/netcdf-3.5.0/man || mkdir /home/shaw/netcdf-3.5.0/man
> test -d /home/shaw/netcdf-3.5.0/man/man3 || mkdir 
> /home/shaw/netcdf-3.5.0/man/man3
> cp netcdf.3 /home/shaw/netcdf-3.5.0/man/man3/netcdf.3
> make[2]: Leaving directory `/home/shaw/netcdf-3.5.0/src/libsrc'
> 
> Returning to directory /home/shaw/netcdf-3.5.0/src
> 
> make[1]: Leaving directory `/home/shaw/netcdf-3.5.0/src'
> make[1]: Entering directory `/home/shaw/netcdf-3.5.0/src'
> 
> Making `install' in directory /home/shaw/netcdf-3.5.0/src/fortran
> 
> make[2]: Entering directory `/home/shaw/netcdf-3.5.0/src/fortran'
> make[2]: *** Warning: File `/home/shaw/netcdf-3.5.0/include' has modification 
> time in the future (2001-09-20 14:01:10 > 2001-09-20 14:00:45)
> cp netcdf.inc /home/shaw/netcdf-3.5.0/include/netcdf.inc
> cp netcdf.3f /home/shaw/netcdf-3.5.0/man/man3/netcdf.3f
> test -d /home/shaw/netcdf-3.5.0/man/man3f || mkdir 
> /home/shaw/netcdf-3.5.0/man/man3f
> rm -f /home/shaw/netcdf-3.5.0/man/man3f/netcdf.3f
> ln -s /home/shaw/netcdf-3.5.0/man/man3/netcdf.3f 
> /home/shaw/netcdf-3.5.0/man/man3f/netcdf.3f
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
> make[2]: Leaving directory `/home/shaw/netcdf-3.5.0/src/fortran'
> 
> Returning to directory /home/shaw/netcdf-3.5.0/src
> 
> make[1]: Leaving directory `/home/shaw/netcdf-3.5.0/src'
> make[1]: Entering directory `/home/shaw/netcdf-3.5.0/src'
> 
> Making `install' in directory /home/shaw/netcdf-3.5.0/src/f90
> 
> make[2]: Entering directory `/home/shaw/netcdf-3.5.0/src/f90'
> make[2]: *** Warning: File `/home/shaw/netcdf-3.5.0/include' has modification 
> time in the future (2001-09-20 14:01:10 > 2001-09-20 14:00:45)
> make[2]: *** No rule to make target `netcdf.mod', needed by 
> `/home/shaw/netcdf-3.5.0/include/netcdf.mod'.  Stop.

You should have a file named "netcdf.mod" in the "f90/" subdirectory --
either or both parts of the filename may be in uppercase.  What is the
name of the file?

Whatever the name is, edit the file "f90/Makefile" and set the value of
the HEADER macro to that filename.  Then re-execute the "make install"
command from the parent directory.

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