Странная ошибка в приложении PyCOMPSs: скрипт без последнего "y" не найден

Я пытаюсь запустить одно из примеров приложения pyCOMPSs с версией 1.4, и я получаю следующую ошибку, которая говорит о том, что скрипт python без окончательного "y" не может быть найден. Ты хоть представляешь, в чем может быть ошибка?

xxx:~/xxx_xx/python/increment> runcompss --lang=python increment.py 3 1 2 3 
Using default location for project file:

 /opt/COMPSs/Runtime/scripts/user/../../configuration/xml/projects/project.xml
Using default location for resources file: /opt/COMPSs/Runtime/scripts/user/../../configuration/xml/resources/resources.xml

----------------- Executing increment.py --------------------------

WARNING: IT Properties file is null. Setting default values
[(0)    API]  -  Deploying COMPSs Runtime v1.4 (build 20160725-0937.r2315)
[(2)    API]  -  Starting COMPSs Runtime v1.4 (build 20160725-0937.r2315)
Traceback (most recent call last):
  File "/opt/COMPSs/Runtime/scripts/user/../../../Bindings/python/pycompss/runtime/launch.py", line 85, in <module>
    execfile(app_path)    # MAIN EXECUTION
  File "increment.py", line 92, in <module>
    @task(filePath = FILE_INOUT)
  File "/opt/COMPSs/Bindings/python/pycompss/api/task.py", line 117, in __call__
    if "__init__.py" in os.listdir(path):
OSError: [Errno 2] No such file or directory: 'increment.p'

Error running application

1 ответ

Решение

Вы пропустили./ или абсолютный путь перед скриптом Python

runcompss --lang=python ./increment.py 3 1 2 3

или же

runcompss --lang=python /path/to/script/increment.py 3 1 2 3
Другие вопросы по тегам