Hi All!
I'm having an issue using scoop 0.7.1.1 and deap 1.1.0 for python 2.7.8.
The code works on my laptop but does not when I submit via qsub to a remote cluster [Red Hat 4.4.7-3].
For some reason, one or more nodes are not finding the libpython2.7.so.1.0 file even though I set LD_LIBRARY_PATH in the PBS script. Do you know of some other way (without admin privs) to make sure all nodes have access to this .so?
Here's the error
----------------------------
[2016-02-12 18:03:03,560] launcher INFO SCOOP 0.7 1.1 on linux2 using Python 2.7.8
(default, Oct 23 2014, 11:43:30) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)], API: 1013
[2016-02-12 18:03:03,560] launcher INFO Detected PBS environment.
[2016-02-12 18:03:03,560] launcher INFO Deploying 2 worker(s) over 2 host(s).
[2016-02-12 18:03:03,560] launcher INFO Worker distribution:
[2016-02-12 18:03:03,560] launcher INFO c1u3-ib0: 0 + origin
[2016-02-12 18:03:03,560] launcher INFO c1u3-ib0: 0 + origin
ERROR:root:Error while launching SCOOP subprocesses:
ERROR:root:Traceback (most recent call last):
File "/work/CALHYDRO/python-modules/scoop-0.7.1.1/scoop/launcher.py", line 480, in main
rootTaskExitCode = thisScoopApp.run()
File "/work/CALHYDRO/python-modules/scoop-0.7.1.1/scoop/launcher.py", line 261, in run
backend=self.backend,
File "/work/CALHYDRO/python-modules/scoop-0.7.1.1/scoop/launch/brokerLaunch.py", line 158, in __init__
"SSH process stderr:\n{stderr}".format(**locals()))
Exception: Could not successfully launch the remote broker.
Requested remote broker ports, received:
Port number decoding error:
need more than 1 value to unpack
SSH process stderr:
/usr/local/apps/Python/2.7.8/bin/python:
error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
[2016-02-12 18:03:03,701] launcher INFO Finished cleaning spawned subprocesses.
INFO:launcherLogger:Finished cleaning spawned subprocesses.
--------------------------------------
------------------------------
Here's my PBS script.
--------------------------
#!/bin/csh
#PBS -l procs=2
#PBS -j oe
module load python/2.7.8
cd /work/CALHYDRO/calExpHydro
setenv PYTHONPATH /work/CALHYDRO/python-modules/scoop-0.7.1.1
setenv LD_LIBRARY_PATH /usr/local/apps/Python/2.7.8/lib ##THIS IS WHERE libpython2.7.so.1.0 IS!!
python -m scoop --pythonpath PYTHONPATH -n 2 --hostfile $PBS_NODEFILE ga.py
-----------
Thanks in advance!
Brad