to clarify it a bit: I compile the prolog source code first, then i load another file via the given prolog program and this triggers some complex calculations (should not be done multiple times) to create new rules. So i would need to copy all rules after those calculations. Am 22.06.2010 18:41, schrieb Christian Wirth: > Thx, > > i will need to try it out, but seems not too complicated .. except how > do i copy the ruleset ? The ruleset is compiled from a file and some > existing rules, so i don't know every predicate. Is there a way to > just copy all ? > > cheers Christian > > Am 22.06.2010 18:28, schrieb Wit Jakuczun: >> Dear Christian, >> we have done something similar on 32 processors. You must use >> RemoteEclipse or OutOfProcessEclipse and not EmbeddedEclipse.. Check >> this part of documentation: >> http://www.eclipse-clp.org/doc/embedding/embroot048.html for more >> details. >> All you have to do is to send ruleset to each prolog engine >> separately. After this you can call them asynchronously. >> Best regards >> -- >> [ Wit Jakuczun http://www.linkedin.com/in/jakuczunwit ] >> >> >> 2010/6/22 Christian Wirth <tyrion_at_...215... >> <mailto:tyrion_at_...215...>> >> >> My program creates a ruleset on startup .. ofc that can only be >> done singlecore, but after that i repeatetly call a predicate >> that does not modify the ruleset and it is not dependant on the >> parallel calls. So i just want to run every predicate call on a >> new core, without any interaction with the other calls. >> But how can i setup the parallel solving ? >> >> Am 22.06.2010 18:12, schrieb Wit Jakuczun: >>> 2010/6/22 Christian Wirth <tyrion_at_...215... >>> <mailto:tyrion_at_...215...>> >>> >>> Hi, >>> >>> i'm running eclipse CLP on Dualcore and a Quad CPU machine, >>> and would >>> like to use those additional cores/cpus. I'm running eclipse >>> from Java >>> and it's already setup to create multiple parallel threads, >>> but eclipse >>> seems to use only one core anyway ? >>> What do i need to do ? >>> >>> I what way would you like to use more than one cpu? If you are >>> asking whether ECLiPSe can solve clp problems using many cpus >>> then the answer is no (according to my knowledge). But you could >>> try to do it by yourself by decomposing your problem and solving >>> each subproblem with separate eclipse solver. >>> Best regards >>> -- >>> [ Wit Jakuczun http://www.linkedin.com/in/jakuczunwit ] >> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> ECLiPSe-CLP-Users mailing list >> ECLiPSe-CLP-Users_at_lists.sourceforge.net >> <mailto:ECLiPSe-CLP-Users_at_lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users >> >> > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > > > _______________________________________________ > ECLiPSe-CLP-Users mailing list > ECLiPSe-CLP-Users_at_lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users >Received on Tue Jun 22 2010 - 16:49:43 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST