Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] parallel job fails to execute
- Date: Mon, 19 Feb 2018 09:29:52 -0600
- From: Jason Patton <jpatton@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] parallel job fails to execute
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
On Mon, Feb 19, 2018 at 8:42 AM, Mahmood Naderan <nt_mahmood@xxxxxxxxx> wrote:
> Hi,
> Can someone explain why the following job script fails to execute?
>
> mahmood@rocks7 gau]$ cat sub.ht
> universe = parallel
> executable = g09
> arguments = test.gjf
> getenv = true
> error = err.test.$(NODE)
> output = out.test.$(NODE)
> log = log.test
> machine_count = 4
> queue
> [mahmood@rocks7 gau]$ condor_submit sub.ht
> Submitting job(s)
> ERROR: Executable file g09 does not exist
> [mahmood@rocks7 gau]$ rocks run host compute-0-0 "which g09"
> Warning: untrusted X11 forwarding setup failed: xauth key data not generated
> /usr/local/chem/g09-64-D01/g09
> [mahmood@rocks7 gau]$ rocks run host compute-0-1 "which g09"
> Warning: untrusted X11 forwarding setup failed: xauth key data not generated
> /usr/local/chem/g09-64-D01/g09
> [mahmood@rocks7 gau]$ rocks run host compute-0-2 "which g09"
> Warning: untrusted X11 forwarding setup failed: xauth key data not generated
> /usr/local/chem/g09-64-D01/g09
> [mahmood@rocks7 gau]$ which g09
> /usr/local/chem/g09-64-D01/g09
>
>
> So, that command is available on all nodes and the env variables are
> exported by the condor script.
>
> Regards,
> Mahmood
>
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/