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

[netCDF #MFJ-652572]: netcdf-fortran configuration error



Hello,

Can you provide the 'config.log' file generated after running configure?

Thank you,

-Ward

> Hi
> 
> I have installed hdf5 and netcdf-c using nvhpc compiler at directory
> 
> /global/cfs/cdirs/mp288/jinchen/PETSC/petsc.20220107/nvidia-hpc-sdk-6-1/
> 
> Now I'm installing netcdf-fortran using the same nvhpc compiler with the
> following configurations:
> 
> ./configure --prefix=`pwd`/..//build
> CPPFLAGS=/global/cfs/cdirs/mp288/jinchen/PETSC/petsc.20220107/nvidia-hpc-sdk-6-1/include
> CC=nvc FC=nvfortran FF=nvfotran
> 
> But it failed on the following error message:
> 
> 
> configure: checking user options
> 
> checking whether make supports the include directive... yes (GNU style)
> 
> checking for gcc... nvc
> 
> checking whether the C compiler works... no
> 
> configure: error: in
> `/global/homes/j/jinchen/project/NETCDF/netcdf-fortran-4.5.3':
> 
> configure: error: C compiler cannot create executables
> 
> 
> Would you please advise me how to fix this?
> 
> Thanks,
> 
> -- Jin
> 
> 


Ticket Details
===================
Ticket ID: MFJ-652572
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.