[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 20040723:ifc error and solution - make test



>To: address@hidden
>From: address@hidden
>Subject: ifc error and solution - make test
>Organization: UCAR/Unidata
>Keywords: 200407231502.i6NF2VaW024211

Hi Hudson,

> My name is Hudson Souza (Institute of Physics, Federal University of the 
> Bahia, Brazil) 
> 
> I have used the version netcdf-3.5.1 with Intel Fortran Compiler 7.1 
> 
> The Environment Variables are: 
> 
> FC=/usr/intel/compiler70/ia32/bin/ifc 
> FLIBS=/usr/intel/compiler70/ia32/lib/libPEPCF90.a 
> FFLAGS="-O -mp -cm -dynamic-libcxa" 
> CPPFLAGS="-DNDEBUG -DpgiFortran" 
> CC=/usr/bin/gcc 
> export FC FLIBS FFLAGS CPPFLAGS CC 
> 
> 
> This data was adapted from 
> http://www.unidata.ucar.edu/packages/netcdf/other-builds.html#intel-ifc 
> *********************************************************** 
>  Ayal Anis has indicated that the following should work on systems running 
> GENTOO Linux 1.4rc4 for 32-bit applications: 
> 
>     export FC=/opt/intel/compiler70/ia32/bin/ifc 
>     export FLIBS="/opt/intel/compiler70/ia32/lib/libPEPCF90.a" 
>     export FFLAGS="-O -mp -dynamic-libcxa" # -static-libcxa also works 
>     export CPPFLAGS="-DNDEBUG -DpgiFortran" 
>     export CC=gcc 
> ************************************************************ 
> 
> But, when i execute "make test" i receive many errors related with ifc. 
> 
> In this version (ifc 7.1) is need to include the flag 
> i_dynamic (dynamic inclusion of libraries). I have resolved problems of 
> compilation previously thus. 
> 
> 
> Solve the problem: 
> 
> you should include the flag -i_dynamic. Now, the environment variables are: 
> 
> 
> 
> FC=/usr/intel/compiler70/ia32/bin/ifc 
> FLIBS=/usr/intel/compiler70/ia32/lib/libPEPCF90.a 
> FFLAGS="-O -mp -cm -i_dynamic -dynamic-libcxa" 
> CPPFLAGS="-DNDEBUG -DpgiFortran" 
> CC=/usr/bin/gcc 
> export FC FLIBS FFLAGS CPPFLAGS CC 

Thanks very much for providing the correction.  I've incorporated it
into the web site you referenced:

  http://www.unidata.ucar.edu/packages/netcdf/other-builds.html#intel-ifc

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden          http://www.unidata.ucar.edu/staff/russ