error when make TERRAIN

From: Li Weikeng <es03lwk_at_nyahnyahspammersnyahnyah>
Date: Mon, 9 Jun 2008 16:15:06 +0800

Hello,
          some problems when I "make" TERRAIN of MM5:
          First install the NCARG and set the environment variable well.Then
just type "make" in the directory of TERRAIN with no change of Makefile(choose
using NCAR Graphics). Then there're some mistakes:

Compiling for Linux
make[1]: Entering directory `/root/mm5/TERRAIN/src'
pgf90 -o terrain.exe ia.o anal2.o bint.o bndry.o crlnd.o crter.o dfclrs.o
exaint.o finprt.o fudger.o interp.o label.o lakes.o latlon.o llxy.o mxmnll.o
nestll.o oned.o outpt.o output.o pltter.o rdldtr.o replace.o rflp.o setup.o
sint.o smth121.o smther.o smthtr.o terdrv.o terrain.o tfudge.o vtran.o
xyobsll.o hiresmap.o plots.o crvst.o crvst30s.o nestbdy.o crsoil.o equate.o
labels.o labelv.o patch.o plotcon.o watercheck.o crlwmsk.o soil_tg.o
water_vfr.o check_data.o terrestial_info.o write_fieldrec.o
-L/usr/local/ncarg/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11
-L/opt/pgi/linux86/lib -L/usr/lib -lf2c
/usr/lib/libf2c.a: could not read symbols: File format not recognized
make[1]: [terrain.exe] Error 2 (ignored)
make[1]: Leaving directory `/root/mm5/TERRAIN/src'

But if I
(1)edit Makefile with no NCARG:
         NCARGRAPHICS = NONCARG
(2)and remove the libraries (or RHS) in the LOCAL_LIBRARIES:
"LOCAL_LIBRARIES= -L$(NCARG_ROOT)/lib -L/usr/X11R6/lib -lncarg -lncarg_gks
-lncarg_c -lX11 -L$(PGI)/linux86/lib -L/usr/lib -lf2c"
===>
"LOCAL_LIBRARIES= -L$(PGI)/linux86/lib -L/usr/lib -lf2c"

then there's no problem when I "make" TERRAIN. I have download the libf2c.a
from UCAR ftp to /usr/lib/,or copy it from other computers, and the error
still happen. How can I fix it?
My system: Fedora7 Linux
GNU LIBC version:2.6
MM5:V3-7-0
NCARG:both 4.4.2 and 5.0.0have been installed and tried but it's the same .

--
Best regards
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Mon Jun 09 2008 - 02:15:06 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 18 2008 - 12:40:27 MDT