Ask Your Question

Error: READ_INP ERROR while reading block with keyword 'auxiliary_history_fields'

asked 2022-06-29 11:17:07 +0200

this post is marked as community wiki

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

Hello everyone,

I am trying to configure CROCO for a test case with the simple biogeochemical model BIO_NChlPZD. I already made all my files correctly and all seem to work well.

However, when I try to run the model after compilation. I had this error:

 READ_INP ERROR while reading block with keyword 'auxiliary_history_fields'.

 READ_INP ERROR: A total of  1 configuration errors discovered.

I'm not sure where the problem lies for this simple case. Has anyone encountered such problem before? I will be glad to be pointed to the right direction to solve this problem. I copy my and cppdefs.h file here.

C:\fakepath\cppdefs.h C:\fakepath\

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2022-07-04 18:42:11 +0200

andres gravatar image


What version of CROCO are you using? Have you tried with the Benguela test case?

edit flag offensive delete link more


Hi Andres, I am using the V1.2. As a matter of fact, I'm following your tutorial when I encountered the error. Still haven't solved it yet.

ify gravatar imageify ( 2022-07-04 20:24:18 +0200 )edit

Ok, great. Which tutorial in particular?

andres gravatar imageandres ( 2022-07-04 22:16:19 +0200 )edit

Tutorial 5 (Biogeochemical simulation). I think that's the basic tutorial.

ify gravatar imageify ( 2022-07-04 22:23:38 +0200 )edit

Try this. Replace 10*T with 30*T in the line below auxiliary_history_fields and also for the line below auxiliary_averages

andres gravatar imageandres ( 2022-07-04 22:56:57 +0200 )edit

It works like charm. What difference does 10 and 30*T makes. Is the difference because I have additional tracers? Thanks Andres

ify gravatar imageify ( 2022-07-04 23:08:50 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2022-06-29 11:17:07 +0200

Seen: 67 times

Last updated: Jul 04 '22