As the next consideration, know that some Windows programs do not run properly because they are dynamically linked, and they cannot find the .dll files that they depend on. HTCondor sets the PATH to be empty whenrunning a job. To avoid these difficulties, do one of the following
- statically link the application
- wrap the job in a script that sets up the environment
submit the job from a correctly-set environment with the command
getenv = true
in the submit description file. This will copy your environment into the job's environment.
Finally, send the required .dll files along with the job using the submit description file command transfer_input_files.