swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Swarm-1.1 on RedHat5.0


From: Marcus Vinicius Pereira Pessoa
Subject: RE: Swarm-1.1 on RedHat5.0
Date: Thu, 12 Mar 1998 12:20:23 -0300

Thanks for the help! By following the instructions I managed to make the 
example 
applications. But now I'm having problems in porting my application into 
swarm-1.1.
When I try to run my application I receive a segmentation fault error. I 
managed to 
copy it from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x8058a1e in findSwarm (arguments=0x8238968) at Arguments.m:231
Arguments.m:231: No such file or directory.


Arguments.m:231 (swarmPath = findDirectory (arguments, "swarm/VERSION");)

As I'm porting my application from swarm-1.0.3, I'll put below my main.m.

#import "CoObsSwarm.h"
#import "EvalObsSwarm.h"

#define GENLEN 8

void evalFunc(id<Chromosome> a );

int
main(int argc, const char ** argv) {
  CoevolutionObserverSwarm * topLevelSwarm;

  initSwarm(argc, argv);

  topLevelSwarm = [CoevolutionObserverSwarm create: globalZone];

  [topLevelSwarm setChromLength: GENLEN];
  [topLevelSwarm setEvaluationFunc: evalFunc];
  [topLevelSwarm buildObjects];
  [topLevelSwarm buildActions];
  [topLevelSwarm activateIn: nil];
  [topLevelSwarm go];

  return 0;
}

// Evaluation function.

void evalFunc( id<Chromosome> a ) {

  EvaluationObserverSwarm * observerSwarm;

  observerSwarm = [EvaluationObserverSwarm create: globalZone];
  [observerSwarm buildObjects: a];
  [observerSwarm buildActions];
  [observerSwarm activateIn: nil];
  [observerSwarm pplGo];
}

----------
From:   pauljohn[SMTP:address@hidden
Reply To:       address@hidden
Sent:   Quarta-feira, 8 de Abril de 1998 10:01
To:     'address@hidden'
Subject:        Re: Swarm-1.1 on RedHat5.0


You are having typical problems that new users have, try to take it
easy.

I wrote up a complete set of installation instructions for swarm
and Redhat 5 last week or so. Look in the list archive for 
a message with a title like "Installing Swarm on Linux" or such.

You probably ought to stick with the binary install if you don't want
to do much file organization. In that case, you do not need to  configure
blt, tcl, ffi, or the other things.  You do need to make sure you have
the development rpms installed from Redhat, of course

Paul Johnson

On Wed, 11 Mar 1998, Marcus Vinicius Pereira Pessoa wrote:

> I've just installed RedHat5.0 in my computer and I'm trying to move to 
> swarm-1.1. First I downloaded and installed tclobjc-1.3. Then I downloaded  
> the binary version of RedHat5.0 and adjusted de Makefile.conf to SETUP=NONE 
> and put the paths of includes and libraries in the same way I did to 
> swarm-1.0.3. 
> Swarm apparently compiled without problems, but I was unable to compile 
> heatbugs 
> (from swarmapps-1.1), by the end of the compilation I receive a group of 
> error messages.
> 
> I though of making a second try, installing the source version, but I was 
> unable to install
> blt8.0. I followed the blt8.0 unix subdirectory install instructions and 
> created a subdirectory 
> (in unix) called Linux, from which I ran ../configure. Then I edited config 
> file and reran configure. When I tried to make the application it returned a 
> series of errors (lots of directories not found)
> 
> So, I would like to know if somebody succeeded on the installation of 
> swarm-1.1 on
> RedHat Linux 5.0.
> 
> Vinicius.
> 
> 
>                   =================
>    Swarm-Support is for discussion of the technical details of the day
>    to day usage of Swarm.  For list administration needs (esp.
>    [un]subscribing), please send a message to <address@hidden>
>    with "help" in the body of the message.
>                   =================
> 


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================

<<application/ms-tnef>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]