swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Santa Fe Artificial Stock Market Simulation in SWARM


From: Konrad_Richter
Subject: Re: [Swarm-Support] Santa Fe Artificial Stock Market Simulation in SWARM
Date: Wed, 17 Nov 2004 18:25:44 +0100




Hi Paul,
many thanks for your fast reply. The compiler says
Dividend.m:12: error: conflicting types for 'random'

I assume that some library uses the same variable name and this causes the
problem.

Greetings,
      Konrad

______________________________________ 
Konrad Richter
McKinsey & Company, Inc.
Herrengasse 1-3
A-1010 Wien
Austria
Phone +43 1 5370-6160
Fax +43 1 5370-6161
Mobile +49 175 318-6160


                                                                           
             Paul Johnson                                                  
             <address@hidden>                                             
             Sent by:                                                   To 
             address@hidden         Swarm Support <address@hidden>   
             warm.org                                                   cc 
                                                                           
                                                                   Subject 
             17.11.2004 18:11          Re: [Swarm-Support] Santa Fe        
                                       Artificial Stock Market Simulation  
                                       in     SWARM                        
             Please respond to                                             
               Swarm Support                                               
             <address@hidden                                             
                    g>                                                     
                                                                           
                                                                           




You don't mention what the compile-time problem is.  I don't see it in
Linux, but my compiler is probably different.  Even the C library is
probably different.

I don't think it matters that you commented that out, though.  That
original code was full of global functions and pointers flying off
everywhere and apparently I did not kill all of them.  But I killed a
lot!  After Thomas Badegruber and I finally got ASM-2.4 to replicate the
behavior of the original sfsm, I made a vow to stop "cleaning up things"
for fear of tipping the balance...

pj

address@hidden wrote:
>
>
>
> Hi,
> I have downloaded the Santa Fe Artificial Stock Market version from
> http://sourceforge.net/projects/artstkmkt. I am using Swarm 2.2 on
Windows
> XP.  In a first try, the program wouldn't work because of line 16 in
> dividend.m This line reads
> extern long random(void);
> When I commented out the line, the program worked. However, I am not
sure,
> what this line was intended to do and wether I changed anything vital in
> the simulation. Could someone give me a hint on that?
>
> Thanks,
> Konrad
>
> ______________________________________
> Konrad Richter
> McKinsey & Company, Inc.
> Herrengasse 1-3
> A-1010 Wien
> Austria
> Phone +43 1 5370-6160
> Fax +43 1 5370-6161
> Mobile +49 175 318-6160
>
> +=========================================================+
> This message may contain confidential and/or privileged
> information.  If you are not the addressee or authorized to
> receive this for the addressee, you must not use, copy,
> disclose or take any action based on this message or any
> information herein.  If you have received this message in
> error, please advise the sender immediately by reply e-mail
> and delete this message.  Thank you for your cooperation.
> +=========================================================+
>
>
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support


--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support




+=========================================================+
This message may contain confidential and/or privileged
information.  If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy,
disclose or take any action based on this message or any
information herein.  If you have received this message in
error, please advise the sender immediately by reply e-mail
and delete this message.  Thank you for your cooperation.
+=========================================================+




reply via email to

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