[ecco-support] ecco-support Digest, Vol 85, Issue 4

Justin Campbell campbelljustin989 at gmail.com
Mon Apr 24 21:02:50 EDT 2023


Hello Ou,

Thank you for the feedback and for your quick response. I was able to
successfully reproduce all steps needed to build and run the
verification experiment by following your recommendation of not specifying
an opt file and instead, letting genmake2 recursively iterate through
parent directories to find the location of the compatible fortran compiler
and dependencies. However, I would like to be able to use opt files
specific to a local computing cluster at some point as I work on a docker
project where I will be tailoring containers to specific host machines and
their architecture. I have begun communicating with Ivana Escobar who
submitted a pull request to merge an update that supposedly addresses a
very similar error message with carriage return parsing in
f90mkdepend shown in the attached link. However, I'm unsure as to whether
this or a similar update was ever adopted in the main branch of MITgcm? Do
I need to revert to a certain checkpoint of MITgcm to make use of this
change?


Thanks again,


f90mkdepend pull request <https://github.com/MITgcm/MITgcm/pull/646>

Justin Campbell

On Sat, Apr 22, 2023 at 11:00 AM <ecco-support-request at mit.edu> wrote:

> Send ecco-support mailing list submissions to
>         ecco-support at mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mailman.mit.edu/mailman/listinfo/ecco-support
> or, via email, send a message with subject or body 'help' to
>         ecco-support-request at mit.edu
>
> You can reach the person managing the list at
>         ecco-support-owner at mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ecco-support digest..."
>
>
> Today's Topics:
>
>    1. Re: [EXTERNAL] Makefile unable to generate dependencies for
>       Fortran90 File (Wang, Ou (US 329B))
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 22 Apr 2023 03:06:06 +0000
> From: "Wang, Ou (US 329B)" <ou.wang at jpl.nasa.gov>
> To: "ECCO support list, wider membership" <ecco-support at mit.edu>
> Subject: Re: [ecco-support] [EXTERNAL] Makefile unable to generate
>         dependencies for Fortran90 File
> Message-ID:
>         <
> BLAPR09MB6179AA55800C332905DD1FCBC4619 at BLAPR09MB6179.namprd09.prod.outlook.com
> >
>
> Content-Type: text/plain; charset="windows-1252"
>
> Hello,
>
> Did you use the following commands?
> cd verification/exp2/build
> ../../../tools/genmake2 -mods ../code -optfile ?/PATH/TO/OPTFILE?
> (You can run the genmake2 command without specifying the opt file:
> ../../../tools/genmake2 -mods ../code)
> make depend
>
> If so, please make sure the build directory is empty before issuing the
> ?genmake2? command.
>
> If  you still get the same error messages, I suggest posting your question
> to mitgcm-support at mitgcm.org<mailto:mitgcm-support at mitgcm.org>. The
> question is about a MITgcm verification experiment; you may get more
> answers from the MITgcm support list.
>
> Best,
> Ou Wang
>
>
> From: ecco-support <ecco-support-bounces at mit.edu> on behalf of Justin
> Campbell <campbelljustin989 at gmail.com>
> Date: Friday, April 21, 2023 at 4:58 PM
> To: ecco-support at mit.edu <ecco-support at mit.edu>
> Subject: [EXTERNAL] [ecco-support] Makefile unable to generate
> dependencies for Fortran90 File
> Hello all,
>
>
> I am currently attempting to reproduce the tutorial steps in the
> readthedocs for building the verification/exp2 experiment, and when I run
> 'make depend' to create model dependencies I receive error messages
> suggesting that 'f90mkdepend' could not locate the necessary source file(s)
> for module 'this'. It looks like it was not able to append the
> 'f90mkdepend' dependency to the makefile. This is shown in the attachment
> below. Any recommendations on how to go about debugging this?
>
>
> Best Regards,
>
>
>
> Justin Campbell
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.mit.edu/pipermail/ecco-support/attachments/20230422/ffc554f5/attachment-0001.htm
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> ecco-support mailing list
> ecco-support at mit.edu
> https://mailman.mit.edu/mailman/listinfo/ecco-support
>
>
> ------------------------------
>
> End of ecco-support Digest, Vol 85, Issue 4
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mit.edu/pipermail/ecco-support/attachments/20230424/5fda55ad/attachment.htm>


More information about the ecco-support mailing list