[MITgcm-support] Compiling Problems

Haoran Xu xu1jian2wei3 at 163.com
Fri Sep 27 22:20:38 EDT 2024


Thanks Shreyas,


I attach the files again, it should be seen now.


I don't fully understand how to add these flags, I did as follow:


 ../../../tools/genmake2 -tap -tracelevel 15 -traceparser -of ../../../tools/build_options/linux_amd64_ifort -mods ../code_tap/


But there's no -tracelevel option in genmake2.


Could you give me more details. I don't know much ahout Tapenade.


Haoran







在 2024-09-28 02:04:14,"Shreyas Suni Gaikwad" <shreyas.gaikwad at utexas.edu> 写道:

Hi Haoran,


I don't see the attachment, maybe because you didn't CC my email in your reply and just emailed the mailing list. 


I am almost starting to get out of my depth here, so I have CC'ed Laurent Hascoet, lead developer and maintainer of Tapenade. Here's what he recommended me to do:


Add these flags in the tapenade compilation command in tools/genmake2
"-tracelevel XX -traceparser", try XX=15 and XX=20.
This should indicate at which stage it stalls. It should also show you a line starting with
"PARSING COMMAND=" which is the actual call to the fortranParser.



The log file might help us narrow down the issue.


Thanks,
Shreyas


On Fri, Sep 27, 2024 at 2:06 AM <mitgcm-support-request at mitgcm.org> wrote:

Send MITgcm-support mailing list submissions to
        mitgcm-support at mitgcm.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
or, via email, send a message with subject or body 'help' to
        mitgcm-support-request at mitgcm.org

You can reach the person managing the list at
        mitgcm-support-owner at mitgcm.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MITgcm-support digest..."


Today's Topics:

   1. Re: Compiling Problems (Haoran Xu)


----------------------------------------------------------------------

Message: 1
Date: Fri, 27 Sep 2024 15:06:00 +0800 (CST)
From: "Haoran Xu" <xu1jian2wei3 at 163.com>
To: MITgcm-support <mitgcm-support at mitgcm.org>
Subject: Re: [MITgcm-support] Compiling Problems
Message-ID: <f14a8e4.6aac.192324d0026.Coremail.xu1jian2wei3 at 163.com>
Content-Type: text/plain; charset="gbk"

Thanks Shreyas,




I successfully  solve the problem according to your suggestion.But then I got another problem that  the compilation stucked at  this step:




@@ Created ./autodiff_init_varia_b.msg




I was waiting for at least 1 hour and no error  reported so I stopped it.




I attach the compilation file in compile.log and environment variable in .bashrc.




Thanks for any suggestions,

Haoran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20240927/9e9a51dd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .bashrc
Type: application/octet-stream
Size: 2622 bytes
Desc: not available
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20240927/9e9a51dd/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compile.log
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20240927/9e9a51dd/attachment.log>

------------------------------

Subject: Digest Footer

_______________________________________________
MITgcm-support mailing list
MITgcm-support at mitgcm.org
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support


------------------------------

End of MITgcm-support Digest, Vol 255, Issue 12
***********************************************
>> This message is from an external sender. Learn more about why this <<
>> matters at https://links.utexas.edu/rtyclf.                        <<






--

____________________________________________________
Shreyas Sunil Gaikwad,
Graduate Research Assistant (CRIOS) | Senior Advisor (SIAM-UT),
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/20240928/e3625d07/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compile.log
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20240928/e3625d07/attachment-0001.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .bashrc
Type: application/octet-stream
Size: 2622 bytes
Desc: not available
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20240928/e3625d07/attachment-0001.obj>


More information about the MITgcm-support mailing list