(no subject)

From: <jagan_at_nyahnyahspammersnyahnyah>
Date: Wed, 17 May 2006 08:36:56 +0530

Hi,

I have problem in compiling the ncarg 4.4.1 code which I am trying
for first time. The following are specifications

AMD Dual core 64 bit
Linux (centos 4.2)
Intel compiler 9.0.031

 compiling with config/LINUX.64.INTEL with following define statements

#define HdfDefines -DLINUX
#define StdDefines -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DDWORDSIZE=8
#define convert big_endian
#define Cstatic
#define Cdynamic
#define CppCommand '/usr/bin/cpp -traditional'
#define CCompiler cc
#define FCompiler ifort
#define CtoFLibraries -L/opt/intel/fce/9.0/lib -llibifcore
#define CcOptions -ansi
#define FcOptions
#define COptimizeFlag -O2
#define FOptimizeFlag -O2
#define XToolLibrary -lXt -lSM -lICE
#define BuildShared NO
#define XLibrary -lXpm -lX11 -lXext

#define ArchRecLibSearch -L/usr/X11R6/lib64
#define ArchRecIncSearch -I/usr/X11R6/include

I have received error for the following

fontc, graphc, Iftran, IftranRun, tlocal, ncargworld, findg, psblack,
pre2ncgm.prog, tdpackdemo, ezmapdemo, ConvertMapData, WritePlotCharData,
pwritxnt, nnalg, ictrans, install

The above error follows same udefined reference few lines of which is given below

