Git Product home page Git Product logo

pypar's People

Contributors

cmakassikis avatar congma avatar daleroberts avatar uniomni avatar wfang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pypar's Issues

Error on import pypar

I recently installed fresh ubuntu14.04.
Then I installed mpich2.
I forgot whether i have installed openmpi also or not.

I create virtual environment.
Install numpy as required by pypar 2.0 using pip
Then install pypar using

python setup.py install

I checked using pip freeze and pypar is really installed

I tried pypar in python intrepeter

import pypar

Then i got this error.

[pangrango:02488] mca: base: component_find: unable to open /usr/lib/openmpi/lib/openmpi/mca_paffinity_hwloc: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)
[pangrango:02488] mca: base: component_find: unable to open /usr/lib/openmpi/lib/openmpi/mca_carto_auto_detect: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)
[pangrango:02488] mca: base: component_find: unable to open /usr/lib/openmpi/lib/openmpi/mca_carto_file: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)
[pangrango:02488] mca: base: component_find: unable to open /usr/lib/openmpi/lib/openmpi/mca_shmem_mmap: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)
[pangrango:02488] mca: base: component_find: unable to open /usr/lib/openmpi/lib/openmpi/mca_shmem_posix: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)
[pangrango:02488] mca: base: component_find: unable to open /usr/lib/openmpi/lib/openmpi/mca_shmem_sysv: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    opal_init:startup:internal-failure
But I couldn't open the help file:
    /usr/share/openmpi/help-opal-runtime.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------
[pangrango:02488] [[INVALID],INVALID] ORTE_ERROR_LOG: Error in file runtime/orte_init.c at line 79
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    mpi_init:startup:internal-failure
But I couldn't open the help file:
    /usr/share/openmpi/help-mpi-runtime: No such file or directory.  Sorry!
--------------------------------------------------------------------------
*** An error occurred in MPI_Init
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL: your MPI job will now abort
[pangrango:2488] Local abort before MPI_INIT completed successfully; not able to aggregate error messages, and not able to guarantee that all other processes were killed!

I try:

mpirun -np 4 pwd

and it worked/

I tried restart the computer, and I still got the same error.
Any idea what might have happened?
Thanks.

Segfault after Control+C; OpenMPI

Hi,

For quite a while I'm observing that after importing pypar python segfaults on Control+C. In the same time when for example using mpi4py, nothing like this happens. That suggest to me that maybe it is not the issue with the mpi library itself.
Here is the test program which segfaults on me:

import os
# import mpi4py
import pypar
os.kill(os.getpid(),2)

My OS is RHEL 6.6 on x86_64 with OpenMPI 1.8.1. Python version 2.7.6
I've been observing this issue for last year/couple of years.

ImportError: No module named tblib

I installed pypar on a cluster I use at work, but when I went to run it, I got this:

> python
Python 2.7.8 (default, Oct  9 2014, 13:11:01) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pypar
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "PATH/packages/lib/python2.7/site-packages/pypar/__init__.py", line 9, in <module>
    import test
  File "PATH/packages/lib/python2.7/site-packages/pypar/test.py", line 15, in <module>
    from tblib import pickling_support
ImportError: No module named tblib

As the trace states, __init__.py imports test.py, which in turn imports tblib. There's no mention anywhere (that I can find) that tblib is a dependency of pypar.

Why is test.py imported in __init__.py? If I just comment out the import, pypar seems to work just fine without me needing to install tblib.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.