Replies: 2 comments 2 replies
-
The test opens multiple channels without closing I think so it fails. During the actual operation of AiiDA there should be only one connection is used per daemon worker so you might be fine. However, it won't work if you also login from you computer via SSH. The normal ssh works fine probably because you have enabled the control master and hence extra connections will use multiplexing I think. Unfortunately the underlying python ssh library does not currently support control masterl like your system ssh. Things to try:
|
Beta Was this translation helpful? Give feedback.
-
Just one more thought: it's of course possible in principle to install AiiDA in user space on the cluster as well (e.g. you can get postgresql and rabbitmq via From the cluster admin perspective I think in the medium term they should decide whether they allow access for workflow management tools like AiiDA from outside the cluster or allow running them inside; but one of the two options should be supported. |
Beta Was this translation helpful? Give feedback.
-
I am unable to create a working AiiDA computer for our cluster. The following error message is shown
I have been trying to get this to work for quite some time. First by varying every combination of conceivable AiiDA Flags for
verdi computer configure core.ssh vsc4
and by looking into the source code. Then, through a blog post online I found out that this type of error occurs when a particular sshd configuration flag on the server (cluster) is set.Now, I want to mention that I am not familiar with ssh server administration so excuse me if I get some things wrong. Specifically, when
MaxSessions 1
in/etc/sshd_config
, only one ssh channel can be opened simultaneously. AiiDA labels the first channel with number0
, that's why* Opening connection... [OK]
works, and every other test fails. Curiously I never ran into issues like this when I open multiple terminals with ssh connections to the cluster.I contacted the cluster admins concerning this and they confirmed that they have set
MaxSessions 1
for security reasons, i.e. they are not going to change this flag.The last thing I tried was
verdi config set transport.task_maximum_attempts
both1
and10
but to no avail.I would greatly appreciate any help or advice you could offer. On that note, I would like to thank Jusong Yu and Marnik Bercx for previous discussions.
Beta Was this translation helpful? Give feedback.
All reactions