On some clusters there are issues with remote execution because environment variables are not transferred when running remote commands via ssh.
Export environment variables.