[MITgcm-support] build error: obcs and ptracers with ecco

Suneet Dwivedi suneetdwivedi at gmail.com
Fri May 16 16:06:19 EDT 2008


Hi Patrick,
Thankyou very much for your reply. I was relating this problem to
ptracers/obcs because both of them seperately work for me and my model
builds fine when I use any one of them in my packages.conf rather than
using both together. Whereas, when I start using both of them in
packages.conf, the current problem arises and build ends with the
compile error message.
I wonder I can create a toy seup because I am not able to build the
model with ptracers and obcs. Should I send you my code directory with
which I am working?
Best Regards,
Suneet

On Fri, May 16, 2008 at 3:03 PM, Patrick Heimbach <heimbach at mit.edu> wrote:
>
> Hi Suneet,
>
> your error message has nothing to do with ptracers or obcs.
> As I said, without seeing a toy setup, it's not clear what you are doing.
> In your case, this kind of compile error typically arises when
> instead of typing
> make adall
> you type
> make
> ("make" doesn't link the adjoint code, whereas "make adall" does).
> -p.
>
>
>
> On May 16, 2008, at 1:37 PM, Suneet Dwivedi wrote:
>
>> Hi Everybody,
>> Is this possible to build the adjoint code in which ptracers package
>> works with open boundary conditions? For me, it failed. I am able to
>> build the forward code successfully with both ptracers and obcs
>> defined in packages.conf, but my build failed (see error message
>> below) when I tried to do the same thing for adjoint code (by allowing
>> ecco, autodiff, cost and ctrl in packages.conf).
>>
>> --------------------------------------------------------------------------------------------------
>> the_model_main.o(.text+0x207): In function `the_model_main_':
>> : undefined reference to `adthe_main_loop_'
>> make: *** [mitgcmuv_ad] Error 1
>>
>> ---------------------------------------------------------------------------------------------------
>> Is this a TAF problem? Do I need to make some changes in my code
>> inorder to make it work?
>> Hoping for your reply,
>> Suneet
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
> ---
> 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-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>



More information about the MITgcm-support mailing list