[ncl-install] WPS 3.2.1 does not produce plotgrids/plotfmt/anyone have gcc44/gfortran44 compiled NCL 5.2.1

Lindenfelser, Greg A (GE Energy, Non-GE) greg.lindenfelser at ge.com
Tue May 24 05:46:23 MDT 2011


Hi Mary,

 

Here are a few excerpts from attempted compile:

 

....

/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg.a(mdpit.o): In function
`mdpit_':^M

mdpit.f:(.text+0x47a): undefined reference to `_gfortran_pow_r8_i4'^M

mdpit.f:(.text+0x4f4): undefined reference to `_gfortran_pow_r8_i4'^M

/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg.a(mdlndr.o): In function
`mdlndr_':^M

mdlndr.f:(.text+0x81): undefined reference to
`_gfortran_internal_malloc'^M

mdlndr.f:(.text+0xb0): undefined reference to
`_gfortran_internal_malloc'^M

mdlndr.f:(.text+0xd9): undefined reference to
`_gfortran_internal_free'^M

mdlndr.f:(.text+0xf1): undefined reference to `_gfortran_copy_string'^M

....

 

                

/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg_gks.a(gerhnd.o): In function
`gerhnd_':^M

gerhnd.f:(.text+0xdc): undefined reference to `_gfortran_copy_string'^M

/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg_gks.a(gzgte2.o): In function
`gzgte2_':^M

gzgte2.f:(.text+0x66): undefined reference to `_gfortran_copy_string'^M

/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg_gks.a(gzputs.o): In function
`gzputs_':^M

gzputs.f:(.text+0x7c): undefined reference to `_gfortran_copy_string'^M

gzputs.f:(.text+0xf8): undefined reference to `_gfortran_copy_string'^M

gzputs.f:(.text+0x17d): undefined reference to `_gfortran_copy_string'^M

/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg_gks.a(gzopwk.o):gzopwk.f:(.t
ext+0x516): more undefined references to `_gfortran_copy_string'
follow^M

collect2: ld returned 1 exit status^M

make[1]: [plotgrids.exe] Error 1 (ignored)^M

 

If you need to see more or the whole compile, please let me know.

 

Greg Lindenfelser

 

From: Mary Haley [mailto:haley at ucar.edu] 
Sent: Monday, May 23, 2011 10:51 AM
To: Lindenfelser, Greg A (GE Energy, Non-GE)
Cc: ncl-install at ucar.edu
Subject: Re: [ncl-install] WPS 3.2.1 does not produce
plotgrids/plotfmt/anyone have gcc44/gfortran44 compiled NCL 5.2.1

 

Hi Greg,

 

Can you provide the error messages from your compilation? We don't have
5.2.1 compiled with gcc 4.4.x, unfortunately, but we do have a binary
for (Debian) gcc 4.3.2 which might work better than 4.1.2.

 

However, if I can see the compilation error, I might be able to provide
a solution without you having to reinstall or build from source code.

 

--Mary

 

On May 20, 2011, at 8:25 AM, Lindenfelser, Greg A (GE Energy, Non-GE)
wrote:





All,

 

I'm currently using:

*       RedHat 5.4 Linux on x86_64 architecture

*       Using gcc44 & gfortran44 to compile

*       Am currently working on getting WPS 3.2.1 to generate all
executables specified in the ARW Users Guide

 

My problem is that I cannot seem to get WPS to compile 2 out of the 9
executables (plotfmt.exe or the plotgrids.exe) that are generated by the
./compile step. In the manual, it says "if the plotfmt.exe or the
plotgrids.exe programs are missing, probably the NCAR Graphics path is
set incorrectly", however, if I do `ls $NCARG_ROOT` I get:

bin                include
ncl_ncarg-5.2.1.Linux_RedHat_x86_64_gcc412.tar.gz

curr_ver_is_nodap  lib     

 

I realize my problem is most likely caused by the fact that I compiled
with gcc44/gfortran44 and the NCL is version 5.2.1 binary install from a
gcc/gfortran compiled install.

 

Has anyone compiled the full (or even partial) NCL for version 5.X with
gcc44/gfortran44 and perhaps have the binaries for this. If not, does
anyone have a script that builds it out premised upon having the correct
prerequisites? If so, it would be greatly appreciated as I could easily
modify it to suit my needs. 

 

Thanks in advance for any and all help/comments.

 

Greg Lindenfelser

HPC Support

Assigned to:

GE Infrastructure

Schenectady, New York 12345

Phone: (518) 385-3964

      (C) (518) 847-8627    

 

_______________________________________________
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/20110524/8135b8da/attachment.html 


More information about the ncl-install mailing list