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

Can not find agent.so #1

Open
huangjiancong1 opened this issue Jun 30, 2019 · 1 comment
Open

Can not find agent.so #1

huangjiancong1 opened this issue Jun 30, 2019 · 1 comment

Comments

@huangjiancong1
Copy link

huangjiancong1 commented Jun 30, 2019

bash scripts:

#!/bin/bash

export LANG=en_US.UTF-8
export OMP_NUM_THREADS=1
source /home/birl-spai-ubuntu14/anaconda2/bin/activate clustering
python -O /home/birl-spai-ubuntu14/ddrl/gym/run.py --goal-based --config=/home/birl-spai-ubuntu14/ddrl/gym/config.ini
# python /home/birl-spai-ubuntu14/ddrl/gym/run.py --goal-based

exit $?

command:

~/lhpo $ ./optimizer.bash ~/exp/continuous_bandit_perfect_critic

issue:

(clustering) birl-spai-ubuntu14@ubuntu-16 17:22:41 ~/lhpo 
$ ./optimizer.bash ~/exp/continuous_bandit_perfect_critic
Number of thread set to 1.
./run.bash  >& full.trace
FAILED : (/tmp/tmp.Awjb5lEb88)
{'save_best': False, 'render': False, 'view': False, 'test_only': False, 'capture': False, 'goal_based': True, 'load': None, 'config': '/home/birl-spai-ubuntu14/ddrl/gym/config.ini'}
State space: Box(31,)
- low: [-inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf
 -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf -inf
 -inf -inf -inf]
- high: [inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf inf
 inf inf inf inf inf inf inf inf inf inf inf inf inf]
Action space: Box(4,)
- low: [-1. -1. -1. -1.]
- high: [1. 1. 1. 1.]
Create agent with (nb_motors, nb_sensors) :  4 31
Traceback (most recent call last):
  File "/home/birl-spai-ubuntu14/ddrl/gym/run.py", line 214, in <module>
    DDRLAg=load_so_libray(config)
  File "/home/birl-spai-ubuntu14/ddrl/gym/agent.py", line 17, in load_so_libray
    lib = cdll.LoadLibrary(lib_path)
  File "/home/birl-spai-ubuntu14/anaconda2/envs/clustering/lib/python3.6/ctypes/__init__.py", line 426, in LoadLibrary
    return self._dlltype(name)
  File "/home/birl-spai-ubuntu14/anaconda2/envs/clustering/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/jim/ddrl/agent/cacla/lib/libddrl-hpenfac.so: cannot open shared object file: No such file or directory
1

@matthieu637
Copy link
Owner

matthieu637 commented Jun 30, 2019

Does /home/jim/ddrl/agent/cacla/lib/libddrl-hpenfac.so exists?

Shouldn't it start by /home/birl-spai-ubuntu14/ in config.ini?
Are you using NFS?

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

2 participants