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:
| import os | |
| import ycm_core | |
| from clang_helpers import PrepareClangFlags | |
| # Set this to the absolute path to the folder (NOT the file!) containing the | |
| # compile_commands.json file to use that instead of 'flags'. See here for | |
| # more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html | |
| # Most projects will NOT need to set this to anything; you can just change the | |
| # 'flags' list of compilation flags. Notice that YCM itself uses that approach. | |
| compilation_database_folder = '' |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/ENV python | |
| import numpy | |
| from mpi4py import MPI | |
| NUMARRAYS = 100 | |
| ARRAYSIZE = 10000 | |
| ASK_FOR_WORK_TAG = 1 | |
| WORK_TAG = 2 | |
| WORK_DONE_TAG = 3 |
| 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 |
| import unittest | |
| from microfinance import app, db | |
| from microfinance.models import User | |
| from sqlalchemy.exc import IntegrityError | |
| class UserTestCase(unittest.TestCase): | |
| def setUp(self): | |
| app.config['TESTING'] = True | |
| app.config['SQLALCHEMY_DATABASE_URI'] = 'postgres://localhost/microfinance_test' |