[ncl-install] undefined reference to pgf90_compiled

Mary Haley haley at ucar.edu
Thu Dec 16 14:50:21 MST 2010


Hi Evi,

You have the CtoFLibraries line defined twice, and I'm not sure which of these two
lines you are using without seeing the whole file.

Also, you sent the errors which is helpful, but I also need to see the actual compilation line that produced
the errors, so I can see what kind of libraries you are linking.   Since you are mixing gcc and pgf90,
you may need to load more pgxxx libraries yourself.

Can you verify which CtoFLibraries line is actually in use, and then email me (directly, not
to ncl-install) the full make-output file?

Thanks,

--Mary

On Dec 15, 2010, at 2:13 PM, Evi Becerra wrote:

> Hello Everyone,
> 
> I am installing ncl_ncarg-5.2.1 in Cento's Linux-64bit  8 cpu. I am compiling with pgi and gcc.
> Part of my file NCARG/config/linux looks like this:
>   
> #define CCompiler     gcc
> #define FCompiler     pgf90
> #define CtoFLibraries -lpgc -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgftnrtl -lpghpf
> #define CtoFLibraries -pgf90libs
> 
> I am sending my output file. Please would somebody help me! I have no idea what is happening with my installation.
> 
> Even though, I followed all the instructions about the installation I got these messages and these errors:
>  
> /usr/local/src/ncl_ncarg-5.2.
> 1/ni/src/ncl/./qu2reg3.f:213: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:213: undefined reference to `pgf90io_fmtw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:213: undefined reference to `pgf90io_sc_i_fmt_write'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:213: undefined reference to `pgf90io_fmtw_end'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:218: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:218: undefined reference to `pgf90io_fmtw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:218: undefined reference to `pgf90io_sc_i_fmt_write'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:218: undefined reference to `pgf90io_sc_i_fmt_write'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:218: undefined reference to `pgf90io_fmtw_end'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:223: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:223: undefined reference to `pgf90io_fmtw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:223: undefined reference to `pgf90io_sc_i_fmt_write'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:223: undefined reference to `pgf90io_sc_i_fmt_write'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:223: undefined reference to `pgf90io_fmtw_end'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./qu2reg3.f:314: undefined reference to `__c_mcopy4'
> qu2reg3.o: In function `.STATICS1':
> qu2reg3.f:(.data+0x1c0): undefined reference to `pgf90_compiled'
> rowina3.o: In function `rowina3_':
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:136: undefined reference to `__c_mcopy4'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_ldw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_ldw'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_ldw_end'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_ldw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_ldw'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_ldw_end'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_ldw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_ldw'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:252: undefined reference to `pgf90io_ldw_end'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_ldw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_ldw'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_ldw_end'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_ldw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_ldw'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_ldw_end'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_ldw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_ldw'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:263: undefined reference to `pgf90io_ldw_end'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:295: undefined reference to `pgf90io_src_info'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:295: undefined reference to `pgf90io_fmtw_init'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:295: undefined reference to `pgf90io_sc_i_fmt_write'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./rowina3.f:295: undefined reference to `pgf90io_fmtw_end'
> rowina3.o: In function `.STATICS1':
> rowina3.f:(.data+0x118): undefined reference to `pgf90_compiled'
> scm0.o: In function `.C1_307':
> scm0.f:(.data+0x20): undefined reference to `pgf90_compiled'
> ncepcode.o: In function `gdswiz00_':
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./ncepcode.f:290: undefined reference to `__mth_i_rpowi'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./ncepcode.f:290: undefined reference to `__fmth_i_amod'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./ncepcode.f:290: undefined reference to `__mth_i_nint'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./ncepcode.f:315: undefined reference to `__fmth_i_amod'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./ncepcode.f:315: undefined reference to `__fmth_i_amod'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./ncepcode.f:332: undefined reference to `__fmth_i_amod'
> /usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl/./ncepcode.f:332: undefined reference to `__fmth_i_amod'
> 
>  
> /usr/local/ncarg/lib/liblapack_ncl.a(dgebd2.o):dgebd2.f:(.data+0x18): more undefined references to `pgf90_compiled' follow
> /usr/local/ncarg/lib/libblas_ncl.a(dcopy.o): In function `dcopy_':
> /usr/local/src/ncl_ncarg-5.2.1/external/blas/./dcopy.f:35: undefined reference to `__c_mcopy8'
> /usr/local/ncarg/lib/libblas_ncl.a(dcopy.o):(.data+0x0): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(ddot.o): In function `.C1_291':
> ddot.f:(.data+0x8): undefined reference to `pgf90_compiled' 
> /usr/local/ncarg/lib/libblas_ncl.a(dgemm.o): In function `dgemm_':
> /usr/local/src/ncl_ncarg-5.2.1/external/blas/./dgemm.f:207: undefined reference to `__c_mzero8'
> /usr/local/src/ncl_ncarg-5.2.1/external/blas/./dgemm.f:230: undefined reference to `__c_mzero8'
> /usr/local/src/ncl_ncarg-5.2.1/external/blas/./dgemm.f:272: undefined reference to `__c_mzero8'
> /usr/local/ncarg/lib/libblas_ncl.a(dgemm.o): In function `.C1_291':
> dgemm.f:(.data+0x20): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dgemv.o): In function `dgemv_':
> /usr/local/src/ncl_ncarg-5.2.1/external/blas/./dgemv.f:176: undefined reference to `__c_mzero8'
> /usr/local/ncarg/lib/libblas_ncl.a(dgemv.o): In function `.C1_291':
> dgemv.f:(.data+0x20): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dger.o): In function `.C1_291':
> dger.f:(.data+0x10): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dnrm2.o): In function `.C1_292':
> dnrm2.f:(.data+0x20): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(drot.o):(.data+0x0): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dscal.o):(.data+0x0): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dspmv.o): In function `dspmv_':
> /usr/local/src/ncl_ncarg-5.2.1/external/blas/./dspmv.f:154: undefined reference to `__c_mzero8'
> /usr/local/ncarg/lib/libblas_ncl.a(dspmv.o): In function `.C1_291':
> dspmv.f:(.data+0x18): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dspr2.o): In function `.C1_291':
> dspr2.f:(.data+0x10): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dswap.o):(.data+0x0): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dtrmm.o): In function `dtrmm_':
> /usr/local/src/ncl_ncarg-5.2.1/external/blas/./dtrmm.f:192: undefined reference to `__c_mzero8'
> /usr/local/ncarg/lib/libblas_ncl.a(dtrmm.o): In function `.C1_291':
> dtrmm.f:(.data+0x20): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dtrmv.o): In function `.C1_291':
> dtrmv.f:(.data+0x18): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(dtrsm.o): In function `dtrsm_':
> /usr/local/src/ncl_ncarg-5.2.1/external/blas/./dtrsm.f:195: undefined reference to `__c_mzero8'
> /usr/local/ncarg/lib/libblas_ncl.a(dtrsm.o): In function `.C1_291':
> dtrsm.f:(.data+0x20): undefined reference to `pgf90_compiled'
> /usr/local/ncarg/lib/libblas_ncl.a(idamax.o): In function `.C1_376':
> idamax.f:(.data+0x10): undefined reference to `pgf90_compiled'
> collect2: ld returned 1 exit status
> make[4]: *** [ncl] Error 1
> make[4]: Leaving directory `/usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl'
> 
> 
> Thanks a lot!!
> 
> Evi Becerra
> Western Kentucky University.
> 
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20101216/7df2c55a/attachment.html 


More information about the ncl-install mailing list