[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #QBM-450894]: Re: requesting netcdf support - ifort 32 bit installation is failing
- Subject: [netCDF #QBM-450894]: Re: requesting netcdf support - ifort 32 bit installation is failing
- Date: Wed, 23 May 2007 14:25:54 -0600
Hi Steve,
> I wonder if yesterday's email got sent to the wrong address. I'm
> attaching the config.log file again.
We had problems with support mail yesterday and are finally getting caught up
after fixing the support system.
From the config.log you sent, I see the following error
> configure:5880: checking if Fortran "byte" is C "signed char"
> configure:5890: cc -c -DpgiFortran conftest.c
> configure:5893: $? = 0
> configure:5896: /opt/intel/fc/9.1/bin/ifort -c conftestf.f
> configure:5899: $? = 0
> configure:5902: /opt/intel/fc/9.1/bin/ifort -o conftest conftestf.o
> conftest.o
> IPO link: can not find -lm
> ifort: error: problem during multi-file optimization compilation (code 1)
> configure:5905: $? = 1
> configure:5927: error: Could not link conftestf.o and conftest.o
The appropriate library should be in /usr/lib/libm.a, but you might check if
that is a 32-bit or 64-bit library and if there's another place to look for the
32-bit version. It may also be trying to link with a shared library such as
/usr/lib/libm.so.2, so you could try specifying a -static or -i-static flag to
link statically with /usr/lib/libm.a.
Another user has had success with specifying FFLAGS="-i-static" for this kind
of problem:
http://www.unidata.ucar.edu/software/netcdf/docs/other-builds.html#linux_ifort
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: QBM-450894
Department: Support netCDF
Priority: Normal
Status: Closed