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

[netCDF #KHZ-516126]: Installation of two versions of netcdf with different compilers



Hi Carlos,

I agree with your conclusion; the issue seems to stem from 'make install', 
which is unusual.  Can you run 'make check' and 'make install' separately to 
confirm this?  

The message given suggests a filesystem error when processing the shell script 
(Makefile).  There are a couple reasons this might happen; perhaps, for some 
reason, you don't have access to the 'Documents2' directory? Or perhaps the 
directory 'Documents2/netcdf-4.4.1' already exists? The latter shouldn't 
matter, but I'm not certain what else would cause this error.  Can you confirm 
that you have write access to the directory? Perhaps try to create the 
'include' directory manually? What happens if you try specifying a different 
directory altogether?

-Ward



> 
> Hi Ward,
> 
> 
> Hope all is well. We recently tried to install an updated version of netcdf-C 
> and netcdf-fortran, on the same PC, but this time with a different C and 
> Fortran compiler. The first time around we installed netcdf-C-4.4.0 and 
> netcdf-fortran-4.4.3, with gfortran and gcc respectively. The default 
> location for this installation was /usr/local/lib64, and it is currently 
> being used on our working WRF-Chem simulation.
> 
> 
> The second time we installed netcdf-C-4.4.0 and netcdf-fortran-4.4.3 with 
> pgf90 and pgcc , in a different location, with a shared library 
> configuration. This time around we are trying to install netcdf-C-4.4.1 and 
> netcdf-fortran-4.4.4, with pgf90 and pgcc, in a different location as well 
> with a non-shared library configuration option.
> 
> 
> However when attempting to install the netcdf-C-4.4.1 we receive the below 
> printed error:
> 
> 
> Bucaram@linux-vx3k:~/Documents2/netcdf-4.4.1> make check install > Install.log
> /bin/sh: line 11: /home/Bucaram/Documents2/netcdf-4.4.1: Is a directory
> make[2]: *** [install-includeHEADERS] Error 126
> make[1]: *** [install-am] Error 2
> make: *** [install-recursive] Error 1
> 
> We are trying to configure the installation so that it will build on a new 
> location as with the second installation, without interfering with the other 
> two builds. It seems though that the include headers are not installed 
> correctly, or that the location specified when configured was not the 
> appropriate one.
> 
> Would appreciate yours thoughts and comments regarding how to override this 
> include headers error. Attached you will find the config.log, and Install.log 
> for this installation.
> 
> Thanks in advance,
> 
> 
> Carlos
> 
> 
> 


Ticket Details
===================
Ticket ID: KHZ-516126
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.