[Wrf-users] COMPILE PROBLEMS WITH WRF

ZhangJie zhangjie_1213 at hotmail.com
Tue Feb 19 10:23:33 MST 2013


Hello, everyone
I recently downloaded and am in the process of installing WRFV3 but have 
run into a few problems getting it to compile.

Running:
Ubuntu 12.04(hardy)
gfortran and gcc compilers.NETCDF, gfortran and gcc are tested!

Installed gfortran, gcc and Perl via apt-get.
Compiled netCDF, using gfortran and gcc.


During complie  I get the following errors:(attachment is Compile log)
<ERROR>
Error: Unexpected assignment statement in MODULE at (1)
module_io.f90:85.6:

  ELSE
     1
Error: Unexpected ELSE statement in MODULE at (1)
module_io.f90:86.14:

SUBROUTINE wrf_ioinit( Status )
1
Error: Unclassifiable statement at (1)
module_io.f90:61.15:

  IMPLICIT NONE
              1
module_io.f90:38.47:

  LOGICAL, PRIVATE :: bdy_dist_flag = .TRUE.
                                              2
Error: IMPLICIT NONE statement at (1) cannot follow data declaration 
statement at (2)
module_io.f90:67.12:

  Status = 0
           1
Error: Unexpected assignment statement in MODULE at (1)
module_io.f90:68.10:

  ierr = 0
         1
Error: Unexpected assignment statement in MODULE at (1)
module_io.f90:69.18:

  SysDepInfo = " "
                 1
Error: Unexpected assignment statement in MODULE at (1)
module_io.f90:70.53:

  CALL wrf_debug( 500, 'module_io.F: in wrf_ioinit' )
                                                    1
Error: Unexpected CALL statement in MODULE at (1)
module_io.f90:71.26:

  CALL init_io_handles
                         1
Error: Unexpected CALL statement in MODULE at (1)
module_io.f90:73.46:

  CALL ext_ncd_ioinit(   SysDepInfo, ierr(1) )
                                             1
Error: Unexpected CALL statement in MODULE at (1)
module_io.f90:76.46:

  CALL ext_int_ioinit(   SysDepInfo, ierr(2) )
                                             1
Error: Unexpected CALL statement in MODULE at (1)
module_io.f90:77.46:

  CALL ext_gr1_ioinit(   SysDepInfo, ierr(9) )
                                             1
Error: Unexpected CALL statement in MODULE at (1)
module_io.f90:78.47:

  CALL ext_gr2_ioinit(   SysDepInfo, ierr(10) )
                                              1
Error: Unexpected CALL statement in MODULE at (1)
module_io.f90:79.23:

  minerr = MINVAL(ierr)
                      1
Error: Unexpected assignment statement in MODULE at (1)
module_io.f90:80.23:

  maxerr = MAXVAL(ierr)
                      1
Error: Unexpected assignment statement in MODULE at (1)
module_io.f90:81.24:

  IF ( minerr < 0 ) THEN
                       1
Error: Unexpected block IF statement in MODULE at (1)
module_io.f90:82.19:

    Status = minerr
                  1
Error: Unexpected assignment statement in MODULE at (1)
module_io.f90:83.29:

  ELSE IF ( maxerr > 0 ) THEN
                            1
Error: Unexpected ELSE IF statement in MODULE at (1)
module_io.f90:84.19:

    Status = 0
             1
Error: Unexpected assignment statement in MODULE at (1)
module_io.f90:87.5:

  ENDIF
    1
Error: Expecting END MODULE statement at (1)
module_io.f90:88.3:

END SUBROUTINE wrf_ioinit
  1
Error: Expecting END MODULE statement at (1)
module_io.f90:92:

SUBROUTINE wrf_ioexit( Status )
1
Error: Unclassifiable statement at (1)
module_io.f90:98.15:

  IMPLICIT NONE
              1
Error: Unexpected IMPLICIT NONE statement in MODULE at (1)
module_io.f90:99.34:

  INTEGER, INTENT(INOUT) :: Status
                                 1
Error: Symbol 'status' at (1) already has basic type of INTEGER
module_io.f90:101.41:

  LOGICAL, EXTERNAL :: use_output_servers
                                        1
Error: Unexpected data declaration statement in MODULE at (1)
Fatal Error: Error count reached limit of 25.


Could you meet this similar problems and give some suggestions, thank u in advance.

Bestregards
Jie

 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20130219/be2c6519/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile.log
Type: text/x-log
Size: 108255 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20130219/be2c6519/attachment-0001.bin 


More information about the Wrf-users mailing list