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.
Greetings Grant! Sorry for the silence on this end. Have you found a solution to getting netCDF to work? I see you are trying to build the parallel version of netCDF - did you use this as a guide: http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/parallel.html? Also, I'm not sure why your compiler failed when you used -O2. Did you use minus uppercase o 2 (-O2), or minus lowercase o 2 (-o2)? It should be with an uppercase O. When you compiled with the -fno-second-underscore flag, did the output from readelf -Ws show that the trailing underscore was removed? Sean > /users/gmackey/ADAMPROJ/openmpi/build/bin/mpif90 -show > gfortran -I/users/gmackey/ADAMPROJ/openmpi/build/include -pthread -m64 > -I/users/gmackey/ADAMPROJ/openmpi/build/lib -m64 > -L/users/gmackey/ADAMPROJ/openmpi/build/lib -lmpi_f90 -lmpi_f77 -lmpi > -lopen-rte -lopen-pal -lrdmacm -libverbs -lpsm_infinipath -lnuma -ldl > -lnsl -lutil > > > thanks > > - Grant > > > Can you tell me the output from the following command? > > > > /users/gmackey/ADAMPROJ/openmpi/build/bin/mpif90 -show > > > > Thanks! > > > > Sean > > > >> Hey Sean, > >> > >> so I added the flags you recommended (except for -o2 which caused a f90 > >> build error during config) but it still fails on the make check > >> > >> I've attached the logs > >> > >> - Grant > >> > >> > Greetings Grant, > >> > > >> > You can always try setting the FFLAGS and FCFLAGS variables with the > >> > -fno-second-underscore flag at the same time you run configure, like > >> this: > >> > > >> > FFLAGS="-g -O2 -fno-second-underscore" FCFLAGS="-g -O2 > >> > -fno-second-underscore" ./configure <options> > >> > > >> > Just make sure to do a make clean before re-configuring. > >> > > >> > If that does not work, please send me the logs for configure, make and > >> > make check. > >> > > >> > Cheers! > >> > > >> > Sean > >> > > >> > > >> >> Hi all, > >> >> > >> >> I'm finding myself in a similar situation to this ticket "[netCDF > >> >> #AIX-484936]: netcdf-4.1.2 build error" that I found in the mailing > >> >> archives. I took the suggestions from the thread but still no dice, I > >> >> can't get the nf* check to pass. > >> >> > >> >> readelf -Ws > >> >> /users/gmackey/ADAMPROJ/netcdf/netcdf-4.1.3/fortran/.libs/libnetcdff.so > >> >> | > >> >> grep nf_open > >> >> 140: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND nf_open_ > >> >> 234: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND nf_open_par_ > >> >> 716: 000000000001b000 272 FUNC GLOBAL DEFAULT 10 nf_open_par__ > >> >> 765: 0000000000010cd0 231 FUNC GLOBAL DEFAULT 10 nf_open__ > >> >> 298: 000000000001b000 272 FUNC GLOBAL DEFAULT 10 nf_open_par__ > >> >> 411: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND nf_open_ > >> >> 596: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND nf_open_par_ > >> >> 841: 0000000000010cd0 231 FUNC GLOBAL DEFAULT 10 nf_open__ > >> >> > >> >> Any ideas? > >> >> > >> >> thanks much > >> >> > >> >> - Grant > >> >> > >> >> > >> > > >> > > >> > Ticket Details > >> > =================== > >> > Ticket ID: LOK-342881 > >> > Department: Support netCDF > >> > Priority: Normal > >> > Status: Closed > >> > > >> > > >> > >> > > > > > > Ticket Details > > =================== > > Ticket ID: LOK-342881 > > Department: Support netCDF > > Priority: Normal > > Status: Closed > > > > > > Ticket Details =================== Ticket ID: LOK-342881 Department: Support netCDF Priority: High Status: Closed