[Wrf-users] problem

Virelli Maria virelli at asi.it
Mon Jun 15 03:00:45 MDT 2009


I am having problems with compiling WPF on Ubuntu Linux machine using gfortran and gcc.

./compile em_squall2d_x >& compile.log
There are errors in the compilation process when checking the compile.log file. Here is one of them:

ar: creating libfftpack.a
ranlib libfftpack.a
make[3]: Leaving directory `/home/pc/WRF/WRFV3/external/fftpack/fftpack5'
( cd /home/pc/WRF/WRFV3/external/io_netcdf ; \
make NETCDFPATH="/usr/local/netcdf" RANLIB="ranlib" CPP="/lib/cpp -C -P" \
CC="gcc" CFLAGS="-w -O3 -c -DLANDREAD_STUB " \
FC="gfortran -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4" TRADFLAG="-traditional" AR="ar" ARFLAGS="ru" )
make[3]: Entering directory `/home/pc/WRF/WRFV3/external/io_netcdf'
gcc -c -w -O3 -c -DLANDREAD_STUB bitwise_operators.c
grep nf_format_64bit /usr/local/netcdf/include/netcdf.inc ;\
a=$? ; export a ; \
if [ $a -a "$WRFIO_NCD_LARGE_FILE_SUPPORT" = "1" ] ; then \
/lib/cpp -C -P -C -P -traditional -DWRFIO_NCD_LARGE_FILE_SUPPORT -I../ioapi_share wrf_io.F90 | m4 -Uinclude -Uindex -Ulen - > wrf_io.f ; \
else \
/lib/cpp -C -P -C -P -traditional -I../ioapi_share wrf_io.F90 | m4 -Uinclude -Uindex -Ulen - > wrf_io.f ; \
integer nf_format_64bit
parameter (nf_format_64bit = 2)
/bin/sh: m4: not found
make[3]: [wrf_io.o] [color=#FF4040]Error 127[/color] (ignored)
gfortran -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o wrf_io.o -I/usr/local/netcdf/include -I../ioapi_share -c wrf_io.f
/lib/cpp -C -P -C -P -traditional -I../ioapi_share field_routines.F90 > field_routines.f
gfortran -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o field_routines.o -I/usr/local/netcdf/include -I../ioapi_share -c field_routines.f

use wrf_data
Fatal Error: Can't open module file 'wrf_data.mod' for reading at (1): No such file or directory
make[3]: [field_routines.o] Error 1 (ignored)
/lib/cpp -C -P -C -P -traditional -I../ioapi_share module_wrfsi_static.F90 > module_wrfsi_static.f
gfortran -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o module_wrfsi_static.o -I/usr/local/netcdf/include -I../ioapi_share -c module_wrfsi_static.f
/bin/rm -f libwrfio_nf.a
if [ "ar" != "lib.exe" ] ; then \
ar cr libwrfio_nf.a wrf_io.o field_routines.o module_wrfsi_static.o bitwise_operators.o ; \
else \
ar /out:libwrfio_nf.a wrf_io.o field_routines.o module_wrfsi_static.o bitwise_operators.o ; \
ar: field_routines.o: No such file or directory
make[3]: [libwrfio_nf.a] Error 1 (ignored)
ranlib libwrfio_nf.a
ranlib: 'libwrfio_nf.a': No such file
make[3]: [libwrfio_nf.a] Error 1 (ignored)
make[3]: Leaving directory `/home/pc/WRF/WRFV3/external/io_netcdf'
( /bin/rm -f /home/pc/WRF/WRFV3/tools/gen_comms.c )
( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; cat module_dm_stubs.F >> module_dm.F ; fi )
make[2]: Leaving directory `/home/pc/WRF/WRFV3/frame'
make[1]: Leaving directory `/home/pc/WRF/WRFV3'
make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm -I/home/pc/WRF/WRFV3/external/esmf_time_f90 -I/home/pc/WRF/WRFV3/main -I/home/pc/WRF/WRFV3/external/io_netcdf -I/home/pc/WRF/WRFV3/external/io_int -I/home/pc/WRF/WRFV3/frame -I/home/pc/WRF/WRFV3/share -I/home/pc/WRF/WRFV3/phys -I/home/pc/WRF/WRFV3/chem -I/home/pc/WRF/WRFV3/inc " toolsdir
make[1]: Entering directory `/home/pc/WRF/WRFV3'


Could you give me some help?
Thanks in advance.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20090615/03d57d1a/attachment.html 

More information about the Wrf-users mailing list