<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Justin,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Could you send me a tarball of the configs and the log files generated ?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Meanwhile, could you try the configs from the test-suite for the MCS systems ?</div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><a href="https://github.com/swift-lang/swift-k/tree/release-0.95-swift/tests/sites/mcs" target="_blank">https://github.com/swift-lang/swift-k/tree/release-0.95-swift/tests/sites/mcs</a></font><br></div><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif">You would need the sites.template.xml, swift.properties and tc.template.data.</span><br></div><div class="gmail_default"><br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Thanks,</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Yadu</font></div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 30, 2015 at 4:10 PM, Scherer, Justin C. <span dir="ltr"><<a href="mailto:jscherer@anl.gov" target="_blank">jscherer@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have been trying to get the simple hello.swift script to run on a remote host that I have set up with another researcher. I will post my sites.xml, config file, and tc.data files along with this message. After going through all of the steps to get ssh to work, I get the following error  for running it in ssh mode:<br>
<br>
RunID: 20150330-1550-ut0jr8rf<br>
Progress:  time: Mon, 30 Mar 2015 15:50:36 -0500<br>
Execution failed:<br>
        Could not initialize shared directory on remotehost<br>
Caused by:<br>
        org.globus.cog.abstraction.impl.file.FileResourceException: Error while communicating with the SSH server on <a href="http://146.137.66.189:22" target="_blank">146.137.66.189:22</a><br>
Caused by:<br>
        Invalid private key or passphrase<br>
Caused by:<br>
        Can't read key due to cryptography problems: java.security.NoSuchAlgorithmException: Unsupported passphrase algorithm: AES-128-CBC<br>
        greeting, hello.swift, line 9<br>
<br>
I tried both the dsa algorithm and putting in the rsa algorithm for this. Here is my sites.xml for this:<br>
<br>
<config><br>
  <pool handle="remotehost"><br>
    <execution provider="coaster" jobmanager="ssh:local" url="<blanked out for obvious reasons>"/><br>
    <filesystem provider="ssh" url="146.137.66.189"/><br>
    <profile namespace="karajan" key="jobThrottle">0</profile><br>
    <profile namespace="karajan" key="initialScore">10000</profile><br>
    <workdirectory>/home/swift-user/temp</workdirectory><br>
  </pool><br>
</config><br>
<br>
also, here is the tc.data file:<br>
<br>
#This is the transformation catalog.<br>
#<br>
#It comes pre-configured with a number of simple transformations with<br>
#paths that are likely to work on a linux box. However, on some systems,<br>
#the paths to these executables will be different (for example, sometimes<br>
#some of these programs are found in /usr/bin rather than in /bin)<br>
#<br>
#NOTE WELL: fields in this file must be separated by tabs, not spaces; and<br>
#there must be no trailing whitespace at the end of each line.<br>
#<br>
# sitename  transformation  path   INSTALLED  platform  profiles<br>
localhost       echo    /bin/echo       INSTALLED       INTEL32::LINUX  null<br>
localhost       cat     /bin/cat        INSTALLED       INTEL32::LINUX  null<br>
localhost       ls      /bin/ls         INSTALLED       INTEL32::LINUX  null<br>
localhost       grep    /bin/grep       INSTALLED       INTEL32::LINUX  null<br>
localhost       sort    /bin/sort       INSTALLED       INTEL32::LINUX  null<br>
localhost       paste   /bin/paste      INSTALLED       INTEL32::LINUX  null<br>
localhost       cp      /bin/cp         INSTALLED       INTEL32::LINUX  null<br>
localhost       touch   /bin/touch      INSTALLED       INTEL32::LINUX  null<br>
localhost       wc      /usr/bin/wc     INSTALLED       INTEL32::LINUX  null<br>
localhost       sleep   /bin/sleep      null    null    null<br>
remotehost      echo    /bin/echo       INSTALLED       INTEL32::LINUX  null<br>
<br>
and the configuration file is exactly like what is shown in the documentation.<br>
<br>
If I try to do the ssh-cl interface, I get the following error:<br>
<br>
RunID: 20150330-1529-4b3sr1u4<br>
Progress:  time: Mon, 30 Mar 2015 15:29:20 -0500<br>
Execution failed:<br>
        Exception in echo:<br>
    Arguments: [Hello, world!]<br>
    Host: remotehost<br>
    Directory: hello-20150330-1529-4b3sr1u4/jobs/c/echo-c3z4un6m<br>
<br>
Caused by:<br>
        Could not submit job<br>
Caused by:<br>
        Could not start coaster service<br>
Caused by:<br>
        java.lang.NullPointerException<br>
        at org.globus.cog.abstraction.impl.execution.coaster.AutoCA.ensureCACertsExist(AutoCA.java:143)<br>
        at org.globus.cog.abstraction.impl.execution.coaster.AutoCA.createProxy(AutoCA.java:128)<br>
        at org.globus.cog.abstraction.impl.execution.coaster.ServiceManager.setupGSIProxy(ServiceManager.java:238)<br>
        at org.globus.cog.abstraction.impl.execution.coaster.ServiceManager.startService(ServiceManager.java:194)<br>
        at org.globus.cog.abstraction.impl.execution.coaster.ServiceManager.reserveService(ServiceManager.java:132)<br>
        at org.globus.cog.abstraction.impl.execution.coaster.ServiceManager.reserveService(ServiceManager.java:151)<br>
        at org.globus.cog.abstraction.impl.execution.coaster.JobSubmissionTaskHandler.getChannel(JobSubmissionTaskHandler.java:119)<br>
        at org.globus.cog.abstraction.impl.execution.coaster.JobSubmissionTaskHandler.submit(JobSubmissionTaskHandler.java:105)<br>
        at org.globus.cog.abstraction.impl.common.AbstractTaskHandler.submit(AbstractTaskHandler.java:45)<br>
        at org.globus.cog.karajan.scheduler.submitQueue.NonBlockingSubmit.run(NonBlockingSubmit.java:97)<br>
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)<br>
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)<br>
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
        at java.lang.Thread.run(Thread.java:745)<br>
<br>
        greeting, hello.swift, line 9<br>
<br>
There is no shared folder, so I have to use scheduling.<br>
<br>
I am using Swift version 0.94.1 from the main website. Any help is appreciated. Thank you!<br>
<br>
Justin Scherer<br>
_______________________________________________<br>
Swift-user mailing list<br>
<a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Yadu Nand B<div><br></div></div></div>
</div>