Hello all, Graham, thank you for your advice and those examples. It really makes sense to get rid of ssh dependency for a whole package, since it could be used on the same host.
Andreas, I removed ssh from dependencies and added mention by Graham line to the run-unit-test. Regards, Nadiya On Thu, Jul 27, 2017 at 11:46 PM, Graham Inggs <gin...@debian.org> wrote: > Hi Nadiya > > On 28 July 2017 at 05:35, Nadiya Sitdykova <rovensk...@gmail.com> wrote: > > ------------------------------------------------------------ > -------------- > > The value of the MCA parameter "plm_rsh_agent" was set to a path > > that could not be found: > > > > plm_rsh_agent: ssh : rsh > > > > Please either unset the parameter, or check that the path is correct > > ------------------------------------------------------------ > -------------- > > > > So I also added ssh to dependencies and in fixed the problem. > > I recall this seeing this message in other packages in debian-science > and debichem. An alternate solution would be to add the following > line near the beginning of debian/tests/run-unit-test: > > export OMPI_MCA_plm_rsh_agent=/bin/false > > I believe that ssh is only required when MPI processes execute on > different hosts. It should not be required when the MPI processes all > execute on the same host, like a buildd or a CI tester. > > codesearch.debian.net has many examples: > https://codesearch.debian.net/search?q=path%3Adebian%2F*+ > OMPI_MCA_plm_rsh_agent > and more specifically for autopkgtests: > https://codesearch.debian.net/search?q=path%3Adebian% > 2Ftests%2F*+OMPI_MCA_plm_rsh_agent > > Regards > Graham >