2016-07-25 32 views
4

Ich versuche, eine der Beispiel pyCOMPSs-Anwendung mit Version 1.4 auszuführen, und ich bekomme den folgenden Fehler, der besagt, dass das Python-Skript ohne das Finale " y "kann nicht gefunden werden. Hast du eine Idee was der Fehler sein könnte?Seltsame Fehler in einer PyCOMPSs-Anwendung: Skript ohne letzte "y" nicht gefunden

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 

Antwort

4

Sie haben die ./ verpassen oder die absolute pathe vor dem Python-Skript

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

oder

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