swarm-support
[Top][All Lists]
Advanced

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

Re: Batch mode option + customized option


From: Akiko Ogawa - RS/GIS lab
Subject: Re: Batch mode option + customized option
Date: Wed, 24 May 2000 17:09:57 -0600 (MDT)

>>>>>> "AO" == Akiko Ogawa <- RS/GIS lab <address@hidden>> writes:
>      
>AO> topLevelSwarm = [CoyoteObserverSwarm create: globalZone];
>
>Ok, change "create" to "createBegin" and replace `parse' with:
>
>  int parse (int key, const char *arg)
>    {
>      if (key == 'T')
>        {
>          timesteps = strtoul (arg, NULL, 10);
>          return 0;
>        }
>      return ARGP_ERR_UNKNOWN;
>    }

OK, now the program runs when WITHOUT any options. But in batch mode, another 
error message appears,

   cobbler{tl017}49: coyote -b
   /net/pojoaque/disk1/Scratch/mgd/src/swarm-2.0.1/src/defobj/DefObject.m:158   
 
   -[Object(s) _lispIn:]
   Abort

Would you advise what is wrong?
Tracing with printf's suggests that the program stops at the following line in 
CoyoteBatchSwarm.m: - buildobjects.

  if ((coyoteModelSwarm = 
       [archiver getWithZone: self object: "modelSwarm"]) == nil)
    raiseEvent(InvalidOperation, 
               "Can't find archiver file or appropriate key");

This was also copied from mousetrap.

Thanks.
Akiko


                  ==================================
   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.



reply via email to

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