[MITgcm-devel] DIVA issue with new code?

Patrick Heimbach heimbach at MIT.EDU
Thu Jun 26 22:17:00 EDT 2008


Essentially yes.
It's just a bit messy why sometimes TAF drops the argument list,
sometimes it doesn't.
I thought this is now stable, but it isn't.
-p.

On Jun 26, 2008, at 10:10 PM, Matthew Mazloff wrote:

> Oh yeah,
>
>  adthe_main_loop in ad_taf_output.f
> has
>  subroutine adthe_main_loop( mytime, myiter, mythid )
>
> and the_model_main.f has:
>      CALL ADTHE_MAIN_LOOP (  mythid )
>
> pretty simple?  Do we just need to change the call to say
>      CALL ADTHE_MAIN_LOOP  ( myCurrentTime, myCurrentIter, mythid )
> ?
>
> -matt
>
>
>
>
>
>
>
> On Jun 26, 2008, at 9:54 PM, Patrick Heimbach wrote:
>
>>
>> Very first thing to check is
>> call adthe_main_loop (from the_model_main)
>> vs. the actual
>> subroutine adthe_main_loop in ad_taf_output.f
>>
>> Second thing, are you using all new hand-written adjoint routines
>> as recently checked in,
>> plus all recently checked-in files in adjoint_options/
>> (one TAF argument has changed, no longer using -nonew_arg)
>>
>> -p.
>>
>> On Jun 26, 2008, at 9:43 PM, Matthew Mazloff wrote:
>>
>>> ahh...subroutine parameter mismatch....i bet its an issue with  
>>> seaice obcs....i'll let you know
>>>
>>> -matt
>>>
>>>
>>>
>>>
>>> On Jun 26, 2008, at 9:32 PM, Patrick Heimbach wrote:
>>>
>>>> Need to check.
>>>> Usually happens when subroutine parameter list mismatch,
>>>> and wrong number gets into mythid.
>>>> Could be several things...
>>>> -p.
>>>>
>>>> On Jun 26, 2008, at 8:35 PM, Matthew Mazloff wrote:
>>>>
>>>>> Hi Patrick,
>>>>>
>>>>> I have my SO4x2 DIVA setup running with the new code on 4  
>>>>> procs.  On starting the divided adjoint I get the following  
>>>>> error (see below).  I am trying to track it down, but have you  
>>>>> seen this before
>>>>>
>>>>> -Matt
>>>>>
>>>>>
>>>>>
>>>>> (PID.TID 0000.0001) //  
>>>>> =======================================================
>>>>> (PID.TID 0000.0001) // Begin MONITOR SEAICE statistics
>>>>> (PID.TID 0000.0001) //  
>>>>> =======================================================
>>>>> (PID.TID 0000.0001) %MON seaice_tsnumber               
>>>>> =                     0
>>>>> .
>>>>> .
>>>>> .
>>>>> (PID.TID 0000.0001) //  
>>>>> =======================================================
>>>>> (PID.TID 0000.0001) // End MONITOR SEAICE statistics
>>>>> (PID.TID 0000.0001) //  
>>>>> =======================================================
>>>>> (PID.TID 0000.0001) buffer readvector      2595     3152      
>>>>> 3094      223     3152
>>>>>  !!!!!!! PANIC !!!!!!! CATASTROPHIC ERROR
>>>>>  !!!!!!! PANIC !!!!!!! in S/R BARRIER  myThid =  0  nThreads =  1
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Jun 25, 2008, at 5:44 PM, Patrick Heimbach wrote:
>>>>>
>>>>>> Update of /u/gcmpack/MITgcm/pkg/seaice
>>>>>> In directory forge:/tmp/cvs-serv28914
>>>>>>
>>>>>> Modified Files:
>>>>>> 	seaice_growth_if.F
>>>>>> Log Message:
>>>>>> Unit change of EmPmR from volume flux (m/s) to mass flux (g/ 
>>>>>> m^2/s)
>>>>>> wasnt accounted for.
>>>>>>
>>>>>> _______________________________________________
>>>>>> MITgcm-cvs mailing list
>>>>>> MITgcm-cvs at mitgcm.org
>>>>>> http://mitgcm.org/mailman/listinfo/mitgcm-cvs
>>>>>
>>>>> _______________________________________________
>>>>> MITgcm-devel mailing list
>>>>> MITgcm-devel at mitgcm.org
>>>>> http://mitgcm.org/mailman/listinfo/mitgcm-devel
>>>>
>>>> ---
>>>> Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
>>>> MIT | EAPS 54-1518 | 77 Massachusetts Ave | Cambridge MA 02139 USA
>>>> FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach
>>>>
>>>>
>>>> _______________________________________________
>>>> MITgcm-devel mailing list
>>>> MITgcm-devel at mitgcm.org
>>>> http://mitgcm.org/mailman/listinfo/mitgcm-devel
>>>
>>> _______________________________________________
>>> MITgcm-devel mailing list
>>> MITgcm-devel at mitgcm.org
>>> http://mitgcm.org/mailman/listinfo/mitgcm-devel
>>
>> ---
>> Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
>> MIT | EAPS 54-1518 | 77 Massachusetts Ave | Cambridge MA 02139 USA
>> FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach
>>
>>
>> _______________________________________________
>> MITgcm-devel mailing list
>> MITgcm-devel at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-devel
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel

---
Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS 54-1518 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach





More information about the MITgcm-devel mailing list