Compilation issue with CROCO 2.0

Hello,

I tried to compile the latest release (2.0.0) but got the list of errors below. They seem to be related to the newly added GPU implementation. I also saw that Python is now required to compile CROCO. I did have Python3 loaded in my environment, though. I would appreciate it very much if anyone could provide advice on how to properly compile the latest source code.

Many thanks!
Guangyu

  DOLOOP2D_R(Istr,IendR,JstrR,JendR)

----------------^
step3d_uv2_.f(543): error #5082: Syntax error, found ‘,’ when expecting one of:
;
DOLOOP2D_R(Istr,IendR,JstrR,JendR)
---------------------------------^
step3d_uv2_.f(578): error #5082: Syntax error, found ‘(’ when expecting one of:

    DOLOOP2D_R(IstrR,IendR,Jstr,JendR)

------------------^
step3d_uv2_.f(578): error #5082: Syntax error, found ‘,’ when expecting one of:
;
DOLOOP2D_R(IstrR,IendR,Jstr,JendR)
-----------------------------------^
step3d_uv2_.f(446): error #6410: This name has not been declared as an array or
a function. [FC1D]
FC1D(0)=0.D0
----------^
step3d_uv2_.f(447): error #6410: This name has not been declared as an array or
a function. [FC1D]
FC1D(N)=0.D0
----------^
step3d_uv2_.f(449): error #6410: This name has not been declared as an array or
a function. [FC1D]
FC1D(k)=-dt*(Akv(i,j,k)+Akv(i-1,j,k))
------------^
step3d_uv2_.f(454): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(k)=u(i,j,k,nnew)
------------^
step3d_uv2_.f(455): error #6410: This name has not been declared as an array or
a function. [BC1D]
BC1D(k)=0.5D0*(Hz(i,j,k)+Hz(i-1,j,k))-FC1D(k)-FC1D(k-1)
------------^
step3d_uv2_.f(458): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(N)=DC1D(N)+dtu_str
----------^
step3d_uv2_.f(459): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(1)=DC1D(1)-dt
bustr(i,j)
----------^
step3d_uv2_.f(461): error #6410: This name has not been declared as an array or
a function. [CF1D]
CF1D(1)=cff*( FC1D(1)
----------^
step3d_uv2_.f(463): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(1)=cffDC1D(1)
----------^
step3d_uv2_.f(468): error #6410: This name has not been declared as an array or
a function. [CF1D]
CF1D(k)=cff
cc
------------^
step3d_uv2_.f(469): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(k)=cff*(DC1D(k)-aaDC1D(k-1))
------------^
step3d_uv2_.f(472): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(N)=(DC1D(N)-aa
DC1D(N-1))
----------^
step3d_uv2_.f(474): error #6410: This name has not been declared as an array or
a function. [CF1D]
CF1D(0)=0.5D0*(Hz(i,j,N)+Hz(i-1,j,N))
----------^
step3d_uv2_.f(475): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(0)=CF1D(0)DC1D(N)
----------^
step3d_uv2_.f(477): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(k)=DC1D(k)-CF1D(k)DC1D(k+1)
--------------^
step3d_uv2_.f(479): error #6410: This name has not been declared as an array or
a function. [CF1D]
CF1D(0)=CF1D(0)+cff
------------^
step3d_uv2_.f(480): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(0)=DC1D(0)+cff
DC1D(k)
------------^
step3d_uv2_.f(482): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(0)=(DC1D(0)on_u(i,j)-DU_avg1(i,j,nnew))
----------^
step3d_uv2_.f(494): error #6410: This name has not been declared as an array or
a function. [FC1D]
FC1D(0)=0.D0
------------^
step3d_uv2_.f(495): error #6410: This name has not been declared as an array or
a function. [FC1D]
FC1D(N)=0.D0
------------^
step3d_uv2_.f(497): error #6410: This name has not been declared as an array or
a function. [FC1D]
FC1D(k)=-dt
(Akv(i,j,k)+Akv(i,j-1,k))
--------------^
step3d_uv2_.f(502): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(k)=v(i,j,k,nnew)
--------------^
step3d_uv2_.f(503): error #6410: This name has not been declared as an array or
a function. [BC1D]
BC1D(k)=0.5D0
(Hz(i,j,k)+Hz(i,j-1,k))-FC1D(k)-FC1D(k-1)
--------------^
step3d_uv2_.f(506): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(N)=DC1D(N)+dtv_str
------------^
step3d_uv2_.f(507): error #6410: This name has not been declared as an array or
a function. [DC1D]
DC1D(1)=DC1D(1)-dt
bvstr(i,j)
------------^
step3d_uv2_.f(509): error #6410: This name has not been declared as an array or
a function. [CF1D]
CF1D(1)=cff*( FC1D(1)
------------^
step3d_uv2_.f(616): catastrophic error: Too many errors, exiting
compilation aborted for step3d_uv2_.f (code 1)

Are you sure you are not compiling with an old jobcomp ?

It seems the preprocessing has not passed properly.

Thanks a lot for the tip, Slegac. It turned out that I was using an older version of jobcomp. I have switched to the one that comes with croco-2.0 and successfully compiled the source code. Many thanks!