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

Re: [ns] problem when running nam



I think you may be using an old version of nam.  The code that generates
that error message should not be called in the latest version of nam
because it uses Random::random() not random().  

Also, how are you running nam?  And what version information is reported
in the nam console?(v1.0a9, v1.0a8)
If you use "NAM out.nam" from the command line it seems a little strange
because recent versions of nam build an executable that is all
lowercase. So you might need to use "nam out.nam" to get the most
current version to run.

- John Mehringer


Shuju Wu wrote:
> 
> Hi,
> 
> Can anyone help me with this?
> after I generate out.nam file and ran NAM,
> an error message said:
> 
> random() called in ns.
> Random is not portable, please use Random::uniform() instead.
> Abort
> 
> I don't why this is happening.
> 
> I appreciate your help.
> 
> Wu