Git Product home page Git Product logo

Comments (9)

julesghub avatar julesghub commented on July 30, 2024

Hi @LemonBoy68,

Nice to hear from you. Off the top of my head I'm not sure what the difference is between 2.7.1b and 2.13.1b.
That message comes from your MPI implementation.

What kind of mpi are you installing underworld with. Also what operating system are you testing on?
Are you using the same MPI implementation for underworld 2.7.1 and 2.13.1?

I assume serial runs should be approximately the same timing?

from underworld2.

LemonBoy68 avatar LemonBoy68 commented on July 30, 2024

Thanks, Very happy to hear from you!
My operating system is Linux, and uw2 runs on docker. I didn’t make much changes to the program, but made necessary changes to uw.mpi: underworld.nProcs() > underworld.mpi.size, underworld.rank () > underworld.mpi.rank, underworld.barrier() > underworld.mpi.barrier(). Serial takes about the same time.

from underworld2.

julesghub avatar julesghub commented on July 30, 2024

If you're running under docker then parallel performance isn't optimal - and the configuration of the docker system on your machine can have a big effect.

For parallel runs I recommend installing the code bare-metal on your system. i.e. pip install underworld (dependencies will be required).

from underworld2.

tingyang2004 avatar tingyang2004 commented on July 30, 2024

Hi Julian, Just out of curiosity, under what conditions will Docker's parallel performance be significantly worse than directly installed code? Because I originally thought that the recommended uw2 installation option for a personal desktop or workstation was Docker.

from underworld2.

LemonBoy68 avatar LemonBoy68 commented on July 30, 2024

Thanks for your reply!A September 2015 paper, "The impact of Docker containers on the performance of genomic pipelines," assessed the performance loss caused by Docker by comparing the time it takes for the genomic analysis process to run in a physical machine and a Docker environment, but it seems that the performance difference between Docker and physical machines is not very much.

from underworld2.

julesghub avatar julesghub commented on July 30, 2024

What was the outcome @LemonBoy68?

from underworld2.

julesghub avatar julesghub commented on July 30, 2024

Hi Julian, Just out of curiosity, under what conditions will Docker's parallel performance be significantly worse than directly installed code? Because I originally thought that the recommended uw2 installation option for a personal desktop or workstation was Docker.

Well it depended a lot on the hostmachine and how you have it configured. In general Docker is recommended, but due to the errors reported above I suggested a bare-metal approach.

One thing I forgot to ask @LemonBoy68, were you using the uw2.13.1 docker, or trying to install uw2.13.1 in the uw2.7.1 docker?

from underworld2.

LemonBoy68 avatar LemonBoy68 commented on July 30, 2024

I use uw2.13.1 alone. Also, I tried to install uw on my workstation with the pip command, and got a series of errors as well.

cwd: /tmp/pip-req-build-gi3e10np
Building wheel for underworld (pyproject.toml) ... error
ERROR: Failed building wheel for underworld
Failed to build the underworld
ERROR: Could not build wheels for underworld, which is required to install pyproject.toml-based projects

from underworld2.

julesghub avatar julesghub commented on July 30, 2024

I'm unsure what the error is, perhaps you could include the total output of
pip install underworld==2.13.1

from underworld2.

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.