[Wrf-users] installation problem in WRF+ESMF

Ufuk Utku Turunçoğlu turuncu at be.itu.edu.tr
Tue Aug 26 04:06:08 MDT 2008


Hi,

I try to install WRF to couple with ROMS model. I am using WRF version  
3.0.1.1 and ESMF version 3.1.0r. I get following error messages in  
compile time. System specific informations are,

redhat linux as 4u4 (Linux cn02 2.6.9-42.0.10.EL_SFS2.2_1smp #1 SMP  
Tue Feb 26 11:50:41 EET 2008 x86_64 x86_64 x86_64 GNU/Linux)
intel compilers (ifort & icc 10.1.012)
intel mpi (3.0)

and i build esmf using following flags,

setenv ESMF_DIR /SFS2/progs/atmos/esmf-3.1.0r
setenv ESMF_OS Linux
setenv ESMF_MACHINE x86_64
setenv ESMF_ABI 64
setenv ESMF_COMPILER intel
setenv ESMF_BOPT O
setenv ESMF_OPTLEVEL 3
setenv ESMF_COMM intelmpi
setenv ESMF_SITE default
setenv ESMF_BATCH lsf.ibmpjl.batch
setenv ESMF_BATCHOPTIONS "-K -a intelmpi -q trccsq -c 00:20"
setenv ESMF_PTHREADS ON
setenv ESMF_ARRAY_LITE FALSE
setenv ESMF_NO_INTEGER_1_BYTE FALSE
setenv ESMF_NO_INTEGER_2_BYTE FALSE
setenv ESMF_FORTRANSYMBOLS default
setenv ESMF_TESTEXHAUSTIVE ON
setenv ESMF_TESTWITHTHREADS OFF
setenv ESMF_TESTMPMD: OF

any suggestions will be helpful. Now, i try to install ESMF version  
2.2.2r and then i will try with that installation of ESMF.

**********************
/lib/cpp -C -P   -I../ioapi_share -C -P -DESMF_COUPLING  
module_esmf_extensions.F90 > module_esmf_extensions.f
mpif90 -f90=ifort -i4  -w -ftz -align all -fno-alias -fp-model  
precise  -FR -convert big_endian -I/SFS2/progs/atmos/esmf-3.1.0r/mod/mo
dO/Linux.intel.64.intelmpi.default -I/SFS2/users/turuncu/WRF/ 
WRFV3.0.1.1/main -I/SFS2/users/turuncu/WRF/WRFV3.0.1.1/external/ 
io_esmf -
c -g -I../ioapi_share module_esmf_extensions.ffortcom: Error:  
module_esmf_extensions.f, line 450: This name has already been  
assigned a data type.   [SN]      INTEGER(ESMF_KIND_I4) :: year,  
seconds, Sn, Sd
----------------------------------------------^
fortcom: Error: module_esmf_extensions.f, line 450: This name has  
already been assigned a data type.   [SD]
       INTEGER(ESMF_KIND_I4) :: year, seconds, Sn, Sd
--------------------------------------------------^
compilation aborted for module_esmf_extensions.f (code 1)
...
...
...
mpif90 -f90=ifort -i4  -w -ftz -align all -fno-alias -fp-model  
precise  -FR -convert big_endian -I/SFS2/progs/atmos/esmf-3.1.0r/mod/mo
dO/Linux.intel.64.intelmpi.default -I/SFS2/users/turuncu/WRF/ 
WRFV3.0.1.1/main -I/SFS2/users/turuncu/WRF/WRFV3.0.1.1/external/ 
io_esmf -
c -g -I../ioapi_share io_esmf.f
fortcom: Error: io_esmf.f, line 4: Error in opening the compiled  
module file.  Check INCLUDE paths.   [MODULE_ESMF_EXTENSIONS]
   USE module_esmf_extensions
------^
fortcom: Error: io_esmf.f, line 348: Error in opening the compiled  
module file.  Check INCLUDE paths.   [MODULE_EXT_ESMF]
     USE module_ext_esmf
--------^
fortcom: Error: io_esmf.f, line 360: This name does not have a type,  
and must have an explicit type.   [MSG]
     WRITE( msg,* ) 'DEBUG ioesmf_create_grid:  begin, DataHandle = ',  
DataHandle
-----------^
fortcom: Error: io_esmf.f, line 361: The data types of the argument(s)  
are invalid.   [TRIM]
     CALL wrf_debug ( 5, TRIM(msg) )
-----------------------------^
fortcom: Error: io_esmf.f, line 368: This name does not have a type,  
and must have an explicit type.   [GRID]
     IF ( .NOT. grid( DataHandle )%in_use ) THEN
---------------^fortcom: Error: io_esmf.f, line 376: The data types of  
the argument(s) are invalid.   [TRIM]
         CALL wrf_debug ( 5, TRIM(msg) )
---------------------------------^
fortcom: Error: io_esmf.f, line 377: This name must be the name of a  
variable with a derived type (structure type)   [GRID]
         ALLOCATE( grid( DataHandle )%ptr )
------------------^
fortcom: Error: io_esmf.f, line 378: This name must be the name of a  
variable with a derived type (structure type)   [GRID]
         grid( DataHandle )%in_use = .TRUE.
--------^
fortcom: Error: io_esmf.f, line 378: The assignment operation or the  
binary expression operation is invalid for the data types of the two  
operands.
         grid( DataHandle )%in_use = .TRUE.
------------------------------------^
fortcom: Error: io_esmf.f, line 390: This name must be the name of a  
variable with a derived type (structure type)   [GRID]
         grid( DataHandle )%ide_save = DomainEndFull(1)
--------^
fortcom: Error: io_esmf.f, line 391: This name must be the name of a  
variable with a derived type (structure type)   [GRID]
         grid( DataHandle )%jde_save = DomainEndFull(2)
--------^
fortcom: Error: io_esmf.f, line 392: This name must be the name of a  
variable with a derived type (structure type)   [GRID]
         grid( DataHandle )%kde_save = 1
--------^
fortcom: Error: io_esmf.f, line 394: The data types of the argument(s)  
are invalid.   [TRIM]

...
...
...
mpif90 -f90=ifort -i4  -w -ftz -align all -fno-alias -fp-model  
precise  -FR -convert big_endian -I/SFS2/progs/atmos/esmf-3.1.0r/mod/ 
modO/Linux.intel.64.intelmpi.default -I/SFS2/users/turuncu/WRF/ 
WRFV3.0.1.1/main -I/SFS2/users/turuncu/WRF/WRFV3.0.1.1/external/ 
io_esmf -c -g -I../ioapi_share ext_esmf_open_for_read.f
fortcom: Error: ext_esmf_open_for_read.f, line 4: Error in opening the  
compiled module file.  Check INCLUDE paths.   [MODULE_EXT_ESMF]
   USE module_ext_esmf
------^
fortcom: Error: ext_esmf_open_for_read.f, line 13: This derived type  
name has not been declared.   [ESMF_STATE]
   TYPE(ESMF_State), POINTER :: importstate
-------^
fortcom: Error: ext_esmf_open_for_read.f, line 14: This derived type  
name has not been declared.   [ESMF_STATETYPE]
   TYPE(ESMF_StateType) :: statetype
-------^
fortcom: Error: ext_esmf_open_for_read.f, line 18: This name has not  
been declared as an array or a function.   [OKAY_TO_WRITE]
   okay_to_write(i) = .false.
--^
fortcom: Error: ext_esmf_open_for_read.f, line 18: The assignment  
operation or the binary expression operation is invalid for the data  
types of the two operands.
**********************

best wishes,

--ufuk

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Wrf-users mailing list