best parallelisation strategy on python

2018-04-18 Thread simona bellavista
I have a code fortran 90 that is parallelised with MPI. I would like to traslate it in python, but I am not sure on the parallelisation strategy and libraries. I work on clusters, with each node with 5GB memory and 12 processors or 24 processors (depending on the cluster I am using). Ideally I

Re: scientific notation in legend (pylab)

2012-01-18 Thread simona bellavista
thank you, I am trying to learn python, but I am having a hard to find a good introduction to it. On Jan 15, 3:27 am, Jason Friedman ja...@powerpull.net wrote: Not sure why legend annotations makes the problem different, but perhaps this is a start: --

scientific notation in legend (pylab)

2012-01-14 Thread simona bellavista
Hi, I I would like to have numbers expressed in scientific notation in legend annotations. Does anybody know how to do that? Cheers, S. -- http://mail.python.org/mailman/listinfo/python-list

data type and logarithm

2011-06-16 Thread simona bellavista
Hi, I am quite new to python and I am trying to do some simple plots. I am using python Python 2.6.4 and numpy/1.5.1 I have an ASCII data file that I am reading with the following lines of code: import pylab import numpy as np filename='something.dat' file = open(filename) rho = np.array([],

genfromtxt and comment identifier

2011-04-15 Thread simona bellavista
Hi All, I have a problem with reading data from a file using genfromtxt of numpy module. I have prepared a minimal example similar to the ones presented in http://docs.scipy.org/doc/numpy/user/basics.io.genfromtxt.html#splitting-the-lines-into-columns The script is import numpy as np from