cfwrit.f: In subroutine `cfwrit':
cfwrit.f:52: warning:
           CALL BINWRI(IUNIT, WRLEN, CHSTRT, IOS, STATUS)
                1
cfwrit.f:54: (continued):
           CALL BINWRI(IUNIT, NWRDS, BUFFER, IOS, STATUS)
                2
Argument #3 of `binwri' is one type at (2) but is some other type at (1) [info
-f g77 M GLOBALS]
f77 -O2 -c -o ffgttk.o ffgttk.f
f77 -O2 -c -o ffinfo.o ffinfo.f
f77 -O2 -c -o ffphol.o ffphol.f
f77 -O2 -c -o ffppkt.o ffppkt.f
f77 -O2 -c -o ffprcf.o ffprcf.f
f77 -O2 -c -o ffprsa.o ffprsa.f
f77 -O2 -c -o fftbkd.o fftbkd.f
f77 -O2 -c -o fftkin.o fftkin.f
f77 -O2 -c -o sffndc.o sffndc.f
f77 -O2 -c -o sfgtin.o sfgtin.f
f77 -O2 -c -o sfgtkw.o sfgtkw.f
f77 -O2 -c -o sfprcf.o sfprcf.f
f77 -O2 -c -o sfskbk.o sfskbk.f
f77 -O2 -c -o sftbkd.o sftbkd.f
ifort -O2 -o fontc cfaamn.o cfrdln.o cfwrit.o ffgttk.o ffinfo.o
ffphol.o ffppkt.o ffprcf.o ffprsa.o fftbkd.o fftkin.o sffndc.o sfgtin.o
sfgtkw.o sfprcf.o sfskbk.o sftbkd.o -L../../.././common/src/libncarg_c
-lncarg_c -L/usr/local/ncarg/lib -L/usr/X11R6/lib64
ffgttk.o(.text+0x53): In function `ffgttk_':
: undefined reference to `s_cmp'
ffgttk.o(.text+0xc1): In function `ffgttk_':
: undefined reference to `s_copy'
ffgttk.o(.text+0xed): In function `ffgttk_':
: undefined reference to `s_cmp'
ffgttk.o(.text+0x10e): In function `ffgttk_':
: undefined reference to `s_cmp'
ffgttk.o(.text+0x12f): In function `ffgttk_':
: undefined reference to `s_cmp'
ffgttk.o(.text+0x16b): In function `ffgttk_':
: undefined reference to `s_copy'
ffphol.o(.text+0x6b): In function `ffphol_':
: undefined reference to `s_cmp'
ffphol.o(.text+0x1a5): In function `ffphol_':
: undefined reference to `s_cmp'
ffprcf.o(.text+0x9a): In function `ffprcf_':
: undefined reference to `s_cmp'
ffprcf.o(.text+0x1c1): In function `ffprcf_':
: undefined reference to `s_cmp'
ffprcf.o(.text+0x1e0): In function `ffprcf_':
: undefined reference to `s_cmp'
ffprcf.o(.text+0x207): more undefined references to `s_cmp' follow
ffprsa.o(.text+0x257): In function `ffprsa_':
: undefined reference to `s_copy'
fftkin.o(.text+0x40): In function `fftkin_':
: undefined reference to `s_copy'
fftkin.o(.text+0x6d): In function `fftkin_':
: undefined reference to `s_cmp'
fftkin.o(.text+0x8f): In function `fftkin_':
: undefined reference to `s_copy'
fftkin.o(.text+0xc8): In function `fftkin_':
: undefined reference to `s_cmp'
fftkin.o(.text+0xe5): In function `fftkin_':
: undefined reference to `s_cmp'
fftkin.o(.text+0x133): In function `fftkin_':
: undefined reference to `s_cmp'
fftkin.o(.text+0x154): In function `fftkin_':
: undefined reference to `s_cmp'
fftkin.o(.text+0x175): In function `fftkin_':
: undefined reference to `s_cmp'
fftkin.o(.text+0x1b0): In function `fftkin_':
: undefined reference to `s_copy'
fftkin.o(.text+0x1d1): In function `fftkin_':
: undefined reference to `s_rsfi'
fftkin.o(.text+0x1f1): In function `fftkin_':
: undefined reference to `do_fio'
fftkin.o(.text+0x1f8): In function `fftkin_':
: undefined reference to `e_rsfi'
fftkin.o(.text+0x22d): In function `fftkin_':
: undefined reference to `s_rsfi'
fftkin.o(.text+0x24c): In function `fftkin_':
: undefined reference to `do_fio'
fftkin.o(.text+0x253): In function `fftkin_':
: undefined reference to `e_rsfi'
sffndc.o(.text+0x37): In function `sffndc_':
: undefined reference to `s_cmp'
sfgtin.o(.text+0x70): In function `sfgtin_':
: undefined reference to `s_cmp'
sfgtin.o(.text+0xb1): In function `sfgtin_':
: undefined reference to `s_cmp'
sfgtin.o(.text+0x118): In function `sfgtin_':
: undefined reference to `s_copy'
sfgtin.o(.text+0x172): In function `sfgtin_':
: undefined reference to `s_copy'
sfgtin.o(.text+0x190): In function `sfgtin_':
: undefined reference to `s_rsfi'
sfgtin.o(.text+0x1ba): In function `sfgtin_':
: undefined reference to `do_fio'
sfgtin.o(.text+0x1c7): In function `sfgtin_':
: undefined reference to `e_rsfi'
sfgtin.o(.text+0x23c): In function `sfgtin_':
: undefined reference to `s_cmp'
sfgtin.o(.text+0x268): In function `sfgtin_':
: undefined reference to `s_cmp'
sfgtin.o(.text+0x294): In function `sfgtin_':
: undefined reference to `s_cmp'
sfgtkw.o(.text+0xf2): In function `sfgtwk_':
: undefined reference to `s_cmp'
sfprcf.o(.text+0xbc): In function `sfprcf_':
: undefined reference to `s_cmp'
sfskbk.o(.text+0x3c): more undefined references to `s_cmp' follow
../../.././common/src/libncarg_c/libncarg_c.a(sbytes.o)(.text+0x213): In
function `sbytes_':
: undefined reference to `s_wsle'
../../.././common/src/libncarg_c/libncarg_c.a(sbytes.o)(.text+0x22e): In
function `sbytes_':
: undefined reference to `do_lio'
../../.././common/src/libncarg_c/libncarg_c.a(sbytes.o)(.text+0x235): In
function `sbytes_':
: undefined reference to `e_wsle'
../../.././common/src/libncarg_c/libncarg_c.a(sbytes.o)(.text+0x243): In
function `sbytes_':
: undefined reference to `s_stop'
../../.././common/src/libncarg_c/libncarg_c.a(gbytes.o)(.text+0x17c): In
function `gbytes_':
: undefined reference to `s_wsle'
../../.././common/src/libncarg_c/libncarg_c.a(gbytes.o)(.text+0x197): In
function `gbytes_':
: undefined reference to `do_lio'
../../.././common/src/libncarg_c/libncarg_c.a(gbytes.o)(.text+0x19e): In
function `gbytes_':
: undefined reference to `e_wsle'
../../.././common/src/libncarg_c/libncarg_c.a(gbytes.o)(.text+0x1ac): In
function `gbytes_':
: undefined reference to `s_stop'
../../.././common/src/libncarg_c/libncarg_c.a(i1mach.o)(.text+0x41a): In
function `i1mach_':
: undefined reference to `s_wsle'
../../.././common/src/libncarg_c/libncarg_c.a(i1mach.o)(.text+0x435): In
function `i1mach_':
: undefined reference to `do_lio'
../../.././common/src/libncarg_c/libncarg_c.a(i1mach.o)(.text+0x44e): In
function `i1mach_':
: undefined reference to `do_lio'
../../.././common/src/libncarg_c/libncarg_c.a(i1mach.o)(.text+0x469): In
function `i1mach_':
: undefined reference to `do_lio'
../../.././common/src/libncarg_c/libncarg_c.a(i1mach.o)(.text+0x470): In
function `i1mach_':
: undefined reference to `e_wsle'
../../.././common/src/libncarg_c/libncarg_c.a(i1mach.o)(.text+0x47e): In
function `i1mach_':
: undefined reference to `s_stop'
../../.././common/src/libncarg_c/libncarg_c.a(i1mach.o)(.text+0x48a): In
function `i1mach_':
: undefined reference to `s_wsfe'
../../.././common/src/libncarg_c/libncarg_c.a(i1mach.o)(.text+0x491): In
function `i1mach_':
: undefined reference to `e_wsfe'
make[4]: *** [fontc] Error 1
make[4]: Leaving directory `/root/Desktop/ncarg/common/src/fontcap'
Making ./common/src/graphcap
make[4]: Entering directory `/root/Desktop/ncarg/common/src/graphcap'
ifort -O2 -c capchg.f
f77 -O2 -c -o binput.o binput.f
binput.f: In subroutine `binput':
binput.f:239: warning:
         CALL BINWRI(UNIT, LENDEV, DGISTR, IOS, STATUS)
              1
binput.f:259: (continued):
         CALL BINWRI(UNIT, LENLIN, PLAVBL, IOS, STATUS)

I am not conversant with fortran programmes. However I compiled ARW, WRFSI
sucessfully in AMD 64 machine (not dual core). I have not tried ncarg so far.

Request help.

R.Jagannathan
Professor and Head
Department of Agricultural Meteorology,
Tamil Nadu Agricultural University
Coimbatore, India

----------------------------------------------------------------------
Mail sent through TNAU WebMail (http://tnau.ac.in/)
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue May 16 2006 - 21:06:56 MDT

This archive was generated by hypermail 2.2.0 : Wed May 17 2006 - 10:07:47 MDT