Problem building met. model: undefined reference

From: Francisco Pastor <pastor_fco_at_nyahnyahspammersnyahnyah>
Date: Tue Dec 10 2013 - 01:13:24 MST

Hi everyone

I'm trying to compile a meteorological model and trying to build with
the same environment it was built time ago. I have installed NCAR
4.4.2 and when building the met model under Ubuntu 12.04 with Intel
fortran compiler I get this error messages:

/opt/intel/bin/ifort -o rams-6.0-opt rammain.o rams-6.0-opt.a \
     ./utils/libutils-2.4-opt.a -L/usr/local/ncarg-4.4.2/lib -lncarg
-lncarg_gks -lncarg_c -L/usr/lib/i386-linux-gnu -lpthread -ldl -lc
-lgcc_eh -L/usr/local/mpich2-1.0.5p4/lib/ -lmpich
-L/usr/local/hdf5/lib -lhdf5 -lz -lm
/usr/local/ncarg-4.4.2/lib/libncarg_gks.a(gziqwk.o): In function `gziqwk_':
gziqwk.f:(.text+0x10e): undefined reference to `ggkwdr_'
/usr/local/ncarg-4.4.2/lib/libncarg_gks.a(gztowk.o): In function `gztowk_':
gztowk.f:(.text+0x286): undefined reference to `ggkwdr_'
gztowk.f:(.text+0x4e4): undefined reference to `ggkwdr_'
gztowk.f:(.text+0x830): undefined reference to `ggkwdr_'
make: *** [rams-6.0-opt] Error 1

with this build options for NCARG

NCARG_DIR=/usr/local/ncarg-4.4.2/lib
LIBNCARG=-L$(NCARG_DIR) -lncarg -lncarg_gks -lncarg_c
-L/usr/lib/i386-linux-gnu -lpthread -ldl -lc -lgcc_eh

Should I use latest NCAR version?

I've found some info on the web about ncarg not properly building but
I'm not sure if this is my case. Any help or hint to solve this
problem will be greatly appreciated.

___________________________________________________________________________________________________
Francisco Pastor
Meteorology department
Fundación CEAM
paco@ceam.es
http://www.ceam.es/ceamet
http://www.ceam.es/
Paterna, Valencia, Spain
___________________________________________________________________________________________________
Usuario Linux registrado: 363952

_______________________________________________
ncarg-talk mailing list
ncarg-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue Dec 10 01:13:35 2013

This archive was generated by hypermail 2.1.8 : Fri Dec 13 2013 - 11:42:50 MST