Comments (5)
@jmllorens are you on Python 2?
from pagmo2.
Yes, sorry, I should have mentioned it.
from pagmo2.
For pagmo2 we made the decision to require ipyparallel
for parallel operations in Python 2 Linux. The reasons have to do with some technical details about how the multiprocessing
module works in Python 2 in a Linux environment. Basically, it boils down to the fact that Python 2 in Linux does not allow us to enforce a behaviour of the parallel bits of pagmo consistent with the behaviour on other platforms and/or Python 3.
Note that you don't need an actual cluster to run pygmo in parallel with ipyparallel. You just need to run the
ipcluster start
command in a separate shell. This will setup a "local" cluster with a number of processes equal to the number of cores on your machine. After the cluster has been started, you can fire up pygmo and everything should work.
from pagmo2.
It works without problems now. Seems a good decision. I was a bit scared at first, because even without cluster, sometimes a few files should be edited. But the setup of ipcluster is rather straightforward.
Migration to pagmo2 completed for my current optimization.
Thanks for your help.
from pagmo2.
No problem!
Note that there are missing features in the current archipelago wrt pagmo 1.x (the topology/migration bits are not there yet). We will add them back soon.
from pagmo2.
Related Issues (20)
- Installation problems HOT 1
- Installl erro HOT 1
- install problem HOT 6
- [BUG] mhaco asserts if initial population does not verify constraints
- MinGW installation problem HOT 1
- how to run pagmo2 in parallel cluster? HOT 1
- [BUG] redundant code in moead.cpp HOT 2
- [BUG] Could NOT find pagmo_IPOPT (missing: PAGMO_IPOPT_INCLUDE_DIR) HOT 1
- [BUG] No 2.19.0 tag HOT 2
- [BUG] moead_gen is not documented HOT 2
- [FEATURE] PAGMO_VERSION HOT 2
- Scaling of design variables and
- How to optimize with algorithms::ipopt? HOT 2
- [BUG] Maximize function with Ipopt: incorrect population returned HOT 2
- [BUG] Compilation problem with IPOPT HOT 7
- Question: Use of Hessian with Ipopt
- pagmo-devel 2.19 build 3 not found by meson build system HOT 5
- Passing arguments in a user defined problem HOT 6
- Uninitialized variables may be used in cec2014 problem
- MPI Island class for cluster computing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagmo2.