GithubHelp home page GithubHelp logo

ipcluster about ipyparallel HOT 5 CLOSED

ipython avatar ipython commented on July 20, 2024
ipcluster

from ipyparallel.

Comments (5)

minrk avatar minrk commented on July 20, 2024

I've had the best experience on clusters submitting a single job with a given node/cpu allocation, and then starting the engines with mpiexec ipengine in the job file.

from ipyparallel.

josh-gree avatar josh-gree commented on July 20, 2024

So something along the lines of this?

#PBS -N ipython
#PBS -j oe
#PBS -l walltime=00:10:00
#PBS -l nodes=2:ppn=16

module load openmpi/1.6.4/intel

ipcontroller --log-to-file
mpiexec -np 31 ipengine --log-to-file

from ipyparallel.

minrk avatar minrk commented on July 20, 2024

Just about, though I often put the Controller in a different job or on a head node, so I don't pass -np to mpiexec. That script as-is won't quite work to start the controller and engines both, because you'll need a condition for the controller, but otherwise 👍:

if [[ $rank = 0 ]]; then # whatever the PBS rank env variable is
 ipcontroller;
else
  mpiexec ...

from ipyparallel.

josh-gree avatar josh-gree commented on July 20, 2024

Thanks very much for your help, I have it all up and running now!

from ipyparallel.

minrk avatar minrk commented on July 20, 2024

@josh-gree thanks! I need to do some writeups for clusters, because often ipcluster is not the easiest tool for the job.

from ipyparallel.

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.