<div dir="ltr">Hi Haoran,<br><div><br></div><div>Can you try to run the following command on your terminal with this attached file, shared by Laurent? We are trying to get a minimum example of what's not working.</div><div><br></div><div>tapenade program.f</div><div><br></div><div>Thanks,</div><div>Shreyas</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 2, 2024 at 12:03 PM Laurent Hascoet <<a href="mailto:Laurent.Hascoet@inria.fr">Laurent.Hascoet@inria.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Sheyas, Hi Haoran<br>
<br>
It seems the problem here is that the fortran parser did not succeed in <br>
parsing *any* of the files provided.<br>
For each file, I see a<br>
System: Not a tree operator: <some text> in <filename><br>
<br>
For the few files that I checked, the <some text> is often the contents <br>
of a comment which is very close to the file start (possibly the first <br>
line?)<br>
<br>
Which makes me think that the fortranParserRun.sh crashes very early...<br>
<br>
It would be interesting to test your installed tapenade on a small <br>
"hello world" Fortran file?<br>
<br>
--Laurent<br>
<br>
On 10/2/24 6:09 PM, Shreyas Suni Gaikwad wrote:<br>
> Hi Haoran,<br>
> <br>
> CC'ing Laurent (developer of Tapenade) here. Can you use this genmake2 <br>
> log to resolve the issue, Laurent? Also, please add <br>
> <a href="mailto:mitgcm-support@mitgcm.org" target="_blank">mitgcm-support@mitgcm.org</a> <mailto:<a href="mailto:mitgcm-support@mitgcm.org" target="_blank">mitgcm-support@mitgcm.org</a>> in your <br>
> send and CC both Laurent and me when you reply in the future, so we have <br>
> a record of this conversation on the mailing list. :)<br>
> <br>
> Thanks,<br>
> Shreyas<br>
> <br>
> ---------- Forwarded message ---------<br>
> From: *Haoran Xu* <<a href="mailto:xu1jian2wei3@163.com" target="_blank">xu1jian2wei3@163.com</a> <mailto:<a href="mailto:xu1jian2wei3@163.com" target="_blank">xu1jian2wei3@163.com</a>>><br>
> Date: Tue, Oct 1, 2024 at 8:29 PM<br>
> Subject: Re:Re: Compiling Problems with Tapenade<br>
> To: Shreyas Suni Gaikwad <<a href="mailto:shreyas.gaikwad@utexas.edu" target="_blank">shreyas.gaikwad@utexas.edu</a> <br>
> <mailto:<a href="mailto:shreyas.gaikwad@utexas.edu" target="_blank">shreyas.gaikwad@utexas.edu</a>>><br>
> <br>
> <br>
> Thanks Shreyas,<br>
> <br>
> I attach the new complied file. Please check.<br>
> <br>
> Haoran<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> 在 2024-10-02 07:13:52,"Shreyas Suni Gaikwad" <br>
> <<a href="mailto:shreyas.gaikwad@utexas.edu" target="_blank">shreyas.gaikwad@utexas.edu</a> <mailto:<a href="mailto:shreyas.gaikwad@utexas.edu" target="_blank">shreyas.gaikwad@utexas.edu</a>>> 写道:<br>
> <br>
>     Hi Haoran,<br>
> <br>
>     Please let us know if you can run with the new genmake2 and get a<br>
>     more detailed log of the issue.<br>
> <br>
>     Thanks,<br>
>     Shreyas<br>
> <br>
>     On Mon, Sep 30, 2024 at 10:06 AM Shreyas Suni Gaikwad<br>
>     <<a href="mailto:shreyas.gaikwad@utexas.edu" target="_blank">shreyas.gaikwad@utexas.edu</a> <mailto:<a href="mailto:shreyas.gaikwad@utexas.edu" target="_blank">shreyas.gaikwad@utexas.edu</a>>> wrote:<br>
> <br>
>         Hi Haoran,<br>
> <br>
>         I should have been clearer. Apologies. The flags have to be<br>
>         added inside genmake2 to the Tapenade differentiation command. I<br>
>         have modified genmake2 with the required changes. Please use<br>
>         this genmake2 and share your output with us.<br>
> <br>
>         Best,<br>
>         Shreyas<br>
> <br>
>         -- <br>
>         ____________________________________________________<br>
>         Shreyas Sunil Gaikwad,<br>
>         Graduate Research Assistant (CRIOS<br>
>         <<a href="https://crios-ut.github.io/" rel="noreferrer" target="_blank">https://crios-ut.github.io/</a>>) | Senior Advisor (SIAM-UT<br>
>         <<a href="https://siam.oden.utexas.edu/" rel="noreferrer" target="_blank">https://siam.oden.utexas.edu/</a>>),<br>
>         Oden Institute for Computational Engineering and Sciences,<br>
>         The University of Texas at Austin<br>
>         <a href="http://shreyas911.github.io" rel="noreferrer" target="_blank">shreyas911.github.io</a> <<a href="http://shreyas911.github.io" rel="noreferrer" target="_blank">http://shreyas911.github.io</a>> | (925)-336-5931<br>
> <br>
> <br>
> <br>
>     -- <br>
>     ____________________________________________________<br>
>     Shreyas Sunil Gaikwad,<br>
>     Graduate Research Assistant (CRIOS <<a href="https://crios-ut.github.io/" rel="noreferrer" target="_blank">https://crios-ut.github.io/</a>>) |<br>
>     Senior Advisor (SIAM-UT <<a href="https://siam.oden.utexas.edu/" rel="noreferrer" target="_blank">https://siam.oden.utexas.edu/</a>>),<br>
>     Oden Institute for Computational Engineering and Sciences,<br>
>     The University of Texas at Austin<br>
>     <a href="http://shreyas911.github.io" rel="noreferrer" target="_blank">shreyas911.github.io</a> <<a href="http://shreyas911.github.io" rel="noreferrer" target="_blank">http://shreyas911.github.io</a>> | (925)-336-5931<br>
> <br>
> <br>
> <br>
> -- <br>
> ____________________________________________________<br>
> Shreyas Sunil Gaikwad,<br>
> Graduate Research Assistant (CRIOS <<a href="https://crios-ut.github.io/" rel="noreferrer" target="_blank">https://crios-ut.github.io/</a>>) | <br>
> Senior Advisor (SIAM-UT <<a href="https://siam.oden.utexas.edu/" rel="noreferrer" target="_blank">https://siam.oden.utexas.edu/</a>>),<br>
> Oden Institute for Computational Engineering and Sciences,<br>
> The University of Texas at Austin<br>
> <a href="http://shreyas911.github.io" rel="noreferrer" target="_blank">shreyas911.github.io</a> <<a href="http://shreyas911.github.io" rel="noreferrer" target="_blank">http://shreyas911.github.io</a>> | (925)-336-5931<br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr">____________________________________________________</div><div dir="ltr">Shreyas Sunil Gaikwad,</div><div dir="ltr">Graduate Research Assistant (<a href="https://crios-ut.github.io/" target="_blank">CRIOS</a>) | Senior Advisor (<a href="https://siam.oden.utexas.edu/" target="_blank">SIAM-UT</a>),</div><div dir="ltr"><div dir="ltr">Oden Institute for Computational Engineering and Sciences,</div><div dir="ltr">The University of Texas at Austin</div></div><div dir="ltr"><div><a href="http://shreyas911.github.io" target="_blank">shreyas911.github.io</a> | (925)-336-5931</div></div></div></div>