aymeric-spiga / dynamico-giant

0 stars 2 forks source link

Problem with regular two degree #3

Closed debbardet closed 5 years ago

debbardet commented 5 years ago

I can't run the model with 64 vertical levels because I have this error message :

0335: > Error [CField::solveGridReference(void)] : In file '/scratch/cnt0027/lmd1167/dbardet/dynamico-giant/code/XIOS/src/node/field.cpp', line 1334 -> Invalid reference to domain 'regular_two_degree'. 0335: 0335: application called MPI_Abort(MPI_COMM_WORLD, -1) - process 335

Do you know what's happening ?

debbardet commented 5 years ago

I find the problem: I used a grid not defined in icosa.xml... It is enough to add these lines into icosa.xml:

It's all

aymeric-spiga commented 5 years ago

Interesting. You did solve the problem, but introduced a redundancy. Because there is a common declaration of domains between the physics and the dynamics: it is the file domain_def.xml which is then referenced in icosa.xml, see here https://github.com/aymeric-spiga/dynamico-giant/blob/6058e908dbd5f3499c4ec72adf1014b7e10a58d7/saturn/icosa.xml#L171

aymeric-spiga commented 5 years ago

I am going to change the reference to regular_two_degree which is not correct, and remove the lines that were commented. I should have removed those commented lines because it is confusing!