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

Re: 951108: install netcdf under linux



Saad,

> Subject: install netcdf under linux
> To:       netcdf user <address@hidden>
> From: saad mogren <ALMJRAN@SAKACS00.BITNET>
> Organization: .
> Keywords: 199511080838.AA10006
> 
>     I am trying to install netcdf under linux but it give this error
> that there is no (linux.m4) so I put OS=common in the CUSTAMIZE file
>  but it show error also ,
> 1-is there any user of netcdf who installed it under linux?
> 2-where can I get (linux.m4)
> any help 'll be appreciated

The *.m4 files in the fortran/ subdirectory specify the FORTRAN/C
calling conventions for their respective platforms.  There is no
linux.m4 file because we don't know what the LINUX calling conventions
are.

If you need the FORTRAN netCDF interface, then you could try copying an
existing operating-system's .m4 file to linux.m4 and see what happens,
e.g.

    $ cd fortran/
    $ make clean
    ...
    $ cp sunos4.m4 linux.m4
    $ make all test
    ...
    $ make clean
    $ cp ultrix.m4 linux.m4
    $ make all test

Alternatively, if you don't need the FORTRAN netCDF interface, then you
can skip it.  See the following URL for details:

    http://www.unidata.ucar.edu/packages/netcdf/known_problems.html#Ignoring 
FORTRAN

--------
Steve Emmerson   <address@hidden>