This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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.