Build error with MPAS-Ocean standalone #5638
Replies: 10 comments
-
@daniloceano This code appears to be pretty dated and your issue appears to be a python 2 version of print that was fixed a long time ago. Could you follow this rough set of steps instead
This should get you passed the Let me know if that works. |
Beta Was this translation helpful? Give feedback.
-
This failed:
I assumed the path was just wrong and the cloned directly from https://github.com/E3SM-Project/E3SM. But it failed again when I prompted
I tried to build anyway:
|
Beta Was this translation helpful? Give feedback.
-
two thoughts
E3SM should be a fully public repo so it should be clonable by anyone with a github account |
Beta Was this translation helpful? Give feedback.
-
sorry didn't fully read your comment. The path I gave is correct but uses ssh instead of HTTPS. I'm bguessing the latter two errors are similar and would suspect a proxy issue (my (2) above) regarding the make issue you have, you are in the wrong directory, you are one level too deep. you should be in mpas-ocean, not mpas-ocean/src |
Beta Was this translation helpful? Give feedback.
-
It is not possible for me to use ssh: the machine I am working won't allow using ssh to outside networks. I can clone the repo using HTTPS but can I do something similar to the "git submodule update --init --recursive" step but for the HTTPS? Anyway, I tried to compile the model without this step in case this is not necessary and it failed: |
Beta Was this translation helpful? Give feedback.
-
Not sure what this error means, but am guessing it has to do with the incomplete checkout. My sense is alterations to how the E3SM submodules are setup would require a lot of work that our project is not setup to do. We only ensure E3SM will function on DOE computing platforms. I would suggest you try getting an account on NERSC computing -- https://docs.nersc.gov/accounts/ -- you can get what are called exploratory accounts (small computing allocations) relatively easily. You will likely have an easier time getting MPAS-O / E3SM running there. If you need to continue on the machine you are on you will have to work with your local computing support to sort this out. |
Beta Was this translation helpful? Give feedback.
-
@daniloceano, one more suggestion:
This should allow you to proceed with the recursive checkout. |
Beta Was this translation helpful? Give feedback.
-
I will warn you that MPAS-Ocean has very limited documentation and also very limited staff support for external users, so you may find that it isn't the right model for you unless you are willing to figure a lot of the steps out by looking through the code itself. |
Beta Was this translation helpful? Give feedback.
-
This sounds a really good idea, thank you. If I may ask one more question... in order to create a NERSC acconunt I need to provide a project name for joinning, should it be the ES3M project itself? @xylar: That worked, thank you. However, the model still won't run:
The full log is here:
Thank you for the heads up. Isn't the model framework somewhat similar to the MPAS-A? This is one of the main reasons I opted for the MPAS-O... |
Beta Was this translation helpful? Give feedback.
-
@daniloceano, this is where we start to hit the limits fo the support we can provide. There are several dependencies of MPAS-Ocean. Once is PIO2 (we recommend the SCORPIO variant: https://github.com/E3SM-Project/scorpio). You need to build this, point to it with the
I could see why you might assume so but they're not all that similar, actually. They used to use the same framework and they still use similar meshes, but the code bases have diverged and the build requirements and foci of the two projects were always different. Being able to build and running MPAS-Atmosphere really doesn't prepare you for building and running MPAS-Ocean. Also, they are developed by different institutions and with different levels of user support. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This issue was originally open on the MPAS-Model repository and I was prompted to come here as, it seems, they no longer are involed with Mpas-Ocean development.
I donwloaded the source code from https://mpas-dev.github.io/ and compiled the MPAS atmosphere model (everything ok on this part). Now I intend to work with the MPAS-Ocean but the Ocean core won't compile. Here's the fail message:
And here is the full log error:
log_build_ocean.txt
Compilers used:
export SERIAL_FC=gfortran
export SERIAL_F77=gfortran
export SERIAL_CC=gcc
export SERIAL_CXX=g++
export MPI_FC=mpifort
export MPI_F77=mpifort
export MPI_CC=mpicc
export MPI_CXX=mpic++
Versions:
gcc version: 5.4.0
MPICH version 3.3.1
NetCDF
netcdf library version 4.7.0
Parallel NetCDF
PnetCDF Version: 1.11.2
PIO: 2 (couldn't find a way to check that but atmosphere_model was compiled using the flag USE_PIO2=true)
uname -a
Linux nemo 4.4.0-210-generic
MPAS-Dev/MPAS-Model#242 SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
make line used to build the executable:
make -j4 gfortran CORE=ocean PRECISION=double Debug=true USE_PIO2=true > log_build_ocean.txt
Beta Was this translation helpful? Give feedback.
All reactions