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 Sean, It looks like HD5 was not compiled with 64-bit support. Try the following: otool -hv /Users/seancrowell/local/lib/libhdf5_hl.dylib (look for cputype in the output table) Make sure to source the correct intel environment scripts before compiling hdf5 - something like: source <path-to-compiler>/bin/ifortvars.sh intel64 source <path-to-compiler>/bin/iccvars.sh intel64 I hope all is well at OU! Sean > If it helps to narrow things down, I get this error when I try to compile > NetCDF 4.2.1.1: > > libtool: link: gcc -g -O2 -o .libs/rewrite-scalar rewrite-scalar.o > -L/Users/seancrowell/local/lib ../liblib/.libs/libnetcdf.dylib > /Users/seancrowell/local/lib/libhdf5_hl.dylib > /Users/seancrowell/local/lib/libhdf5.dylib > /Users/seancrowell/local/lib/libsz.dylib -lm -lz -lcurl > ld: can't open output file for writing: .libs/rewrite-scalar, errno=13 for > architecture x86_64 > collect2: ld returned 1 exit status > make[4]: *** [rewrite-scalar] Error 1 > make[3]: *** [check-am] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > > > On Sep 6, 2012, at 11:16 AM, Unidata netCDF Support wrote: > > > > > Crowell, Sean M., > > > > Your Ticket has been received, and a Unidata staff member will review it > > and reply accordingly. Listed below are details of this new Ticket. Please > > make sure the Ticket ID remains in the Subject: line on all correspondence > > related to this Ticket. > > > > Ticket ID: NZJ-424171 > > Subject: Trouble Compiling on Mac OS X 10.7 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > > > > > > > The NetCDF libraries are developed at the Unidata Program Center/UCAR, > > in Boulder, Colorado; we are funded primarily by the U.S. National > > Science Foundation. > > > > All support requests are handled by the development team; no > > dedicated support staff are funded at this time. For this reason > > we cannot guarantee response times, nor can we resolve every support > > issue, although we do our best to respond within 72 hours. > > > > It is in the nature of support requests that the same question is > > asked many times. We urge you to search the support archives for > > material relating to your support inquiry: > > > > http://www.unidata.ucar.edu/search.jsp?support&netcdf > > > > If you are having trouble building netCDF, please take a look at the > > "Build Troubleshooter" section of the netCDF home page: > > > > http://www.unidata.ucar.edu/software/netcdf/ > > > > Windows users should see the FAQ list: > > > > http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#windows_netcdf4 > > > > Complete documentation (including a tutorial, and sample programs in > > C, Fortran, Java, and other programming languages) can be found on the > > netCDF Documentation page: > > > > http://www.unidata.ucar.edu/software/netcdf/docs/ > > > > If you resolve your issue through one of these methods, please send a > > reply to this email letting us know that you no longer require > > assistance. This will help us spend more time on netCDF development. > > > > Best regards, > > > > Unidata User Support > > > > Ticket Details =================== Ticket ID: NZJ-424171 Department: Support netCDF Priority: Normal Status: Open