[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] check for cpu instruction?
- Date: Wed, 16 May 2018 16:33:04 -0500
- From: Greg Thain <gthain@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] check for cpu instruction?
On 05/16/2018 02:00 PM, Michael Di Domenico wrote:
is there a way for condor to check whether a cpu has all the
instructions an executable might need before it runs?
There is no way for condor to do this.Â To do this completely would
require solving the halting problem, which is beyond the scope of our
In practice, though, there are some approaches that may help.Â The
program that tries to execute an instruction which doesn't exist should
get killed with SIGILL (Illegal instruction).Â If this program is the
top-level process in your job (i.e. there is no wrapper script), Condor
will at least see that the program got a SIGILL, and you can
administratively do something about that. (Put the job on hold, retry on
a different machine model number etc.)