PyCOMPSs 应用程序中的奇怪错误:未找到没有最后 "y" 的脚本
Strange error in a PyCOMPSs application: Script without last "y" not found
我正在尝试 运行 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
您错过了 ./ 或 python 脚本前的绝对路径
runcompss --lang=python ./increment.py 3 1 2 3
或
runcompss --lang=python /path/to/script/increment.py 3 1 2 3
我正在尝试 运行 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
您错过了 ./ 或 python 脚本前的绝对路径
runcompss --lang=python ./increment.py 3 1 2 3
或
runcompss --lang=python /path/to/script/increment.py 3 1 2 3