Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PicklingError on HPC #74

Closed
kbstn opened this issue Dec 14, 2017 · 1 comment
Closed

PicklingError on HPC #74

kbstn opened this issue Dec 14, 2017 · 1 comment

Comments

@kbstn
Copy link
Contributor

kbstn commented Dec 14, 2017

When i run my code on local machine its working fine but on skylla HPC i got following error (same versions given):
File "simple_lumped1593.py", line 539, in <module> save_sim=False) File "/home/gh2521/.local/lib/python3.5/site-packages/spotpy/algorithms/lhs.py", line 59, in __init__ super(lhs, self).__init__(*args, **kwargs) File "/home/gh2521/.local/lib/python3.5/site-packages/spotpy/algorithms/_algorithm.py", line 183, in __init__ self.repeat.start() File "/home/gh2521/.local/lib/python3.5/site-packages/spotpy/parallel/mpi.py", line 165, in start self.__wait() File "/home/gh2521/.local/lib/python3.5/site-packages/spotpy/parallel/mpi.py", line 132, in __wait self.comm.send(res, dest=0, tag=tag.answer) File "MPI/Comm.pyx", line 1175, in mpi4py.MPI.Comm.send (src/mpi4py.MPI.c:106424) File "MPI/msgpickle.pxi", line 210, in mpi4py.MPI.PyMPI_send (src/mpi4py.MPI.c:42085) File "MPI/msgpickle.pxi", line 112, in mpi4py.MPI.Pickle.dump (src/mpi4py.MPI.c:40704) _pickle.PicklingError: Can't pickle <class 'SwigPyObject'>: attribute lookup SwigPyObject on builtins failed

@kbstn
Copy link
Contributor Author

kbstn commented Dec 14, 2017

if i return an numpy.array in the spotpy simulation function, the problem does not occur anymore.

@kbstn kbstn closed this as completed Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant