Hi,
I have this script
import numpy as np
import random as rnd
from math import *
import matplotlib.pyplot as plt
folder = '../NOBACKUP/heavi3/'
pre = '10'
dat = '.dat'
snshot = '4189'
d = 0.02
d2 = d/2.0
tot = 156
half = 78
points = 3375000
BxN = np.zeros((tot,tot,tot))
ByN = np.zeros((tot
Hi,
The number was high but it was only a sort of test.now I learned how it
works,
thanks
Gb
On Sep 20, 2016 12:48 PM, "Matt Ruffalo" wrote:
> Hello-
>
> On 2016-09-20 11:48, Gabriele Brambilla wrote:
> > does it mean that my number of points is too high?
>
> In short, yes. From your usage of
Gabriele Brambilla wrote:
> Hi,
>
> I have this script
> points = 3375000
> for iw in range(points):
> print iw
>
>
> But when I run it it is killed in the for cycle, it doesn't print any
> number:
>
> [gabriele:~/Desktop/GITcode] gbrambil% python EknotFromKostas.py
> im here
On 20.09.2016 17:48, Gabriele Brambilla wrote:
Hi,
I have this script
import numpy as np
import random as rnd
from math import *
import matplotlib.pyplot as plt
folder = '../NOBACKUP/heavi3/'
pre = '10'
dat = '.dat'
snshot = '4189'
d = 0.02
d2 = d/2.0
tot = 156
half = 78
points = 3375000
On Tue, Sep 20, 2016 at 11:48:47AM -0400, Gabriele Brambilla wrote:
> Hi,
>
> I have this script
[...]
> print "pastopens"
> for iw in range(points):
> print iw
>
>
> But when I run it it is killed in the for cycle, it doesn't print any
> number:
>
> [gabriele:~/Desktop/GITcode]
Hello-
On 2016-09-20 11:48, Gabriele Brambilla wrote:
> does it mean that my number of points is too high?
In short, yes. From your usage of the 'print' statement, you are running
the code under Python 2.x. In this version of Python, the 'range'
function creates a full list of numbers, and so you
On Tue, Sep 20, 2016, at 11:48, Gabriele Brambilla wrote:
> I have this script
...
> points = 3375000
...
> for iw in range(points):
> print iw
> does it mean that my number of points is too high?
Probably. The most likely thing to cause something to exit with a status
of "Killed"