<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Hello...<BR>
<BR>
I am having problems with compiling WPF on Ubuntu Linux machine using gfortran and gcc.<BR>
<BR>
./compile em_squall2d_x >& compile.log<BR>
There are errors in the compilation process when checking the compile.log file. Here is one of them:<BR>
<BR>
............<BR>
ar: creating libfftpack.a<BR>
ranlib libfftpack.a<BR>
make[3]: Leaving directory `/home/pc/WRF/WRFV3/external/fftpack/fftpack5'<BR>
( cd /home/pc/WRF/WRFV3/external/io_netcdf ; \<BR>
make NETCDFPATH="/usr/local/netcdf" RANLIB="ranlib" CPP="/lib/cpp -C -P" \<BR>
CC="gcc" CFLAGS="-w -O3 -c -DLANDREAD_STUB " \<BR>
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" )<BR>
make[3]: Entering directory `/home/pc/WRF/WRFV3/external/io_netcdf'<BR>
gcc -c -w -O3 -c -DLANDREAD_STUB bitwise_operators.c<BR>
grep nf_format_64bit /usr/local/netcdf/include/netcdf.inc ;\<BR>
a=$? ; export a ; \<BR>
if [ $a -a "$WRFIO_NCD_LARGE_FILE_SUPPORT" = "1" ] ; then \<BR>
/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 ; \<BR>
else \<BR>
/lib/cpp -C -P -C -P -traditional -I../ioapi_share wrf_io.F90 | m4 -Uinclude -Uindex -Ulen - > wrf_io.f ; \<BR>
fi<BR>
integer nf_format_64bit<BR>
parameter (nf_format_64bit = 2)<BR>
/bin/sh: m4: not found<BR>
make[3]: [wrf_io.o] [color=#FF4040]Error 127[/color] (ignored)<BR>
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<BR>
/lib/cpp -C -P -C -P -traditional -I../ioapi_share field_routines.F90 > field_routines.f<BR>
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<BR>
field_routines.f:39.14:<BR>
<BR>
use wrf_data<BR>
1<BR>
Fatal Error: Can't open module file 'wrf_data.mod' for reading at (1): No such file or directory<BR>
make[3]: [field_routines.o] Error 1 (ignored)<BR>
/lib/cpp -C -P -C -P -traditional -I../ioapi_share module_wrfsi_static.F90 > module_wrfsi_static.f<BR>
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<BR>
/bin/rm -f libwrfio_nf.a<BR>
if [ "ar" != "lib.exe" ] ; then \<BR>
ar cr libwrfio_nf.a wrf_io.o field_routines.o module_wrfsi_static.o bitwise_operators.o ; \<BR>
else \<BR>
ar /out:libwrfio_nf.a wrf_io.o field_routines.o module_wrfsi_static.o bitwise_operators.o ; \<BR>
fi<BR>
ar: field_routines.o: No such file or directory<BR>
make[3]: [libwrfio_nf.a] Error 1 (ignored)<BR>
ranlib libwrfio_nf.a<BR>
ranlib: 'libwrfio_nf.a': No such file<BR>
make[3]: [libwrfio_nf.a] Error 1 (ignored)<BR>
make[3]: Leaving directory `/home/pc/WRF/WRFV3/external/io_netcdf'<BR>
( /bin/rm -f /home/pc/WRF/WRFV3/tools/gen_comms.c )<BR>
( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; cat module_dm_stubs.F >> module_dm.F ; fi )<BR>
make[2]: Leaving directory `/home/pc/WRF/WRFV3/frame'<BR>
make[1]: Leaving directory `/home/pc/WRF/WRFV3'<BR>
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<BR>
make[1]: Entering directory `/home/pc/WRF/WRFV3'<BR>
<BR>
<BR>
........<BR>
<BR>
Could you give me some help?<BR>
Thanks in advance.<BR>
<BR>
Maria<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>