Skip to content
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

Run ESMF_RegridWeightGen with mpirun depending on esmf package version #16

Merged
merged 5 commits into from
May 28, 2020

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented May 19, 2020

If in a conda environment, use conda list to determine the build string of the esmf package. If it starts with mpi_mpich or mpi_openmpi, we should use mpirun (regardless of the number of tasks). If not, we should not (regardless of the requested number of tasks). Give a warning if we asked for multiple MPI tasks but the MPI version of esmf is not installed.

Update to v0.0.7

Fixes some deprication warnings related to pyproj and xarray.

closes #14
closes #15

xylar added 5 commits May 19, 2020 13:14
If in a conda environment, use conda list to determine the build
string of the esmf package.  If it has mpi_mpich or mpi_openmpi,
we whould use mpirun (regardless of the number of tasks).  If not,
we should not (regardless of the requested number of tasks).
@xylar
Copy link
Collaborator Author

xylar commented May 27, 2020

Testing

I ran the MPAS-Ocean nightly and land-ice-fluxes regression suites from COMPASS on Grizzly with a test version of the compass_0.1.6 environment that includes this version of pyremap. I also ran the e3sm_coupling steps for the QU240 and QU240wISC test cases, which had been failing on 1 core previously (because ESMF_RegridWeightGen was getting called without mpirun). Everything ran successfully.

@xylar xylar merged commit a4e1821 into MPAS-Dev:master May 28, 2020
@xylar xylar deleted the detect_esmf_mpi branch May 28, 2020 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESMF_RegridWeightGen failing without mpirun even for 1 task pyproj.transform is deprecated
1 participant