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

From: Lindenfelser, Greg A (GE Energy, Non-GE) <greg.lindenfelser_at_nyahnyahspammersnyahnyah>
Date: Tue May 24 2011 - 05:46:23 MDT

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.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.f:(.text+0x81): undefined reference to

mdlndr.f:(.text+0xb0): undefined reference to

mdlndr.f:(.text+0xd9): undefined reference to

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.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.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.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

ext+0x516): more undefined references to `_gfortran_copy_string'

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 []
Sent: Monday, May 23, 2011 10:51 AM
To: Lindenfelser, Greg A (GE Energy, Non-GE)
Subject: Re: 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.




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



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

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:

Received on Tue May 24 05:47:30 2011

This archive was generated by hypermail 2.1.8 : Mon Jun 13 2011 - 09:43:16 MDT