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

Shreyas Suni Gaikwad shreyas.gaikwad at utexas.edu
Mon Oct 7 18:01:54 EDT 2024


Hi Haoran,

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.

tapenade program.f

Thanks,
Shreyas

On Wed, Oct 2, 2024 at 12:03 PM Laurent Hascoet <Laurent.Hascoet at inria.fr>
wrote:

> 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
>


-- 
____________________________________________________
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 | (925)-336-5931
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20241007/0d7d2b4f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: program.f
Type: application/octet-stream
Size: 313 bytes
Desc: not available
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20241007/0d7d2b4f/attachment.obj>


More information about the MITgcm-support mailing list