-
Notifications
You must be signed in to change notification settings - Fork 18
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
Getting MONC working on ARC4 #11
Comments
In addition, errors exist which prevent building with newer gnu compiler versions (gcc >= 7), relating to pointer allocation. Some of these issues are solved on the trunk, with changes to model_core/src/components/registry.F90 and model_core/src/components/monc_component.F90, so should be ported over. These issues do not appear to occur with the gnu/native on arc4, and so this problem is likely of low priority until portability of the code becomes a consideration. |
Thanks @cemac-ccs! Are you currently compiling using |
I'm using fcm, with slightly modified fcm-make config files. I think that is a good idea, and I have been keeping a few notes as I go that I can expand into a wiki entry along with adding new env-arc4.cfg etc files in a pull request a bit down the line once I've properly tested it. |
Great! Could you do a draft pull-request already? I just made one with the changes I worked out on ARC4. I haven't tried running MONC yet though. Do you mind having a look at my pull-request and letting me know what you think? #19 I think we should use the changes you've made though, but just wanted to show you what I've done 😄 |
@cemac-ccs on #20 we're discussing how get compiling (and instructions for it) to a better state. It turns out that it should be possible to compile MONC using the |
@cemac-ccs did you have any luck with MONC on ARC4? It'd be great to get these compilation and run instructions added to the sourcecode :) And what are your thoughts on my question above? |
@craigpoku would be great to have your thoughts on this :) |
Apologies Leif. I had a project with a close deadline that needed a lot of attention.
while the fcm method requires
The makefile also seems to be flawed in a few ways -
As a result of this third problem, I abandoned compilation with the makefile so there may be other issues in compiling the test cases or the bootstrapper that I have not yet come across fcm compilation has none of these issues and instead seems to be set up in such a way that it can compile successfully, and have modular changes made to the compilation environment, although these changes have to be called manually by using the correct config file. With that in mind, I would suggest that the best way to compile on both Archer and on ARC is using fcm unless, as I say above, there is some benefit to using a makefile over using fcm of which I am unaware. |
I've merged this in this is now resolved. Thanks @cemac-ccs :) |
@MarkUoLeeds and Craig Poku have been working on getting MONC running on ARC4 🌟
Source code error - compiler complaint
a. Rogue "MPI_Comm" on USE MPI line, remove in 2 fortran source code files
monc/components/conditional_diagnostics_whole/src/conditional_diagnostics_whole.F90
monc/components/pdf_analysis/src/pdf_analysis.F90
Specific to a different compiler than GCC
b. MPI_ANY incorrect in MPI_SYNC in line 268 of io/src/mpicommunication.F90
CONFIGURATION errors
a) Several cases MCF are erroneous. For example radiative convective equilibrium
RCE_MCS.mcf
is missing the diagnostic_files= "path/filename" even though the diagnostics are turned on. strakab) The convection files have the wrong naming convention (
diag_files
instead ofdiagnostic_files
), for exampletransition/constrain_res1000m.mcf
c) the job submission script on ARC and Archer is not efficient or "sensible", I can offer an improvement
d) ARC4 setttings have yet to be finalised and added to the site list. The convention has been broken as should be monc-arc4-gnu and monc-arc4-intel-openmpi and monc-arc4-intel-impi monc-arc4-gnu-mvapich2 [although MVAPICH2 not multithreading)
e) not resolved final ARC4 config and where build (e.g. the Travis thing)
f) MeteoVM on ARC4 might be a solution - John Hodrien
The text was updated successfully, but these errors were encountered: