NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] netcdf-fortran error

With that information it is not easy to figure out what went wrong.

My recommendation for installation is this

1) Check whether you need NetCDF 4 support, if so do the below lettered
steps:
a) Install zlib
b) install hdf5 (preferably with fortran support)
2) Install netcdf-4.3.0 (if you don't need DAP support add this to the
configure --disable-dap, if you need NetCDF 4 support, add
--enable-netcdf-4)
3) Install netcdf-fortran-4.2 (it should automatically detect your
configure setup from the netcdf-4.3.0

The tests I have seen come up with errors. However, you can check in the
log whether you think it has anything to do with linking or something else.

Kind regards Nick


2013/7/3 Thomas Tobian <thomastobian@xxxxxxxxx>

> Thank you so much,
>
> I tried again by using
> ./configure--prefix=/home/../netcdf2
>
> and produced these errors
>
> ================================================
> 21 of 27 tests failed
> Please report to support-netcdf@xxxxxxxxxxxxxxxx
> ================================================
>
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory `/home/netcdf-fortran-4.2/nf_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/home/netcdf-fortran-4.2/nf_test'
> make: *** [check-recursive] Error 1
>
> do I have to instal netcdf C library first? then instal the fortran? or..
>
> thank you,
>
>
>
> On Thu, Jul 4, 2013 at 12:23 AM, Nick Papior Andersen <
> nickpapior@xxxxxxxxx> wrote:
>
>> Add the --prefix flag to the configure call, this will let you create a
>> specific installation directory.
>> For instance:
>>
>> ./configure --prefix=$HOME/.netcdf/4.2.1.1
>>
>> or whatever directory you wish to install it in.
>>
>> Kind regards Nick
>>
>> 2013/7/3 Thomas Tobian <thomastobian@xxxxxxxxx>
>>
>>> Hallo.
>>>
>>> in the last step for "make install"
>>> I got this error:
>>>
>>> test -z "/usr/local/share/man/man3" || /usr/bin/mkdir -p
>>> "/usr/local/share/man/man3"
>>> /usr/bin/mkdir: cannot create directory ‘/usr/local/share/man’:
>>> Permission denied
>>> make[3]: *** [install-man3] Error 1
>>>
>>> I know that it requires a root password in order to run the "make
>>> install"
>>> but in my case,(office) i am not allowed to go to the root instead of
>>> admin.
>>>
>>> any idea how to handle it?
>>>
>>> Thank you.
>>>
>>> _______________________________________________
>>> netcdfgroup mailing list
>>> netcdfgroup@xxxxxxxxxxxxxxxx
>>> For list information or to unsubscribe,  visit:
>>> http://www.unidata.ucar.edu/mailing_lists/
>>>
>>
>>
>
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: