Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Parallel initialisation #164

Open
elypma opened this issue Dec 14, 2015 · 2 comments
Open

Parallel initialisation #164

elypma opened this issue Dec 14, 2015 · 2 comments

Comments

@elypma
Copy link

elypma commented Dec 14, 2015

I am having a problem with an obj_fun that takes a long time to compute (varying from ~60 sec to ~700 sec). I try to do as much parallel as possible to speed things up using 8 islands in an archipelago.
What I found out is that the initialisation is not done in parallel but is only using a single cpu core (and thus takes a long time). After the initialisation all 8 cpu-cores are being used.

I am wondering whether I missed something or if I made a configuration error.

@darioizzo
Copy link
Member

The population initialization is indeed made on one thread. Its not difficult to change it in the code, but we never did it (its a pending action on us :)

@elypma
Copy link
Author

elypma commented Dec 17, 2015

Thx for your answer.
Are there any plans to do this in the near future?
Anything I can do to help (but you should point me in the right direction).
Egbert.

2015-12-14 22:49 GMT+01:00 Dario Izzo [email protected]:

The population initialization is indeed made on one thread. Its not
difficult to change it in the code, but we never did it (its a pending
action on us :)


Reply to this email directly or view it on GitHub
#164 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants