Sim_telarray executable command ill-formed
Summary
Executable path for sim_telarray
is malformed:
currently it is implemented as <software_install_path>/<stage>
which renders in e.g.
/opt/sim_telarray
while it should be instead /opt/sim_telarray/bin/sim_telarray
Steps to reproduce
run with the mentioned above configuration parameters
What is the expected correct behavior?
the correct executable should be picked up
Relevant logs and/or screenshots
Traceback (most recent call last):
File "/work/venv-python3/bin/sim_runner", line 4, in <module>
main()
File "/work/venv-python3/lib64/python3.6/site-packages/sim_runner/scripts/sim_runner.py", line 339, in main
submit_jobs(config, commands)
File "/work/venv-python3/lib64/python3.6/site-packages/sim_runner/scripts/sim_runner.py", line 261, in submit_jobs
subprocess.Popen(split_command)
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/opt//sim_telarray'
Environment
- Version used: head of master
- Operation System: slc6
as a temporary fix, one can change the software_installation_path
accordingly, but this will require more manual input from the user.
Need to think carefully how to accomplish this in a more graceful way