[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] parallel job fails to execute



Thanks for the reply. But the getenv is true and that executable is in the $PATH. More than that, the program uses some variables that are defined in the bashrc. So, I think the full path is not the complete solution for this problem.

Regards,
Mahmood



On Monday, February 19, 2018, 10:31:17 AM EST, Jason Patton <jpatton@xxxxxxxxxxx> wrote:


Unless you specify a full path to an executable, condor will try to
transfer and/or run the executable from the current working directory.

So you can set the full path:

executable = /usr/local/chem/g09-64-D01/g09
transfer_executable = false

Or use /bin/sh -c if that makes more sense:

command_to_run = g09 test.gjf
executable = /bin/sh
transfer_executable = false
arguments = "-c '$(command_to_run)'"

Jason