<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>WRF compile problems (WRFV3)</title>
</head>
<body bgcolor="#ffffff" text="#000000">
Good morning everyone.<br>
<br>
I recently downloaded and am in the process of installing WRFV3 but
have run into a few problems getting it to compile.<br>
<br>
Running:<br>
Ubuntu 8.04(hardy)<br>
Kernel 2.6.24-19-generic<br>
2 - 2.8ghz Dual Core Intel Xeon CPUs<br>
gfortran and gcc compilers.<br>
<br>
Installed gfortran, gcc and Perl via apt-get.<br>
Compiled netCDF, MPI and NCAR(without NCL) using gfortran and gcc.<br>
Installed JasPer, PNG, zlib via apt-get.<br>
<br>
On to the errors. During complie (Using compile em_b_wave to test but
get the same errors with the others as well) I get the following errors:<br>
<ERROR><br>
<font size="-1">Error: Unexpected assignment statement in MODULE at (1)<br>
module_io.f90:85.6:<br>
<br>
ELSE<br>
1<br>
Error: Unexpected ELSE statement in MODULE at (1)<br>
module_io.f90:86.14:<br>
<br>
SUBROUTINE wrf_ioinit( Status )<br>
1<br>
Error: Unclassifiable statement at (1)<br>
module_io.f90:61.15:<br>
<br>
IMPLICIT NONE<br>
1<br>
module_io.f90:38.47:<br>
<br>
LOGICAL, PRIVATE :: bdy_dist_flag = .TRUE.<br>
2<br>
Error: IMPLICIT NONE statement at (1) cannot follow data declaration
statement at (2)<br>
module_io.f90:67.12:<br>
<br>
Status = 0<br>
1<br>
Error: Unexpected assignment statement in MODULE at (1)<br>
module_io.f90:68.10:<br>
<br>
ierr = 0<br>
1<br>
Error: Unexpected assignment statement in MODULE at (1)<br>
module_io.f90:69.18:<br>
<br>
SysDepInfo = " "<br>
1<br>
Error: Unexpected assignment statement in MODULE at (1)<br>
module_io.f90:70.53:<br>
<br>
CALL wrf_debug( 500, 'module_io.F: in wrf_ioinit' )<br>
1<br>
Error: Unexpected CALL statement in MODULE at (1)<br>
module_io.f90:71.26:<br>
<br>
CALL init_io_handles<br>
1<br>
Error: Unexpected CALL statement in MODULE at (1)<br>
module_io.f90:73.46:<br>
<br>
CALL ext_ncd_ioinit( SysDepInfo, ierr(1) )<br>
1<br>
Error: Unexpected CALL statement in MODULE at (1)<br>
module_io.f90:76.46:<br>
<br>
CALL ext_int_ioinit( SysDepInfo, ierr(2) )<br>
1<br>
Error: Unexpected CALL statement in MODULE at (1)<br>
module_io.f90:77.46:<br>
<br>
CALL ext_gr1_ioinit( SysDepInfo, ierr(9) )<br>
1<br>
Error: Unexpected CALL statement in MODULE at (1)<br>
module_io.f90:78.47:<br>
<br>
CALL ext_gr2_ioinit( SysDepInfo, ierr(10) )<br>
1<br>
Error: Unexpected CALL statement in MODULE at (1)<br>
module_io.f90:79.23:<br>
<br>
minerr = MINVAL(ierr)<br>
1<br>
Error: Unexpected assignment statement in MODULE at (1)<br>
module_io.f90:80.23:<br>
<br>
maxerr = MAXVAL(ierr)<br>
1<br>
Error: Unexpected assignment statement in MODULE at (1)<br>
module_io.f90:81.24:<br>
<br>
IF ( minerr < 0 ) THEN<br>
1<br>
Error: Unexpected block IF statement in MODULE at (1)<br>
module_io.f90:82.19:<br>
<br>
Status = minerr<br>
1<br>
Error: Unexpected assignment statement in MODULE at (1)<br>
module_io.f90:83.29:<br>
<br>
ELSE IF ( maxerr > 0 ) THEN<br>
1<br>
Error: Unexpected ELSE IF statement in MODULE at (1)<br>
module_io.f90:84.19:<br>
<br>
Status = 0<br>
1<br>
Error: Unexpected assignment statement in MODULE at (1)<br>
module_io.f90:87.5:<br>
<br>
ENDIF<br>
1<br>
Error: Expecting END MODULE statement at (1)<br>
module_io.f90:88.3:<br>
<br>
END SUBROUTINE wrf_ioinit<br>
1<br>
Error: Expecting END MODULE statement at (1)<br>
module_io.f90:92:<br>
<br>
SUBROUTINE wrf_ioexit( Status )<br>
1<br>
Error: Unclassifiable statement at (1)<br>
module_io.f90:98.15:<br>
<br>
IMPLICIT NONE<br>
1<br>
Error: Unexpected IMPLICIT NONE statement in MODULE at (1)<br>
module_io.f90:99.34:<br>
<br>
INTEGER, INTENT(INOUT) :: Status<br>
1<br>
Error: Symbol 'status' at (1) already has basic type of INTEGER<br>
module_io.f90:101.41:<br>
<br>
LOGICAL, EXTERNAL :: use_output_servers<br>
1<br>
Error: Unexpected data declaration statement in MODULE at (1)<br>
Fatal Error: Error count reached limit of 25.<br>
<br>
SE module_io<br>
1</font><br>
</ERROR><br>
<br>
The script keeps going through those then hits another set:<br>
<ERROR><br>
<font size="-1">Fatal Error: Can't open module file 'module_io.mod' for
reading at (1): No such file or directory<br>
make[2]: [../share/module_io_domain.o] Error 1 (ignored)<br>
rm -f module_initialize_b_wave.o<br>
/home/jcrosby/WRFV3/tools/standard.exe module_initialize_b_wave.F >
module_initialize_b_wave.b<br>
/lib/cpp -C -P -I/home/jcrosby/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0
-DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0
-DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4
-DNONSTANDARD_SYSTEM -DDM_PARALLEL -DSTUBMPI -DNETCDF -DGRIB2 -DGRIB1
-DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=32768 -DMAX_DOMAINS_F=21
-DNMM_NEST=0 -I. -traditional module_initialize_b_wave.b >
module_initialize_b_wave.f90<br>
rm -f module_initialize_b_wave.b<br>
gfortran -c -O0 -w -ffree-form -ffree-line-length-none
-fconvert=big-endian -frecord-marker=4 -I../dyn_em -I../dyn_nmm
-I/home/jcrosby/WRFV3/main -I/home/jcrosby/WRFV3/external/io_netcdf
-I/home/jcrosby/WRFV3/external/io_int
-I/home/jcrosby/WRFV3/external/esmf_time_f90
-I/home/jcrosby/WRFV3/frame -I/home/jcrosby/WRFV3/share
-I/home/jcrosby/WRFV3/phys -I/home/jcrosby/WRFV3/chem
-I/home/jcrosby/WRFV3/inc module_initialize_b_wave.f90<br>
module_initialize_b_wave.f90:13.23:</font><br>
<br>
Above error is seen in module_io, module_initialize_ideal,
module_io_domain<br>
</ERROR><br>
<br>
No idea whats going on here, but if anyone has any ideas it would be
great.<br>
<br>
Thanks in advance.<br>
<br>
<pre class="moz-signature" cols="72">--
Joseph Crosby
Network Administrator
Scotia Weather Service Inc.
<a class="moz-txt-link-abbreviated"
href="mailto:netadmin@scotiaweather.com">netadmin@scotiaweather.com</a>
-----------
A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought you looked a bit off."</pre>
</body>
</html>