[Wrf-users] ask help for WRF 3dvar mapplot in linux on pc .
Mr.liu
ucmenj at 163.com
Wed Nov 8 20:40:53 MST 2006
Hi ,all
I am a new comer of wrf 3dvar. Now I have a problem when I run the 3dvar_obsproc_v2.1 in pc linux.
I succeeded in compile the 3dvar_obsproc and run the 3dvar_obs.exe.But when I run Map.csh in MAP_PLOT
dictionary,thers is a mistake during making according the Makfile.The error information is showed as below:
make[2]: Entering directory `/other/tangj/Model/3DVARWRF/3DVAR_OBSPROC_v2.1/MAP_plot/Dir_map'
pgf90 -o Map.exe ../libfdvar.a -L/usr/local/ncarg/lib -lncarg -lcgm -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11 -L/usr/pgi/linux86/lib -lpgftnrtl -lpgc -L/usr/lib -lf2c
/usr/bin/ld: cannot find -lf2c
make[2]: [Map.exe] Error 2 (ignored)
make[2]: Leaving directory `/other/tangj/Model/3DVARWRF/3DVAR_OBSPROC_v2.1/MAP_plot/Dir_map'
(mv Map.exe ../.);
And if I change the "-lf2c" to "-lg2c" or delete at all,it still showed some error and information shown as below.
make[2]: Entering directory `/other/tangj/Model/3DVARWRF/3DVAR_OBSPROC_v2.1/MAP_plot/Dir_map'
pgf90 -o Map.exe ../libfdvar.a -L/usr/local/ncarg/lib -lncarg -lcgm -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11 -L/usr/pgi/linux86/lib -lpgftnrtl -lpgc -L/usr/lib -lg2c
/usr/pgi/linux86/5.1/lib/f90main.o: In function `main':
/usr/pgi/linux86/5.1/lib/f90main.o(.text+0x52): undefined reference to `__pgio_set_argc'
/usr/pgi/linux86/5.1/lib/f90main.o(.text+0x5e): undefined reference to `__pgio_set_argv'
make[2]: [Map.exe] Error 2 (ignored)
make[2]: Leaving directory `/other/tangj/Model/3DVARWRF/3DVAR_OBSPROC_v2.1/MAP_plot/Dir_map'
(mv Map.exe ../.);
mv: cannot stat `Map.exe': No such file or directory
make[1]: [all] Error 1 (ignored)
How can to deal with this problem ?Anyone can help me ? Thank you!
Liu .f.s.
More information about the Wrf-users
mailing list