swarm-support
[Top][All Lists]
Advanced

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

Re: Problems with the Village simulation. Can you confirm?


From: Tim A. Kohler
Subject: Re: Problems with the Village simulation. Can you confirm?
Date: Tue, 10 Feb 1998 08:19:35 -0800

As I recall, we only put 50 years of paleoproductivity data with that demo
version, just to save space; we actually run it up here on 400 years (the
simulated productivity from AD 901-1300). So what you see here, for
example, at year 51:
>REMOVE: num of agents 355 total 585
>DEBUG:  AGENT 100
>        info:   location (41,34) state 1 plot_need 1
>        hist:   formation 0 agentTime 51
>        nums:   total 2 kids 0 ages: (64 64)
>        farm:   plots 3 store 423 max_store 793 E(yield) -357913558 E(use) 298
>        cell:   plots 3 yield -2147483648 num_settlers 1
is that agents are suddenly sampling some random kcal of maize that is crud
left over in the memory, and pretty soon they run out of storage and they
all die. When the agent being tracked by debug dies its agentTime will also
become some crud left over in the memory instead of a measure you can use.
In that REMOVE line, the first n is the number of agents currently alive;
the second n is the number of agents that have even lived.

In other words, so far as I can tell, within the limits of what it's
supposed to be doing and the paleoproductivity data available, the sim is
working OK. We are currently on version 6.x up here so that it is a little
behind what we are working on now but is still useful as a demo I hope.

Best wishes, TK



