[Bioclusters] Re: running interpro at all
Sarah Hunter
hunter at ebi.ac.uk
Tue Sep 5 11:51:37 EDT 2006
Hi Michael,
Thanks for this. I will add it to the next release of InterProScan, due later this month.
Best regards,
Sarah
Michael James wrote:
> Before tackling interpro over sge6 I tried a single host install.
>
> When interpro sets itself up it creates a file in conf/localenv.sh
> When a job is submitted this becomes <jobname>.dsub
>
> It tries unsuccessfully to use a local command instead of rsh
> when we would be rsh-ing back the the same host.
> To fix this bug and some limitations, change the file to:
>
>
> #!/bin/sh
> rhost=[%host.exec]
> ihost=`hostname`
> echo "[%toolexitcode]"
>
> case $rhost in
> ''|localhost|$ihost*)
> [%cmd] ;;
> *)
> rsh $rhost "[%cmd]";;
> esac
> exit 0
>
>
> Explanation:
> Without a dollars sign on "ihost" it will always use rsh.
> If you make the test string case $rhost in ''|localhost|$ihost*)
> it allows host.exec to be empty or localhost.
> This allows a non-host-specific install,
> so you can just duplicate it across your cluster
> without having to run the install separately for each node.
>
> michaelj
>
More information about the Bioclusters
mailing list