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

20020517: netcdf on UNICOS: Fortran-90 8-byte integers



Verena,

>Date: Fri, 17 May 2002 16:19:09 +0200
>From: Verena Cals <address@hidden>
>Organization: Stratosphäre / Forschungszentrum Jülich GmbH
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20020516: netcdf on UNICOS: Fortran-90 8-byte integers
>Keywords: 200204250907.g3P97sa28336

The above message contained the following:

> I've changed the file netcdf_test.f90 and I've inserted FourByteInt and
> FourByteReal in netcdf_overloads.f90 again. Now make test succeeded. The
> next step is executing make install, but unfortunately it fails. I don't
> know why, but netcdf.mod doesn't exist. Therefore I've set an option to
> force creating netcdf.mod, but it fails too. Do you know why netcdf.mod
> won't created? Perhaps there is something missing in the Makefile?
...
> The next two weeks I'm on vacation. I hope afterwords the installation
> will succeed.
...

I wish you a good vacation.

> >more install.log
...
> Making `install' in directory
> /usr_FZJ/jicg11/jicg1113/netcdf-3.5.0/src/f90
>  
> cmd-2380 make: Don't know how to make 'netcdf.mod'.
> Make: "cd f90 && \
>     echo "Making \`install' in directory `pwd`" && \
>     echo "" && \
>     make install || exit 1": Error code 1
> Make: "case "/opt/ctl/bin/f90" in \
>     '') echo 1>&2 "Not making \`f90/install' because no FORTRAN-90
> compiler"; \
>         ;; \
>     *)  subdir=`echo f90/install | sed 's,/.*,,'`; \
>         target=`echo f90/install | sed 's,.*/,,'`; \
>         make SUBDIR=$subdir TGET=$target subdir_target; \
>         ;; \
> esac": Error code 1
> cmd-2436 make: Stop.

The module-file netcdf.mod should be created by executing "make all"
in the f90/ subdirectory when the Fortran-90 compler comiles the file
netcdf.f90. Unfortunately, there is no standard for naming the module
file.   I've seen netcdf.mod, netcdf.MOD, NETCDF.MOD, and NETCDF.mod.

If you successfully execute the command "make netcdf.o" in the f90/
subdirectory, the module file should exist. Does it?  What is its name?
The makefile rule for "installed_netcdf_module" should handle that name
-- but it if doesn't then modify the rule.

It could be that, somehow, your system doesn't need or create a module
file.  In this case, you should remove the "installed_netcdf_module"
dependency from the "install" target.

Please let me know if this works.

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