strace
maybe? When you say you can run it from the cli, I’d ask if it’s the same host? The cli from the same server as OOD or some other login host? This could be your discrepancy, there could actually be some networking issue there.
It could also be the environment. OOD defaults to SBATCH_EXPORT=NONE
so you can load a brand new environment. I would say add an env
statement to see if there’s something you’re missing (some LD_LIBRARY_PATH missing?).