-
Notifications
You must be signed in to change notification settings - Fork 12
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
Issues to compile ESM4 #4
Comments
Please make with the option
Add any other options you see fit. They are listen in the gnu.mk file. I doubt you will be able to run ESM4 on a laptop. It requires a lot of compute power. Let me know if you get it to work. |
I made this option, but the problem still persists. Is it a conflict between the flags? I will try to run small experiments. |
Are you using the most up-to-date code? What is the exact |
I think so. I'm using the code that cloning on the website. The first I compile using only "make OPENMP=on". I also tested the other README options, but none worked, so I made any changes to the commands by adding CC = gcc and the Oh, I was forgetting it, I also changed/removed the "static" command from the affinity.c file. |
It sounds like there are a bunch of edits and updates that you've made. You should only need to update gnu.mk if you aren't using mpif90 and mpicc. I compile with one of the gcc 10 compilers and mpich built with that compiler. I suggest maybe starting over (fresh clone), editing the gnu.mk with the correct mpi compilers, and then doing
By compiling with Don't set If that doesn't work, let me know the libraries that aren't being linked. |
Right, I will do that! |
My compiler is gcc 9.3.0. I have MPI installed, so I don't understand why the errors below. Is it the version of gcc? I didn't change anything I just cloned and gave the "make gcc=on CLUBB=off" as suggested and then I had the errors below. mpicc -DINTERNAL_FILE_NML -Duse_libMPI -Duse_netCDF -Duse_netCDF -DHAVE_SCHED_GETAFFINITY -D__IFC -I/usr/include -I/usr/include/hdf5/serial -O2 -c /home/jaime/ESM4_Model_GFDL/src/FMS/affinity/affinity.c |
the file gnu.mk FFLAGS on line 85 has the options |
Hi, Thomas-Robinson I made the changes, however, It was still complaining about some libraries (lapark and mpichfort). I added these flags to the line 171 of gnu.mk file, making it look like "LDFLAGS + = $ (LIBS) -lmpichfort -lnetcdff -llapack". In addition, I had to remove the "static" from affinity.c for it to work, following the discussions I found here (NOAA-GFDL/FMS#426). Doing this, the compilation worked and generated the file esm4.1.x with the size of 74.2 MB. However, as I said, I've been trying other options before, and one of them was using the file linux-gnu.mk and linux-ubuntu-trusty-gnu.mk. Using the file linux-ubuntu-trusty-gnu.mk, of course with the addition of the flags above, the file esm4.1.x was generated, but with a size of 86.7 MB. Do you have any idea why this difference occur? Besides, could you tell me what is the size of the esm4.1.x file normally? Thanks! |
Hi, Robinson,
I'm here again. To remember you, in the previous year (2021) I open an
issue about ESM4 compilation.
I want to use ESM4 in my doctoral research. I'm a complete beginner in
modeling, so I'm looking for help to overcome the difficulties I'm
encountering. I remembered our conversation, and I thought if you could
help me with some things about the ESM4 model.
For example, I currently added it to a supercomputer at my institution here
in Brazil, but I'm still having problems with the compilation there. I
followed the steps presented on the GitHub website, but without success. So
I'm testing these options that you passed here in the e-mail.
I've been doing a lot of research to find people who have some experience
with this model, but I haven't found anyone who has used it. So it's hard
to follow. I would like to know if, by chance, you or someone there at GFDL
has an e-book to help me with the first steps.
I searched and didn't find any example of model execution on the internet,
I wanted to run some experiments with ERA5 data, is it possible to run this
model with ERA5 reanalysis data?
If so, could you guide me on some steps to follow to succeed with the
experiments?
******************************* ---------------------------
*******************************
Jaime F. António
*Graduated* at Federal University of Alagoas - UFAL
*MSc.* at Center for Weather Forecast and Climate Studies of the National
Institute for Space Research - CPTEC/INPE
*Ph.D.* student at CPTEC/INPE
***@***.***
https://github.com/JFA-Mbule
******************************* ---------------------------
******************************
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
10/06/22
18:34:55
Em ter., 27 de abr. de 2021 às 10:20, Tom Robinson ***@***.***>
escreveu:
… the file gnu.mk FFLAGS on line 85
<https://github.com/NOAA-GFDL/ESM4/blob/main/exec/templates/gnu.mk#L85>
has the options -fallow-argument-mismatch and -fallow-invalid-boz which
are included for gcc10. If you are using gcc 9.3.0 you should remove those
options from line 85.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATCJXRFTTD55QIMIQZT3EV3TK222JANCNFSM43M6WHSA>
.
|
Hello, my name is Jaime a new user. I'm trying to run the ESM4 model from GFDL and, I found some issues with the compilation process. The problem was found in the general Makefile.
I made some changes in the codes to compile. The changes allowed me to compile all subfolders in ESM4/exec/. So, the error is in the generation of the executable (esm4.1.x file). However, to examine the general Makefile and the mpp.F90 file, I found that the issue is in
The gnu.mk is not creating esm4.1.x in the general Makefile becouse the fms/libfms.a (mpp.o): in the funtion "_mpp_mod_MOD_get_peset": is not defined for this reference to "mpi_comm_create_group"
In summary the error is:
Another information dealing with the error says that:
which seems to me that some command is not being appropriate to connect the files.
please, someone could tell me the real reason for this and how can I resolve it?
In addition, someone could tell me if is possible to create the executable (esm4.1.x file) in another way? once I've already managed to compile for other subfolders.
please someone help me!
I'm run on my laptop, Linux-ubuntu-gnu operational system.
The text was updated successfully, but these errors were encountered: