[ncl-install] Error compiling Ictranc
Rick Grubin
grubin at ucar.edu
Wed Apr 16 07:55:13 MDT 2008
Hi Tristan
> I 'm trying to compile NCL 5.0 with Intel Fortan & C compiler. Idt
> doesn't display anything (just say "translator aborted"). Seem that's
> something wrong about 'ictrans'.
>
> Indeed ictrans's compilation crash with "(.text+0x6eb5): undefined
> reference to `for_cpystr`"
'for_cpystr' is a symbol from the Intel Fortran compiler's library
'libifcore'
> Intel(R) C Compiler for applications running on IA-32, Version 10.1
> Build 20070913 Package ID: l_cc_p_10.1.008
> Intel(R) Fortran Compiler for applications running on IA-32, Version
> 10.1 Build 20070913 Package ID: l_fc_p_10.1.008
> [...]
>
> icc -mp -ansi -O -o ictrans main.o
> [...] -L/opt/1/intel_cc_10.1/ia32/lib -lcxa -lifcore -lcprts -lm
>
> ../../../.././ncarview/src/lib/libictrans/libictrans.o: In function
> `giargs_':
> (.text+0x6eb5): undefined reference to `for_cpystr'
> [...]
> CTOFLIBS = -L/opt/1/intel_cc_10.1/ia32/lib -lcxa -lifcore -lcprts -lm
It would appear that you've done this, based on the output from the
compilation and your Makefile. Could you
please send along your 'LINUX' config file, located in: /path/to/
ncl_source_code/ncarg/config/LINUX ?
Also, as was pointed out to me by a user, strictly speaking, the
references to libraries 'cxa' and 'cprts' are not
necessary, but shouldn't hurt either.
One other thing to verify, as we cannot duplicate your host here, is
that there is indeed a 'libifcore.a' located
in /opt1/intel_cc_10.1/ia32/lib -- that directory seems, by its
name, to refer to the Intel C compiler library, and
'libifcore.a' is an Intel Fortran compiler library. Is there a
directory similarly named that refers to the Fortran compiler
present in /opt1 ?
----
Rick Grubin NCAR/TDD/CISL/VETS
Visualization + Enabling Technologies
grubin at ucar.edu 303.497.1832
More information about the ncl-install
mailing list