Ask Your Question
0

Jobcomp error: while compiling with define biology and define bulk fluxes

asked 2020-08-21 07:27:49 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >5 is welcome to improve it.

Hai everyone

When I define both biology (nchlazd/PICESES) and bulk fluxes together in cppdefs.h, I am ending up with the following error

bulk_flux_.f(489): error #6418: This name has already been assigned a data type. [U10] real u10,Zo10,Cd10,Ch10,Ct10,Cd -----------^ bulk_flux_.f(572): error #6366: The shapes of the array expressions do not conform. [WSTAR] Wstar=0.035D0*u10

when I either undef bulk fluxes or BIOLOGY everything goes fine. Can anybody help me in this issue of what is going around.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2020-08-24 11:49:24 +0200

Rachid gravatar image

There is a bug there with biology : there is one global variable in ocean3d.h called u10, and one local in bulk_flux.F called u10... In bulk_flux.F, you can rename u10 in something else (u11 or other), there are three occurences : around line 400, line 619, line 620

edit flag offensive delete link more

Comments

Thank you, It worked to compile the model, but now I am facing a different issue while running the model "NF_FWRITE ERROR: nf_put_vara netCDF error code = -60 mynode = 30 WRT_AVG ERROR while writing variable 'vbar' into history file. Time record: 1 netCDF error code -60 myn"

spurgeondsk gravatar imagespurgeondsk ( 2020-09-06 07:44:03 +0200 )edit

any help in this, I tried many ways such as newly creating input files no use. Any suggestion would be highly regarded.

spurgeondsk gravatar imagespurgeondsk ( 2020-09-06 07:45:07 +0200 )edit
0

answered 2020-08-23 17:23:57 +0200

Rachid gravatar image

Hi Which version of the code are you using ? The v10, v1.1 or the dev version ?

edit flag offensive delete link more

Comments

Croco version 1.1 I experiencing same issue with croco v1.0 also

spurgeondsk gravatar imagespurgeondsk ( 2020-08-23 17:29:24 +0200 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2020-08-21 07:27:49 +0200

Seen: 2,045 times

Last updated: Aug 24 '20