ECJ-INTEREST-L Archives

September 2008

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Sat, 13 Sep 2008 13:19:10 -0400
MIME-version:
1.0
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=ISO-8859-1; format=flowed
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
<1221323315.7936.34.camel@tomek>
Content-transfer-encoding:
7bit
Comments:
To: ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (30 lines)
Very interesting!  I'll look into it further: we may need to do similar 
things for the distributed evaluator.  Throw me some of your changed 
code to speed things up.

Sean

Tomasz Nowak wrote:
> Hi,
> 
> I had a problem with island parallelization on genetic programming. I
> could only migrate 
> 
> there is a problem with IslandExchange class. Servers and clients use
> InetAddress.getLocalhost() method that returns 127.0.0.1 on some
> operating systems (most Linux distributions are affected). So the
> islands are told to connect to 127.0.0.1 on multiple ports, because the
> other side told them it is listening on 127.0.0.1. "ConnectionException:
> Connection refused" appears on console.
> 
> I fixed the problem easily: I replaced all InetAddress.getLocalhost()
> calls with my own function call, defined exactly the way found at 
> http://mail-archives.apache.org/mod_mbox/jakarta-jcs-dev/200803.mbox/%
> 3C1066089445.1204637680849.JavaMail.jira@brutus%3E
> 
> This problem with getLocalHost() got "will not fix" status on Sun's
> bugtracker. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037
> 
> Best regards,
> Tomasz Nowak

ATOM RSS1 RSS2