mjlosch / optim_m1qn3

optimisation package for MITgcm based on m1qn3 with proper reverse control
MIT License
8 stars 4 forks source link

Add Cray ARCHER Makefile #6

Closed DaniJonesOcean closed 3 years ago

DaniJonesOcean commented 3 years ago

This pull request is a follow-up from issue #5. As requested, I've added the Makefile that I used to compile optim.x on ARCHER (http://www.archer.ac.uk/). I've also added a line in the README.md file about the new example Makefile.

Thanks for your help and for making this code available @mjlosch.

ifenty commented 3 years ago

@DanJonesOcean thanks!

mjlosch commented 3 years ago

@DanJonesOcean your Makefile contains probably too much unnecessary flags and information, can we try to reduce this to the necessary parts? E.g. the addition of make depend, and many MITgcm-specific flags probably confuse more than they help.

DaniJonesOcean commented 3 years ago

Okay, I've made the changes you suggested. Thanks for those.

I made a new commit, which I see has automatically been brought over into this pull request. GitHub is so smart.

DaniJonesOcean commented 3 years ago

Hi @mjlosch. I removed the "LIBS" value, and the code still compiles and runs. So that's fine. I went ahead and made a commit that is now in this pull request.

Somehow I am not allowed to modify the pull request. Did you tick that box?

That's weird. I thought you'd have full control as it's your repository. Where is the box that I need to tick?