Giter Club home page Giter Club logo

Comments (6)

xylar avatar xylar commented on August 12, 2024 1

I believe I have a solution. Testing will be needed.

I build a serial version of esmf that I will upload to the e3sm anaconda channel once I've tested.

I have updated the build script to include building mpi4py with native MPI on cori, compy, anvil, cooley and grizzly. I won't do this on rhea or acme1 unless it is requested.

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

@jhkennedy, I’ve been in discussion with Min about a workaround but worth discussing between the two of us, too.

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

I'm following these instructions at NERSC:
https://docs.nersc.gov/programming/high-level-environments/python/mpi4py/#mpi4py-in-your-custom-conda-environment

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

I also tested on compy with:

module load gcc/4.8.5
module load mvapich2/2.3.1

The resulting environment with mpi4py appears to work for calls to mpirun but not to srun. @rljacob, do you know if/under what conditions srun works on compy?

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

I haven't tested yet, but I think the system MPI and the conda installation of MPICH aren't going to play nice with one another. The esmf package depends on mpich and is a dependency of nco so we're going to be in a bit of trouble. Things might work at NERSC via srun (which uses system MPI) for mpi4py calls and mpirun (which will use the conda mpich) for esmf calls. But, given that srun didn't work for me on compy, we might be in trouble there.

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

So the solution I came up with doesn't seem to work for esmpy (and therefore maybe not for many of our packages, thought e3sm_diags is the only one where I'm sure). I'll explore more for the next release...

from e3sm-unified.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.