[RegCNET] RegCM error when comping

billgates 1462914557 at qq.com
Wed Sep 19 18:01:36 CEST 2012


Dear all,

       I have successfully finished "make terrain" and "make icbc"

But when I try to "make regcm"

There arises problems, and some part of the things that are shown on the
terminal are as follows, 

Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:156

allocate(sts%tg(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:158

sts%tg = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:164

type(domain) , intent(out) :: dom
1
Error: Derived type 'domain' at (1) is being used before it is defined
In file mod_main.f90:167

allocate(dom%ht(iy,0:jxp+1))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:168

allocate(dom%satbrt(iy,jxp)) 
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:169

allocate(dom%xlat(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:170

allocate(dom%xlong(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:171

allocate(dom%msfx(iy,-1:jxp+2))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:172

allocate(dom%msfd(iy,-1:jxp+2))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:173

allocate(dom%f(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:175

allocate(dom%ht(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:176

allocate(dom%satbrt(iy,jx)) 
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:177

allocate(dom%xlat(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:178

allocate(dom%xlong(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:179

allocate(dom%msfx(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:180

allocate(dom%msfd(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:181

allocate(dom%f(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:183

dom%ht = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:184

dom%satbrt = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:185

dom%xlat = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:186

dom%xlong = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:187

dom%msfx = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:188

dom%msfd = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:189

dom%f = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:195

type(domfact) , intent(out) :: dfa
1
Error: Derived type 'domfact' at (1) is being used before it is defined
In file mod_main.f90:197

allocate(dfa%hgfact(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:199

allocate(dfa%hgfact(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:201

dfa%hgfact = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:206

type(cumcontrol) , intent(out) :: cc
1
Error: Derived type 'cumcontrol' at (1) is being used before it is defined
In file mod_main.f90:209

allocate(cc%cuscheme(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:211

allocate(cc%cuscheme(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:213

cc%cuscheme(:,:) = -1
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:219

type(surfstate) , intent(out) :: sfs
1
Error: Derived type 'surfstate' at (1) is being used before it is defined
In file mod_main.f90:221

allocate(sfs%hfx(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:222

allocate(sfs%qfx(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:223

allocate(sfs%rainc(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:224

allocate(sfs%rainnc(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:225

allocate(sfs%tgbb(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:226

allocate(sfs%zpbl(iy,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:227

allocate(sfs%uvdrag(iy,0:jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:229

allocate(sfs%hfx(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:230

allocate(sfs%qfx(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:231

allocate(sfs%rainc(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:232

allocate(sfs%rainnc(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:233

allocate(sfs%tgbb(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:234

allocate(sfs%zpbl(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:235

allocate(sfs%uvdrag(iy,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:237

sfs%hfx = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:238

sfs%qfx = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:239

sfs%rainc = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:240

sfs%rainnc = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:241

sfs%tgbb = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:242

sfs%zpbl = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:243

sfs%uvdrag = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:265

allocate(sulf%so4(iy,kz,jxp))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:266

allocate(spsav%dstor(iy,0:jxp+1,nsplit))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:267

allocate(spsav%hstor(iy,0:jxp+1,nsplit))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:269

allocate(sulf%so4(iy,kz,jx))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:270

allocate(spsav%dstor(iy,jx,nsplit))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:271

allocate(spsav%hstor(iy,jx,nsplit))
1
Error: Syntax error in ALLOCATE statement at (1)
In file mod_main.f90:274

sulf%so4 = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:275

spsav%dstor = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:276

spsav%hstor = d_zero
1
Error: Unclassifiable statement at (1)
In file mod_main.f90:216

subroutine allocate_surfstate(sfs,lmpi)
1
Error: Symbol 'sfs' at (1) has no IMPLICIT type
In file mod_main.f90:204

subroutine allocate_cumcontrol(cc,lmpi)
1
Error: Symbol 'cc' at (1) has no IMPLICIT type
In file mod_main.f90:104

subroutine allocate_atmstate(atm,lmpi,ib,jb)
1
Error: Symbol 'atm' at (1) has no IMPLICIT type
In file mod_main.f90:192

subroutine allocate_domfact(dfa,lmpi)
1
Error: Symbol 'dfa' at (1) has no IMPLICIT type
In file mod_main.f90:161

subroutine allocate_domain(dom,lmpi)
1
Error: Symbol 'dom' at (1) has no IMPLICIT type
In file mod_main.f90:134

subroutine allocate_surfpstate(sps,lmpi)
1
Error: Symbol 'sps' at (1) has no IMPLICIT type
In file mod_main.f90:149

subroutine allocate_surftstate(sts,lmpi)
1
Error: Symbol 'sts' at (1) has no IMPLICIT type
In file mod_main.f90:261

call allocate_cumcontrol(cumcon,lmpi)
1
Error: Symbol 'cumcon' at (1) has no IMPLICIT type
In file mod_main.f90:256

call allocate_atmstate(atm2,lmpi,0,2)
1
Error: Symbol 'atm2' at (1) has no IMPLICIT type
In file mod_main.f90:253

call allocate_atmstate(atm1,lmpi,0,2)
1
Error: Symbol 'atm1' at (1) has no IMPLICIT type
In file mod_main.f90:251

call allocate_domfact(domfc,lmpi)
1
Error: Symbol 'domfc' at (1) has no IMPLICIT type
In file mod_main.f90:255

call allocate_surftstate(sts1,lmpi)
1
Error: Symbol 'sts1' at (1) has no IMPLICIT type
In file mod_main.f90:254

call allocate_surfpstate(sps1,lmpi)
1
Error: Symbol 'sps1' at (1) has no IMPLICIT type
In file mod_main.f90:259

call allocate_surfstate(sfsta,lmpi)
1
Error: Symbol 'sfsta' at (1) has no IMPLICIT type
In file mod_main.f90:250

call allocate_domain(mddom,lmpi)
1
Error: Symbol 'mddom' at (1) has no IMPLICIT type
In file mod_main.f90:257

call allocate_surfpstate(sps2,lmpi)
1
Error: Symbol 'sps2' at (1) has no IMPLICIT type
In file mod_main.f90:258

call allocate_surftstate(sts2,lmpi)
1
Error: Symbol 'sts2' at (1) has no IMPLICIT type
make[1]: *** [mod_main.o] Error 1
make[1]: Leaving directory `/export/chenhua/regcm/RegCM-4.1.1/Main'
make: *** [regcm] Error 2

So I am wondering what is the problem with that?

How should get that solved?

why would that be things like syntax error?

thank you for your help!

sincerely!

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20120920/da2e7c5e/attachment.htm>


More information about the RegCNET mailing list