I hereby claim:
- I am pedrovanzella on github.
- I am pedrovanzella (https://keybase.io/pedrovanzella) on keybase.
- I have a public key whose fingerprint is 5EB3 4AC2 123F 7831 4108 6A37 BF98 6EAA 2E29 0719
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
pp12821@atlantica02:~/python$ python | |
Python 2.6.5 (r265:79063, Oct 1 2012, 22:04:36) | |
[GCC 4.4.3] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from mpi4py import MPI | |
[atlantica02:07592] mca: base: component_find: unable to open /usr/local/openmpi/openmpi-1.4.5/lib/openmpi/mca_btl_ofud: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored) | |
[atlantica02:07592] mca: base: component_find: unable to open /usr/local/openmpi/openmpi-1.4.5/lib/openmpi/mca_btl_openib: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored) | |
>>> MPI.INT64_T | |
<mpi4py.MPI.Datatype object at 0x7f01fed43430> | |
>>> |
pp12821@marfim:~/python$ ladalloc -c atlantica -n 2 -t 60 -e | |
/usr/local/torque-2.5.11/bin/qsub -I -V -d /home/pp12821/python -l nodes=2:cluster-Atlantica:ppn=16,walltime=00:60:00 | |
qsub: waiting for job 57322.marfim.lad.pucrs.br to start | |
qsub: job 57322.marfim.lad.pucrs.br ready | |
-------------------------------------- | |
Running PBS prologue script | |
Checking all prerequisites... | |
Done. |
#!/usr/bin/python | |
import numpy | |
from mpi4py import MPI | |
from bubblesort import bubblesort | |
comm = MPI.COMM_WORLD | |
rank = comm.Get_rank() | |
size = comm.Get_size() | |
status = MPI.Status() |
def bubblesort(list): | |
length = len(list) - 1 | |
sorted = False | |
while not sorted: | |
sorted = True | |
for i in range(length): | |
if list[i] > list[i+1]: | |
sorted = False | |
list[i], list[i+1] = list[i+1], list[i] |
all: hellogl | |
hellogl: main.c | |
clang -o hellogl main.c -lglfw -lGL -lGLEW |
#!/usr/bin/ruby | |
#This is for SABnzbd+ only | |
#Let's hope it works and I don't look like a complete moron. | |
#Uses gem mediainfo from http://github.com/greatseth/mediainfo | |
#Now using metaflac from the flac package to parse metadata and keep tags. | |
#Next step: remove mediainfo dependecy. |
############################################## | |
# genpass.rb # | |
# Generates a table of possible # | |
# passwords according to a fixed pattern # | |
# # | |
# Ugly, but works # | |
############################################## | |
def generate_combinations(array, r) | |
n = array.length |
#!/usr/bin/env ruby | |
# | |
################################################### | |
# crawler.rb # | |
# Pedro Vanzella - pedro@pedrovanzella.com # | |
# # | |
# Looks for the existence of directories on a # | |
# numbered, but sparse, list # | |
################################################### |