Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we make our experimentation with pkg/flt + exch2 despite incomplete implementation now? #672

Open
liu-ran opened this issue Dec 3, 2022 · 2 comments

Comments

@liu-ran
Copy link

liu-ran commented Dec 3, 2022

Dear MITgcm group members?

Can we make our experimentation with pkg/flt + exch2 despite incomplete implementation now?

Best,
Ran

@antnguyen13
Copy link
Collaborator

antnguyen13 commented Dec 14, 2022

I would suggest to start here:

#282

And I think there might be a configuration that works already with llc90 global set up here by Spencer Jones:

https://github.com/cspencerjones/float_stuff

I have not compiled so cannot fully verify, but the way it was explained to me, there are two key things required for pkg/flt: (a) how to initialize the floats, and (b) how to get it to work with pkg/exch2 . Historically, (a) is done adhoc-ly offline for each tile and only works without (b). The example shown above for llc90, I believe, is now WITH (b) working but then (a) is HARD-CODED in to flt_init_varia.F

https://github.com/cspencerjones/MITgcm/blob/pkg_flt_02/pkg/flt/flt_init_varia.F

exactly within the block lines 183-210.

So, for a general case, you just need to work it out how to initialize your own set of floats within each of those bi,bj tiles, either by hardcoding replacing those lines, or work on how to read in a global file that will then distribute the initial locations of the floats (follow the threads i linked above, it seems they're working on various offline ways to create that initial flt files). Once that's set up, it sounds like pkg/exch2 will exchange the floats across tiles properly.

@liu-ran
Copy link
Author

liu-ran commented Dec 15, 2022

Hi @antnguyen13 Thank you so much! It's very helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants