Indeed, removing /tmp/openmole and /root/.ivy2 before compiling has done the trick.

Thanks,
Vincent

On 05/06/2016 14:20, Jonathan Passerat-Palmbach wrote:
Could it be that you just did not clean your build when you retrieved the last bunch of commits?

Can you try with the link provided by Mathieu please?

Cheers
J.

On 5 June 2016 06:01:04 GMT-05:00, Mathieu Leclaire <[email protected]> wrote:

    Hi Vincent,
    there is a small bug with ssh, that has been fixed two days ago.
    Downloading the dev version on
    http://next.openmole.org/getting_started.html should fix the bug.
    The final version should be released at the end of June.

    Mathieu
    Le 04/06/2016 21:53, Vincent Hage a écrit :
    Hi everyone,

    I'm having an issue with SSH environments (OpenMOLE works well
    with LocalEnvironment).
    I'm using the latest version of OpenMOLE 6, compiled with the
    GitHub repo source code on June 4th.

    The workflow I'm trying to run is HelloWorld Java:

    val i = Val[Int]
    val o = Val[String]

    val explo = ExplorationTask(i in (0 to 0))

    //Defines the task to perform the hello function
    val javaTask = ScalaTask("val o = hello.Hello.run(i)") set (
      libraries += workDirectory / "Hello.jar",
      inputs += i,
      outputs += o
    )
    o
    val displayHook = ToStringHook(o)

    val env = SSHEnvironment("openmole",
    "cloud-vm-46-33.doc.ic.ac.uk", 4)

    explo -< (javaTask on env hook displayHook)


    When it's run:


    The transfer by SSH (LoginPassword) seems to work (and .openmole
    does exist on the other machine),
    but all the tasks fail (the same task tries ad infinitum).

    I've used "--logging-level FINE" to get more info.
    The only errors that appear are related to creating and removing
    folders,
    and I've been told that these do not really matter.
    See the attached file you want to take a closer look.

    On the distant machine some .err files are created in
    .openmole/.tmp/ssh, containing this error:

     sh: 0: Can't open run.sh
    
/home/openmole/.openmole/.tmp/ssh/openmole-0e206bcc-b02f-45ae-9de1-cb4ef1270a63/tmp/1465066858289/c005a542-4364-44d8-bce4-3b7a260505f3/run_d18d8d23-8b52-4329-8fd0-ca5dadefc164.sh:
    line 1: cd:
    
/home/openmole/.openmole/.tmp/ssh/install/0e206bcc-b02f-45ae-9de1-cb4ef1270a63_install/runtime8249b65c62e4ece4da8629811753fbd137c17df4:
    No such file or directory


    Any idea?

    Thank you,
    Vincent
-- Vincent Hage
    +447 464 793549


    _______________________________________________
    OpenMOLE-users mailing list
    [email protected]
    http://fedex.iscpif.fr/mailman/listinfo/openmole-users


-- Ingénieur de Recherche ISCPIF-CNRS

    Be green, keep it on the screen
    Faites bonne impression et imprimez seulement au besoin!

    ------------------------------------------------------------------------

    OpenMOLE-users mailing list
    [email protected]
    http://fedex.iscpif.fr/mailman/listinfo/openmole-users

-- Jonathan Passerat-Palmbach, PhD Research Associate Department of Computing Imperial College London South Kensington Campus Huxley Building - room 344 180 Queen's Gate London SW7 2AZ

_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users
--
Vincent Hage
+447 464 793549
_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Reply via email to