我正在尝试使用版本1.4运行示例pyCOMPSs应用程序之一,并且我收到以下错误,其中表示没有最终" y"的python脚本无法找到。你知道错误是什么吗?
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
答案 0 :(得分:5)
你错过了./或python脚本之前的绝对值
runcompss --lang=python ./increment.py 3 1 2 3
或
runcompss --lang=python /path/to/script/increment.py 3 1 2 3