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

[netCDF #GKB-625169]: problem installing netcdf-fortran



Hello Nina,

This is certainly strange; it does not appear that you are doing anything 
unusual.  Would it be possible to get the `config.log` file generated when you 
run `configure` for both configurations?  That will provide information 
regarding environmental variables and your platform which may help figure out 
what is going on.

Thank you,

-Ward

> Dear support team,
> 
> I am trying to build netcdf-fortran with shared libraries locally on our
> computer system with the following details:
> 
> host-triplet:   x86_64-unknown-linux-gnu
> shell:          /bin/sh
> compiler:       gcc
> compiler flags: -march=x86-64 -mtune=generic -O2 -pipe
> -fstack-protector-strong
> linker:         /usr/bin/ld -m elf_x86_64 (gnu? yes)
> version:        libtool (GNU libtool) 2.4.6
> automake:       automake (GNU automake) 1.15
> autoconf:       autoconf (GNU Autoconf) 2.69
> 
> While the configure command runs perfectly fine, the make check command
> returns the following error message
> 
> Usage: /home/nina/lib/software/netcdf-fortran-4.4.2/libtool [OPTION]...
> [MODE-ARG]...
> Try 'libtool --help' for more information.
> libtool:   error: unrecognised option: '-I../fortran'
> Makefile:1251: recipe for target 'nf_test' failed
> make[2]: *** [nf_test] Error 1
> make[2]: Leaving directory '/home/nina/lib/software/netcdf
> -fortran-4.4.2/nf_test'
> 
> To avoid this I tried to build using static libraries with shared I/O,
> i.e. the command
> CC=mpicc FC=mpif90 F77=mpif77 CPPFLAGS=-I${NCDIR}/include \
> LDFLAGS=-L${NCDIR}/lib ./configure --prefix=${NFDIR}
> 
> However the make check in that case fails at the nf_test (see log-file
> below).
> Do you have any idea what I am doing wrong or can you point me in the
> direction of where to look for my mistake?
> 
> Please let me know if there is any other information you need from my side
> in order to resolve this problem!
> Thank you!
> 
> Best wishes,
> Nina Ridder
> 
> 
> 
> ESA - European Space Agency
> 
> Dr Nina Nadine Ridder
> Research Fellow
> TEC-SF
> 
> ESTEC
> Keplerlaan 1, PO Box 299
> NL-2200 AG Noordwijk, The Netherlands
> address@hidden | www.esa.int
> T +31 71 565 5029 | F +31 71 565 5433
> 
> 
> ==================================================
> netCDF-Fortran 4.4.2: nf_test/test-suite.log
> ==================================================
> 
> # TOTAL: 5
> # PASS:  4
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: nf_test
> =============
> 
> STOP 2
> 
> *** Testing netCDF-3 Fortran 77 API.
> NetCDF version: 4.4.0 of Jan 18 2016 14:57:06 $
> *** testing nf_strerror ...
> *** testing nf_open ...
> *** testing nf_close ...
> *** testing nf_inq ...
> *** testing nf_inq_dimid ...
> *** testing nf_inq_dim ...
> *** testing nf_inq_dimlen ...
> *** testing nf_inq_dimname ...
> *** testing nf_inq_varid ...
> *** testing nf_inq_var ...
> *** testing nf_inq_natts ...
> *** testing nf_inq_ndims ...
> *** testing nf_inq_nvars ...
> *** testing nf_inq_unlimdim ...
> *** testing nf_inq_format ...
> *** testing nf_inq_vardimid ...
> *** testing nf_inq_varname ...
> *** testing nf_inq_varnatts ...
> *** testing nf_inq_varndims ...
> *** testing nf_inq_vartype ...
> *** testing nf_get_var1_text ...
> *** testing nf_get_var1_int1 ...
> *** testing nf_get_var1_int2 ...
> *** testing nf_get_var1_int ...
> *** testing nf_get_var1_real ...
> *** testing nf_get_var1_double ...
> *** testing nf_get_var_text ...
> *** testing nf_get_var_int1 ...
> *** testing nf_get_var_int2 ...
> *** testing nf_get_var_int ...
> *** testing nf_get_var_real ...
> *** testing nf_get_var_double ...
> *** testing nf_get_vara_text ...
> *** testing nf_get_vara_int1 ...
> *** testing nf_get_vara_int2 ...
> *** testing nf_get_vara_int ...
> *** testing nf_get_vara_real ...
> *** testing nf_get_vara_double ...
> *** testing nf_get_vars_text ...
> *** testing nf_get_vars_int1 ...
> *** testing nf_get_vars_int2 ...
> *** testing nf_get_vars_int ...
> *** testing nf_get_vars_real ...
> *** testing nf_get_vars_double ...
> *** testing nf_get_varm_text ...
> *** testing nf_get_varm_int1 ...
> *** testing nf_get_varm_int2 ...
> *** testing nf_get_varm_int ...
> *** testing nf_get_varm_real ...
> *** testing nf_get_varm_double ...
> *** testing nf_get_att_text ...
> *** testing nf_get_att_int1 ...
> *** testing nf_get_att_int2 ...
> *** testing nf_get_att_int ...
> *** testing nf_get_att_real ...
> *** testing nf_get_att_double ...
> *** testing nf_inq_att ...
> *** testing nf_inq_attname ...
> *** testing nf_inq_attid ...
> *** testing nf_inq_attlen ...
> *** testing nf_inq_atttype ...
> *** testing nf_create ...
> *** testing nf_redef ...
> *** testing nf_enddef ...
> *** testing nf_sync ...
> *** testing nf_abort ...
> *** testing nf_def_dim ...
> *** testing nf_rename_dim ...
> *** testing nf_def_var ...
> *** testing nf_put_var1_text ...
> *** testing nf_put_var1_int1 ...
> *** testing nf_put_var1_int2 ...
> *** testing nf_put_var1_int ...
> *** testing nf_put_var1_real ...
> *** testing nf_put_var1_double ...
> *** testing nf_put_var_text ...
> *** testing nf_put_var_int1 ...
> *** testing nf_put_var_int2 ...
> *** testing nf_put_var_int ...
> *** testing nf_put_var_real ...
> *** testing nf_put_var_double ...
> *** testing nf_put_vara_text ...
> *** testing nf_put_vara_int1 ...
> *** testing nf_put_vara_int2 ...
> *** testing nf_put_vara_int ...
> *** testing nf_put_varm_real ...
> *** testing nf_put_varm_double ...
> *** testing nf_rename_var ...
> *** testing nf_put_att_text ...
> *** testing nf_put_att_int1 ...
> *** testing nf_put_att_int2 ...
> *** testing nf_put_att_int ...
> *** testing nf_put_att_real ...
> *** testing nf_put_att_double ...
> *** testing nf_copy_att ...
> *** testing nf_rename_att ...
> *** testing nf_del_att ...
> *** testing nf_set_fill ...
> *** testing nf_set_default_format ...
> bad default format: status = %dNo error
> 
> ###            2  FAILURES TESTING nf_set_default_format! ###
> Total number of failures:            2
> FAIL nf_test (exit status: 2)
> This message and any attachments are intended for the use of the addressee or 
> addressees only.
> The unauthorised disclosure, use, dissemination or copying (either in whole 
> or in part) of its
> content is not permitted.
> If you received this message in error, please notify the sender and delete it 
> from your system.
> Emails can be altered and their integrity cannot be guaranteed by the sender.
> 
> Please consider the environment before printing this email.
> 
> 
> 


Ticket Details
===================
Ticket ID: GKB-625169
Department: Support netCDF
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.