[ncl-install] Has anyone built ncl_ncarg on RHEL 6 using the Intel compilers?

Mary Haley haley at ucar.edu
Mon Mar 3 13:49:00 MST 2014


It sounds like either your NCAR Graphics compile didn't complete, or else you have an issue with underscores being appended to your Fortran routine names.

To verify, what does the following report on your system:

echo $NCARG_ROOT
nm $NCARG_ROOT/lib/libncarg.a | grep cpgeti

--Mary

On Mar 3, 2014, at 9:23 AM, brown wrap <gramos at yahoo.com> wrote:

> I was able to finally build ncl_ncarg 6.1.2 using the PGI compilers. Now I am struggling with Intel. Here is the error I receive when tryin the example:
> 
> ncargex cpex08
> 
> NCAR Graphics Fortran  Example <cpex08>
> 
>   Copying cpex08.f
> 
>   Copying cpexcc.f
> 
> Compiling and linking...
> 
> 
> cpexcc.f:(.text+0x899): undefined reference to `cpgeti_'
> cpexcc.f:(.text+0x8b2): undefined reference to `cpgeti_'
> /tmp/ifortyPuHWM.o: In function `MAIN__':
> cpex08.f:(.text+0xcc): undefined reference to `arinam_'
> cpex08.f:(.text+0x17c): undefined reference to `mapbla_'
> cpex08.f:(.text+0x1ab): undefined reference to `mapita_'
> cpex08.f:(.text+0x1d2): undefined reference to `mapita_'
> cpex08.f:(.text+0x1f9): undefined reference to `mapita_'
> cpex08.f:(.text+0x214): undefined reference to `mapiqa_'
> cpex08.f:(.text+0x23d): undefined reference to `mapita_'
> cpex08.f:(.text+0x260): undefined reference to `mapita_'
> cpex08.f:(.text+0x279): undefined reference to `mapiqa_'
> cpex08.f:(.text+0x28f): undefined reference to `cpseti_'
> cpex08.f:(.text+0x2a3): undefined reference to `cpseti_'
> cpex08.f:(.text+0x2b9): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x2cf): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x2e5): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x2fb): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x30f): undefined reference to `cpseti_'
> cpex08.f:(.text+0x325): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x33b): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x351): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x367): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x394): undefined reference to `cprect_'
> cpex08.f:(.text+0x3b3): undefined reference to `cpclam_'
> cpex08.f:(.text+0x3e4): undefined reference to `arscam_'
> cpex08.f:(.text+0x41c): undefined reference to `cpcldm_'
> cpex08.f:(.text+0x459): undefined reference to `mapgrm_'
> cpex08.f:(.text+0x518): undefined reference to `arinam_'
> cpex08.f:(.text+0x5d2): undefined reference to `cpseti_'
> cpex08.f:(.text+0x5e6): undefined reference to `cpseti_'
> cpex08.f:(.text+0x5fc): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x612): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x628): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x63e): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x652): undefined reference to `cpseti_'
> cpex08.f:(.text+0x668): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x67e): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x694): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x6aa): undefined reference to `cpsetr_'
> cpex08.f:(.text+0x6d1): undefined reference to `cprect_'
> cpex08.f:(.text+0x6f0): undefined reference to `cpclam_'
> cpex08.f:(.text+0x721): undefined reference to `arscam_'
> cpex08.f:(.text+0x768): undefined reference to `cpcldm_'
> cpex08.f:(.text+0x7a5): undefined reference to `mapgrm_'
> /tmp/ifortyPuHWM.o: In function `colrll_':
> cpex08.f:(.text+0xa19): undefined reference to `mapaci_'
> /tmp/ifortyPuHWM.o: In function `colram_':
> cpex08.f:(.text+0xef9): undefined reference to `mapaci_'
> /software/depot/Downloads/ncl_ncarg-6.1.2-defaults/lib/libncarg.a(mdlnam.o): In function `mdlnam_':
> mdlnam.f:(.text+0x34b): undefined reference to `mdrdnm_'
> mdlnam.f:(.text+0x3b4): undefined reference to `mdrdnm_'
> mdlnam.f:(.text+0x40b): undefined reference to `mdrdnm_'
> mdlnam.f:(.text+0x462): undefined reference to `mdrdnm_'
> mdlnam.f:(.text+0x4b1): undefined reference to `mdrdnm_'
> mdlnam.f:(.text+0x60e): undefined reference to `mdpbla_'
> mdlnam.f:(.text+0x8e8): undefined reference to `mapita_'
> mdlnam.f:(.text+0x971): undefined reference to `mapita_'
> mdlnam.f:(.text+0x9e6): undefined reference to `mapita_'
> mdlnam.f:(.text+0xa1f): undefined reference to `mapiqa_'
> mdlnam.f:(.text+0xdc2): undefined reference to `mdrdnm_'
> mdlnam.f:(.text+0xe11): undefined reference to `mdrdnm_'
> mdlnam.f:(.text+0xf55): undefined reference to `aredam_'
> /software/depot/Downloads/ncl_ncarg-6.1.2-defaults/lib/libncarg.a(mdlndr.o): In function `mdlndr_':
> mdlndr.f:(.text+0x33c): undefined reference to `mdrdnm_'
> mdlndr.f:(.text+0x3a3): undefined reference to `mdrdnm_'
> mdlndr.f:(.text+0x3fa): undefined reference to `mdrdnm_'
> mdlndr.f:(.text+0x451): undefined reference to `mdrdnm_'
> mdlndr.f:(.text+0x4a0): undefined reference to `mdrdnm_'
> 
> The compile and link failed.
> 
> 
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install



More information about the ncl-install mailing list