2016-07-25 1 views
4

버전 1.4의 예제 pyCOMPS 응용 프로그램 중 하나를 실행하려고하는데 다음과 같은 오류가 발생합니다. y "를 찾을 수 없습니다. 오류가 무엇인지 알 수 있습니까?PyCOMPSs 응용 프로그램에서 이상한 오류가 발생했습니다 : 마지막 "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 

답변

4

당신은 파이썬 스크립트 전에 ./ 또는 절대 파테를 그리워 가지고

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

또는

runcompss --lang=python /path/to/script/increment.py 3 1 2 3 
관련 문제