-
Notifications
You must be signed in to change notification settings - Fork 318
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
Recommended library stack for mpi, netcdf, parallel-netcdf, & PIO versions #34
Comments
@pwolfram why such an old version of pnetcdf? I would recommend 1.8.1 |
@vanroekel, what other versions are you using with pnetcdf 1.8.1? |
I just did an Ubuntu upgrade and will eventually need to build MPAS and dependencies again as well. So I'm also keen to find out what the most up-to-date working combination might be. I recall PIO being the biggest problem for me in the past but that was before MPAS supported PIO2 so maybe things are better now? |
@tpeterka and @hguo tried this recently with PIO2 but didn't have success due to runtime errors. I'm curious to hear what @mgduda and @mark-petersen use for their software stack. |
Correct. We built the mpas-o with PIO2, but it crashed during running. Building with PIO 1.7.2 solved that problem. We didn't need quite so old versions of netcdf and pnetcdf, however. We used netcdf 4.4.1.1 and pnetcdf 1.8.1 successfully. This is for the ocean forward model. I don't know anything about the tools or the rest of the code, though. |
These are the versions I use:
module load intel/17.0.1 openmpi/1.10.5 netcdf/4.4.1 parallel-netcdf/1.5.0 pio/1.7.2
module load gcc/5.3.0 openmpi/1.10.5 netcdf/4.4.1 parallel-netcdf/1.5.0 pio/1.7.2
From: tpeterka <notifications@github.com>
Reply-To: MPAS-Dev/MPAS-Model <reply@reply.github.com>
Date: Wednesday, May 2, 2018 at 2:36 PM
To: MPAS-Dev/MPAS-Model <MPAS-Model@noreply.github.com>
Cc: "Petersen, Mark Roger" <mpetersen@lanl.gov>, Mention <mention@noreply.github.com>
Subject: Re: [MPAS-Dev/MPAS-Model] Recommended library stack for mpi, netcdf, parallel-netcdf, & PIO versions (#34)
Correct. We built the mpas-o with PIO2, but it crashed during running. Building with PIO 1.7.2 solved that problem. We didn't need quite so old versions of netcdf and pnetcdf, however. We used netcdf 4.4.1.1 and pnetcdf 1.8.1 successfully. This is for the ocean forward model. I don't know anything about the tools or the rest of the code, though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#34 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AD2Y0AwdNnkRthLPSachUylP7pLqHbBbks5tuhixgaJpZM4TudL4>.
|
I have used the following combinations routinely intel/17.0.1 -- openmpi/1.10.5 (or mvapich2/2.2) -- netcdf/4.3.3.2 (4.4.1 is fine too) -- parallel-netcdf/1.8.1 pio/1.7.2 (pio/1.9.1 is fine too) gcc/5.3.0 -- openmpi/1.10.5 -- netcdf/4.4.1 -- parallel-netcdf/1.8.1 -- pio/1.7.2 -- These are the versions in my MPAS docker image I've never tried pio2. |
For what it's worth, I've been recently using:
|
Also, because it took a few iterations to converge on this recipe, here's how I've been installing PIO2:
Of course, change |
Thanks everyone for this really helpful feedback. Has anyone gotten a compile to work with newer versions of open-mpi? It is now in version 3 and when @mark-petersen and I tried this a year ago in July with open-mpi 2.x it did not work. |
I'm using (following the workflow at https://github.com/pwolfram/homebrew-mpas), tested on macOS Sierra and High Sierra using the nightly test suite:
|
This issue has gone stale. See new versioning at this confluence page |
Move load_compass_env.sh to the base dir This merge also modifies the setup script to link to this new location if requested.
Background
Previously, there have been some incompatibilities between different versions of netcdf (and its bindings), parallel-netcdf, and PIO. I've reconciled this by "tagging" the versions to known numbers that work at https://github.com/pwolfram/homebrew-mpas, namely with the following installation recipe.
Installation
Run
./install.sh
to install brew and taps needed for this installation.brew install pwolfram/mpas/netcdf --enable-fortran --enable-cxx-compat
brew install pwolfram/mpas/parallel-netcdf
brew install pwolfram/mpas/pio
Compile MPAS, e.g.,
Question
What is the preferred library stack, especially for PIO2? In particular, the problem with the
homebrew recipe in that there is an incompatibility with
openmpi > 1.6
.Any recommendations on the current best-practices library stack is greatly appreciated. Furthermore, I would recommend that we place this information on the README.md for the project so that new users will have fewer challenges building.
cc @hguo, @tpeterka, @vanroekel
The text was updated successfully, but these errors were encountered: