Hi Everyone :slightly_smiling_face: I'm running th...
# denovotranscript
i
Hi Everyone šŸ™‚ I'm running this pipeline on a slurm cluster with Singularity and am trying to get set up to use --grid_exec. • If I configure the param for extra trinity args as:
"extra_trinity_args": "--SS_lib_type RF --grid_exec \"sbatch --qos shortq --time 0:29:59 --mem 1GB --cpus-per-task 1\"",
I get the error:
bash: line 1: sbatch: command not found
. • Reading further, I've seen that it's recommended to use HPCGridRunner to distribute the commands in
recursive_trinity.cmds
as jobs. I've tried this approach, but get the error (with paths shortened):
Copy code
*** Dispatching parallel commands to the compute farm:
Friday, January 17, 2025: 16:11:21	CMD: .../hpc_cmds_GridRunner.pl -G .../hpc_conf/SLURM.Monash.conf -c recursive_trinity.cmds
SERVER: m3v117, PID: 24318
FARMIT failed to accept job: sbatch --qos shortq --time 0:29:59 --mem 1GB --cpus-per-task 1 -e .../pooled_reads_trinity/farmit.J24318.m3v117.24318.1737090681/cmds/J24318.S0.sh.stderr -o .../pooled_reads_trinity/farmit.J24318.m3v117.24318.1737090681/cmds/J24318.S0.sh.stdout .../pooled_reads_trinity/farmit.J24318.m3v117.24318.1737090681/cmds/J24318.S0.sh 2>&1 
 (ret -1)
FARMIT failed to accept job.  Will try again shortly.
• I thought that the above attempts fail because Trinity is being run within a Singularity container and so
sbatch
isn't available, but the error message mentioning
FARMIT
comes from HpcGridRunner - not sure how it'd be reached if the execution environment was inside the container. • I've tried running HpcGridRunner separately on
recursive_trinity.cmds
and it worked to distribute jobs - but they all failed because they're configured for the path to Trinity inside the container (duh šŸ¤¦ā€ā™‚ļø). • I came across these threads with Brian's responses seemingly about this issue, but it's not clear to me if his changes have made it to the current version of Trinity v2.15.2. https://github.com/trinityrnaseq/trinityrnaseq/issues/952 and https://groups.google.com/g/trinityrnaseq-users/c/-DnnDYKe0xo/m/Lp6ZUF-QAwAJ Happy to give up on
grid_exec
for now if it's just too much trouble, but would be curious to hear if anybody else has had success (or can see something I've missed!). Thank you! šŸ˜„
a
Apologies, I haven't had a chance to look into this yet. I haven't been using grid_exec. I can try it on my uni's HPC and let you know how I go, but it might be some time before I get to it
i
HI @Avani Bhojwani, thanks for your response. When we get around to troubleshooting, we're thinking to try using a local Trinity installation paired with skipping the singularity container for that stage/process. That way it should execute in an environment that can submit sbatch
šŸ‘šŸ½ 1