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.
Unidata Support <address@hidden> writes: > ------- Forwarded Message > > >To: <address@hidden> > >From: "Molenar, Deb" <address@hidden> > >Subject: netcdf 3.6.0 build problems > >Organization: CSU/CIRA > >Keywords: 200501131723.j0DHNgv2005568 netCDF 3.6.0 build > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C4F994.9EE24F5C > Content-Type: multipart/alternative; > boundary="----_=_NextPart_002_01C4F994.9EE24F5C" > > > ------_=_NextPart_002_01C4F994.9EE24F5C > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > I am trying to build netcdf on a Linux RH WS platform using the Intel fc > 80 compiler. If I am interpreting the log files correctly, it looks > like the configure script is finding the compiler, but not the > corresponding library libcxa.so.5. The compiler is located in > /opt/intel_fc_80/bin, and the libraries are located in > /opt/intel_fc_80/lib. I've tried setting FLIBS to /opt/intel_fc_80/lib > and /opt/intel_fc_80/lib/libcxa.so.5, but am still getting the error > message: > > ./conftest: error while loading shared libraries: libcxa.so.5: cannot > open shared object file: No such file or directory > > =20 > > Any help at this point is appreciated! Howdy! OK, I finally figured out what your problem is, I think. I installed the ifort compiler, and can successfully build and test netcdf with it, but first I had to source a file called ifortvars.sh, which comes with ifort, and sets up a bunch of environment variables needed for ifort. So this is not a netcdf problem at all. If you take a look at our successful builds page: http://my.unidata.ucar.edu/content/software/netcdf/builds/index.html you'll see that Linux with Intel Fortran 90 is now listed, and you can set the environment vars I set, and run the ifortvars script, and it should work for you. If not, please let me know. Thanks! Ed