Re: running interpro at all

Sarah Hunter <[email protected]>
Newsgroups gmane.science.biology.informatics.clusters
Message-ID <[email protected]>
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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.