[MITgcm-support] Problem with vertical grid.
Ken
hugke729 at uvic.ca
Wed Oct 21 12:48:27 EDT 2015
Hi Josué,
I came across a similar error recently and found that the solution to
define delZ not delR in the data file. Note that this is how it is done
in the default lab_sea experiment's data file. You don't need to change
your vector delR, just its name.
From my understanding, the code converts delZ to delR somewhere early
in the code, but before this it checks to see to you are consistently
using R or Z coordinates.
Thanks,
Ken Hughes
On 10/21/2015 05:41 AM, Jean-Michel Campin wrote:
> Hi Josu,
>
> I agree with Martin's comment.
> May be if you send (in attachement) your main parameter file "data"
> (and value of Nx,Ny,Nr from SIZE.h)
> we would be able to make a more precise/helpful suggestion.
>
> Cheers,
> Jean-Michel
>
> On Wed, Oct 21, 2015 at 09:46:43AM +0200, Martin Losch wrote:
>> Hi Josué,
>>
>> usually these errors are not connected to delR directly, but to some previous error in the namelist, for example (I am only guessing), you specify too many values for delX and then something funny happens in memory and in the logic of ini_parms.F
>> For constant dx/dy I would use dxSpacing = 0.05, dySpacing = 0.05 to avoid this type of problem, but again I am only guessing.
>> I would print (print *, delR) the values of delX,delY,delR right after they are read in ini_parms.F (around/after line 1062) so see what the model really reads, maybe that gives you a hint.
>>
>> Martin
>>
>>> On 21 Oct 2015, at 04:45, Josué Martínez Moreno <josue_pingu at ciencias.unam.mx> wrote:
>>>
>>> Hello everyone,
>>>
>>> I'm trying to build, on Ubuntu 14.04, gfortran 4.8 and Intel i7 (8-core), an experiment based in lab_sea, and I defined the grid as the bathimetry file in the data file:
>>>
>>> ygOrigin = 18.1,
>>> xgOrigin = 261.85,
>>> delY = 269*0.05,
>>> delX = 352*0.05,
>>> delR = 20*5.,10*10.,4*25.,5*100.,2*200.,1*300.,6*500.,
>>>
>>> Also I tried to generate a binary file with the delY vector.
>>>
>>> And I got an error in the compilation, the message is:
>>>
>>> (PID.TID 0000.0001) Enter INI_VERTICAL_GRID: setInterFDr= F ; setCenterDr= F
>>> S/R INI_VERTICAL_GRID: neither delR nor delRc are defined
>>> S/R INI_VERTICAL_GRID: Need at least 1 of the 2 (delR,delRc)
>>> STOP ABNORMAL END: S/R INI_VERTICAL_GRID
>>>
>>> Even when the delR parameter was defined in the data file.
>>>
>>> I am sure I am doing something wrong, could you help?
>>>
>>> Have a great day
>>> Josué Martínez Moreno
>>> Universidad Nacional Autónoma de México
>>> _______________________________________________
>>> MITgcm-support mailing list
>>> MITgcm-support at mitgcm.org
>>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list