[MITgcm-support] Fwd: Re: Compiling Problems with Tapenade

Laurent Hascoet Laurent.Hascoet at inria.fr
Wed Oct 2 13:03:26 EDT 2024


Hi Sheyas, Hi Haoran

It seems the problem here is that the fortran parser did not succeed in 
parsing *any* of the files provided.
For each file, I see a
System: Not a tree operator: <some text> in <filename>

For the few files that I checked, the <some text> is often the contents 
of a comment which is very close to the file start (possibly the first 
line?)

Which makes me think that the fortranParserRun.sh crashes very early...

It would be interesting to test your installed tapenade on a small 
"hello world" Fortran file?

--Laurent

On 10/2/24 6:09 PM, Shreyas Suni Gaikwad wrote:
> Hi Haoran,
> 
> CC'ing Laurent (developer of Tapenade) here. Can you use this genmake2 
> log to resolve the issue, Laurent? Also, please add 
> mitgcm-support at mitgcm.org <mailto:mitgcm-support at mitgcm.org> in your 
> send and CC both Laurent and me when you reply in the future, so we have 
> a record of this conversation on the mailing list. :)
> 
> Thanks,
> Shreyas
> 
> ---------- Forwarded message ---------
> From: *Haoran Xu* <xu1jian2wei3 at 163.com <mailto:xu1jian2wei3 at 163.com>>
> Date: Tue, Oct 1, 2024 at 8:29 PM
> Subject: Re:Re: Compiling Problems with Tapenade
> To: Shreyas Suni Gaikwad <shreyas.gaikwad at utexas.edu 
> <mailto:shreyas.gaikwad at utexas.edu>>
> 
> 
> Thanks Shreyas,
> 
> I attach the new complied file. Please check.
> 
> Haoran
> 
> 
> 
> 
> 
> 在 2024-10-02 07:13:52,"Shreyas Suni Gaikwad" 
> <shreyas.gaikwad at utexas.edu <mailto:shreyas.gaikwad at utexas.edu>> 写道:
> 
>     Hi Haoran,
> 
>     Please let us know if you can run with the new genmake2 and get a
>     more detailed log of the issue.
> 
>     Thanks,
>     Shreyas
> 
>     On Mon, Sep 30, 2024 at 10:06 AM Shreyas Suni Gaikwad
>     <shreyas.gaikwad at utexas.edu <mailto:shreyas.gaikwad at utexas.edu>> wrote:
> 
>         Hi Haoran,
> 
>         I should have been clearer. Apologies. The flags have to be
>         added inside genmake2 to the Tapenade differentiation command. I
>         have modified genmake2 with the required changes. Please use
>         this genmake2 and share your output with us.
> 
>         Best,
>         Shreyas
> 
>         -- 
>         ____________________________________________________
>         Shreyas Sunil Gaikwad,
>         Graduate Research Assistant (CRIOS
>         <https://crios-ut.github.io/>) | Senior Advisor (SIAM-UT
>         <https://siam.oden.utexas.edu/>),
>         Oden Institute for Computational Engineering and Sciences,
>         The University of Texas at Austin
>         shreyas911.github.io <http://shreyas911.github.io> | (925)-336-5931
> 
> 
> 
>     -- 
>     ____________________________________________________
>     Shreyas Sunil Gaikwad,
>     Graduate Research Assistant (CRIOS <https://crios-ut.github.io/>) |
>     Senior Advisor (SIAM-UT <https://siam.oden.utexas.edu/>),
>     Oden Institute for Computational Engineering and Sciences,
>     The University of Texas at Austin
>     shreyas911.github.io <http://shreyas911.github.io> | (925)-336-5931
> 
> 
> 
> -- 
> ____________________________________________________
> Shreyas Sunil Gaikwad,
> Graduate Research Assistant (CRIOS <https://crios-ut.github.io/>) | 
> Senior Advisor (SIAM-UT <https://siam.oden.utexas.edu/>),
> Oden Institute for Computational Engineering and Sciences,
> The University of Texas at Austin
> shreyas911.github.io <http://shreyas911.github.io> | (925)-336-5931


More information about the MITgcm-support mailing list