Pergunta

I wanted use GNU parallel on my two computers. I was successful at running parallel on one computer, but I was unable to run parallel on remote computer.

Version: Local: parallel-20140222 , Remote: parallel-20130522. I had enabled password less ssh login.

parallel -j+0 --eta 'muscle -in {} -out {.}.aln -quiet' < list

But When I tried to run on remote computer "parallely" using following commands,

1) time parallel -j+0 --eta -Svaramesh@10.117.173.5,: -transfer, --return {.}.aln --cleanup 'muscle -in {} -out {.}.aln -quiet' < list

2) time parallel -j+0 --eta -S10.117.173.5,: -transfer, --return {.}.aln --cleanup 'muscle -in {} -out {.}.aln -quiet' < list

3) time parallel -j+0 --eta -S :,10.117.10.5 -transfer, --return {.}.aln --cleanup 'muscle -in {} -out {.}.aln -quiet' < list

All of them are giving following error

parallel: Error: Cannot open input file `nsfer,': No such file or directory.
Foi útil?

Solução

Transfer has a double dash and no comma: --transfer

You may want to use the shorthand for --transfer --return --cleanup: --trc {.}.aln

And since you do not have special shell characters, you do not need ' around muscle -in {} -out {.}.aln -quiet.

If you like --eta you might want to try out --bar too.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top