hmmpgmd-shard
Quick Start
- Command:
hmmpgmd_shard [options] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/hmmpgmd_shard - Full reference: See
references/help.mdfor the current startup failure; daemon behavior below is grounded in the local man page
When To Use This Tool
- Use
hmmpgmd_shardwhenhmmpgmdwould waste too much RAM by loading the full protein sequence database into every worker. - This sharded variant divides protein sequence databases across worker nodes while keeping HMM databases unsharded.
- Reach for it when you already want an
hmmpgmdmaster-worker deployment but need predictable RAM savings on very large sequence databases.
Common Patterns
# Start a sharded master that expects 4 worker shards
hmmpgmd_shard --master --num_shards 4 --seqdb seqdb.hmmpgmd --hmmdb models.hmm
# Start a worker that connects to the sharded master
hmmpgmd_shard --worker 10.0.0.5 --seqdb seqdb.hmmpgmd --hmmdb models.hmm --cpu 8
Recommended Workflow
- Prepare the same kinds of inputs as
hmmpgmd: hmmpgmd-formatted protein sequence databases and optionally HMM databases. - Decide the exact worker count first, because the master must be started with
--num_shardsequal to that number. - Start the master, then start exactly the required number of workers so each shard has a corresponding worker.
- Submit client jobs only after all required workers are connected.
- Monitor memory and worker registration closely, because sharding only helps if the deployment size matches the shard plan.
Guardrails
- The actual executable name uses an underscore:
hmmpgmd_shard, nothmmpgmd-shard. - The local executable currently fails to start because
libopenblas.so.0is missing, so live-hvalidation is unavailable in this environment. --num_shards <n>is only valid on the master and must equal the number of worker nodes that will connect.- The daemon errors out if more than
num_shardsworkers connect, or if a search is attempted before all required workers are connected. - Only sequence databases are sharded; HMM databases are still loaded in full on every worker.