Storm trak problems

From: eddycarl <eddycarl_at_nyahnyahspammersnyahnyah>
Date: Sun, 11 Nov 2007 11:16:47 +0800 (CST)

Hi there,

I wish to use NCL version 5.0.0 to plot storm track based on WRF arw model output. I followed the instruction on the following address: http://www.ncl.ucar.edu/Applications/wrftrack.shtml . However, when I run:

WRAPIT wrf_user_fortran_util_0.f

It promped:

WRAPIT Version: 051007
COMPILING wrf_user_fortran_util_0.f
LINKING
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
END WRAPIT

The "wrf_user_fortran_util_0.so" file is not generated.

When I specified "-pg" to use pgi compiler, the problem is:

WRAPIT Version: 051007
/usr/local/pgi51/linux86-64/5.1/bin/pgf90
COMPILING wrf_user_fortran_util_0.f
LINKING
/usr/bin/ld: WRAPIT.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
WRAPIT.o: could not read symbols: Bad value
END WRAPIT

Then I recompiled with "-fPIC" as instructed, the .so file was generated. But when I run the ncl WRF_track_1.ncl file, the problem came out:

ncl: Symbol `exit' causes overflow in R_X86_64_PC32 relocation
ncl: Symbol `_setjmp' causes overflow in R_X86_64_PC32 relocation
warning:An error occurred loading the external file ./wrf_user_fortran_util_0.so, file not loaded
/usr/local/pgi51/linux86-64/5.1/libso/libpgc.so: cannot restore segment prot after reloc: Permission denied
warning:error at line 1 in file wrf_user_mass.ncl

Does anyone know what I shall do to settle this problem? Thanks.
(In addition, my Linux version is Redhat Enterprise Linux 5, and I have pgi fortran compiler.)

Regards,
Carl

 
 
 
 
 

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Nov 10 2007 - 20:16:47 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 12 2007 - 09:17:55 MST