Print

Print


Hi guys.
I am testing ECJ with the IslandExchanger with 3 islands.
The server and islands have the next configuration:
-------SERVER-----exch = ec.exchange.IslandExchangeexch.i-am-server = trueexch.mailbox-capacity = 200exch.server-addr = localhostexch.server-port = 8999
exch.start = 0exch.size = 1 exch.mod = 5exch.chatty = falseexch.sync = true
exch.num-islands = 3 exch.island.0.id = isla0exch.island.0.num-mig = 2exch.island.0.mig.0 = isla1exch.island.0.mig.1 = isla2
exch.island.1.id = isla1exch.island.1.num-mig = 2exch.island.1.mig.0 = isla0exch.island.1.mig.1 = isla2
exch.island.2.id = isla2exch.island.2.num-mig = 2exch.island.2.mig.0 = isla0exch.island.2.mig.1 = isla1
------------ISLANDS (for example, isla1) ------------exch = ec.exchange.IslandExchangeexch.select = ec.select.TournamentSelectionexch.size = 1exch.sync = falseexch.server-addr = localhostexch.server-port = 8999seed.0 = 1231exch.id = isla1exch.client-port = 9001-----------------------------------------
The log of each island is (for example, for isla1):
(... generations...)Generation 851Generation 852Generation 853Generation 854Generation 855Receiving 1 immigrants for subpopulation 0 from island isla0Sending 1 immigrants to island isla0Sending 1 immigrants to island isla2Immigrating 1 individuals from mailbox for subpopulation 0Generation 856Generation 857
(... the rest of generations...)
(Then, a best individual is found in one of the islands)
Generation 870Sending 1 immigrants to island isla0Sending 1 immigrants to island isla2WARNING:Could not communicate with the server. Exiting....Generation 871Exit: Could not communicate with the server.Shutting down the mailboxReceiving 1 immigrants for subpopulation 0 from island isla2Receiving 1 immigrants for subpopulation 0 from island isla2Receiving 1 immigrants for subpopulation 0 from island isla2Receiving 1 immigrants for subpopulation 0 from island isla2Receiving 1 immigrants for subpopulation 0 from island isla2Receiving 1 immigrants for subpopulation 0 from island isla2Receiving 1 immigrants for subpopulation 0 from island isla2Receiving 1 immigrants for subpopulation 0 from island isla2(... a lot of repetitions of that line)
An equivalent log is also the same in isla0 and isla2. The three islands logs say that islands are sending to the other 2 islands (perfect), but receiving only from one of them, and, at the end of the run, a repetition of lines of that remaining island. Are the islands having a correct behavior? Or is just something related with the log output order?
Thanks in advance.
--
Pablo García Sánchez
Departamento de Arquitectura y Tecnología de Computadores
Universidad de Granada