>I've been running Village4.1. I've made the various changes
>Marcus recommended to run it under Swarm 1.0.5.  No matter what
>I do, I get some simulation behavior that makes me think there
>is something wrong with the simulation itself, linux, or Swarm.
>
>Here is the deal. When I run it, on either Redhat Linux 5 machine,
>The simulation looks pretty and runs until time point 50, when the
>map turns bright green and the debug output in the console gives some
>insane numbers.  I'm adding a snapshot to the last debug statements from
>the console, so you can see if your look like this too. If you think
>the simulation is fine, and this is what it is supposed to do, please
>tell me.  If it is wrong, where is the problem???
>
>Other reasons I think there's something wrong. As the sim starts, there
>is an Agent window showing statistics.  After the sim runs for a while,
>it vanishes.  Possibly that happens because everyone is dead, but I doubt
>it because the map still has red dots.  This run I've trapped below is
>interesting also because the "agentTime" variable counts up smoothly to
>52 but then it changes.
>Paul Johnson
>
>REMOVE: num of agents 358 total 527
>DEBUG:  AGENT 8
>        info:   location (94,126) state 1 plot_need -1
>        hist:   formation 0 agentTime 44
>        nums:   total 2 kids 0 ages: (60 61)
>        farm:   plots 2 store 856 max_store 788 E(yield) 1000 E(use) 295
>        cell:   plots 2 yield 1027 num_settlers 1
>
>REMOVE: num of agents 357 total 530
>DEBUG:  AGENT 8
>        info:   location (94,126) state 1 plot_need 1
>        hist:   formation 0 agentTime 45
>        nums:   total 2 kids 0 ages: (61 62)
>        farm:   plots 1 store 645 max_store 788 E(yield) 883 E(use) 295
>        cell:   plots 1 yield 767 num_settlers 1
>
>REMOVE: num of agents 361 total 536
>DEBUG:  AGENT 8
>        info:   location (94,126) state 1 plot_need 1
>        hist:   formation 0 agentTime 46
>        nums:   total 2 kids 0 ages: (62 63)
>        farm:   plots 2 store 649 max_store 793 E(yield) 907 E(use) 298
>        cell:   plots 2 yield 932 num_settlers 1
>
>REMOVE: num of agents 366 total 547
>DEBUG:  AGENT 8
>        info:   location (94,126) state 1 plot_need 1
>        hist:   formation 0 agentTime 47
>        nums:   total 2 kids 0 ages: (63 64)
>        farm:   plots 3 store 656 max_store 794 E(yield) 766 E(use) 298
>        cell:   plots 3 yield 625 num_settlers 1
>
>REMOVE: num of agents 366 total 554
>DEBUG:  AGENT 8
>        info:   location (94,126) state 1 plot_need 1
>        hist:   formation 0 agentTime 48
>        nums:   total 1 kids 0 ages: (64 -2)
>        farm:   plots 3 store 741 max_store 789 E(yield) 766 E(use) 295
>        cell:   plots 3 yield 767 num_settlers 1
>
>REMOVE: num of agents 374 total 567
>DEBUG:  AGENT 37
>        info:   location (192,39) state 1 plot_need 1
>        hist:   formation 0 agentTime 49
>        nums:   total 1 kids 0 ages: (-2 64)
>        farm:   plots 2 store 318 max_store 801 E(yield) 1003 E(use) 301
>        cell:   plots 2 yield 1003 num_settlers 2
>
>REMOVE: num of agents 377 total 576
>DEBUG:  AGENT 37
>        info:   location (192,39) state 1 plot_need 1
>        hist:   formation 0 agentTime 50
>        nums:   total 1 kids 0 ages: (64 -2)
>        farm:   plots 1 store 333 max_store 599 E(yield) 1121 E(use) 199
>        cell:   plots 3 yield 1240 num_settlers 2
>
>REMOVE: num of agents 355 total 585
>DEBUG:  AGENT 100
>        info:   location (41,34) state 1 plot_need 1
>        hist:   formation 0 agentTime 51
>        nums:   total 2 kids 0 ages: (64 64)
>        farm:   plots 3 store 423 max_store 793 E(yield) -357913558 E(use) 298
>        cell:   plots 3 yield -2147483648 num_settlers 1
>
>REMOVE: num of agents 273 total 596
>DEBUG:  AGENT 100
>        info:   location (41,34) state 1 plot_need 2
>        hist:   formation 0 agentTime 52
>        nums:   total 1 kids 0 ages: (-2 64)
>        farm:   plots 0 store 117 max_store 789 E(yield) -536870720 E(use) 295
>        cell:   plots 0 yield -2147483648 num_settlers 1
>
>REMOVE: num of agents 89 total 599
>DEBUG:  AGENT 154
>        info:   location (162,16) state 1 plot_need 2
>        hist:   formation 0 agentTime 53
>        nums:   total 1 kids 0 ages: (64 -2)
>        farm:   plots 0 store 2 max_store 794 E(yield) -626349246 E(use) 298
>        cell:   plots 0 yield -2147483648 num_settlers 2
>
>REMOVE: num of agents 10 total 599
>DEBUG:  AGENT 290
>        info:   location (196,43) state 1 plot_need 2
>        hist:   formation 0 agentTime 37
>        nums:   total 2 kids 0 ages: (53 53)
>        farm:   plots 0 store 194 max_store 792 E(yield) -805306299 E(use) 298
>        cell:   plots 0 yield -2147483648 num_settlers 1
>
>REMOVE: num of agents 3 total 599
>DEBUG:  AGENT 306
>        info:   location (190,40) state 1 plot_need 2
>        hist:   formation 0 agentTime 36
>        nums:   total 2 kids 0 ages: (52 52)
>        farm:   plots 0 store 63 max_store 794 E(yield) -111848071 E(use) 298
>        cell:   plots 0 yield -2147483648 num_settlers 1
>
>REMOVE: num of agents 0 total 599
>REMOVE: num of agents 0 total 599
>REMOVE: num of agents 0 total 599
>REMOVE: num of agents 0 total 599
>REMOVE: num of agents 0 total 599
>REMOVE: num of agents 0 total 599
>REMOVE: num of agents 0 total 599
>
>
>----------------------------------
>E-Mail: Paul E. Johnson <address@hidden>
>Date: 09-Feb-98
>Time: 16:21:07
>
>This message was sent by XFMail
>----------------------------------
>
>                  ==================================
>   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.
                  ==================================


reply via email to

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