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

Re: [HTCondor-users] Abaqus + JobWrapper: Unable to kill job via condor_rm

Hi Felix,

this is partly a UNIX 'problem' by using exec you replace the previous bash process, exec will never come back but replace the actual process that called it, hence traps you send to the previous process will not be handled/forwarded either. 

I don't see the necessity for your 2-lin bash script, should not something like: 

executable = /opt/Abaqus/Commands/abq2017
arguments= job=sim01_NI1100 input=sim01_NI1100.inp user=umat.f inter

Be more straight forward ? 

If you want to stick to your script do something like: 

sh /opt/Abaqus/Commands/abq2017 "$@"

or maybe:

cd /opt/Abaqus/Commands
./abq2017 "$@"

Both of these ways of execution should be able forward the kill trap .... 


Christoph Beyer
DESY Hamburg

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

mail: christoph.beyer@xxxxxxx

----- UrsprÃngliche Mail -----
Von: "felix koelzow" <felix.koelzow@xxxxxx>
An: "htcondor-users" <htcondor-users@xxxxxxxxxxx>
Gesendet: Freitag, 22. Januar 2021 09:53:38
Betreff: [HTCondor-users] Abaqus + JobWrapper: Unable to kill job via	condor_rm

Dear List,

I am almost new to htcondor, and I am struggling actually combining
condor with abaqus.

Just for reference:

I was able to submit the job via a submit machine, and the job is
running fine on the execute machine as intended.

I decided to remove the job via condor_rm jobid and indeed, the job is
removed as can be seen in condor_q.
Nevertheless, the job is still running on the execute machine. Maybe
there is something that I am doing wrong
and someone is able to help me.

Many thanks for considering my request.



cat runAbaqus.sh
exec /opt/Abaqus/Commands/abq2017 "$@"


cat condor_submit.sub
# Example 1 - Abaqus
# Simple HTCondor submit description file

universe = vanilla
executable = runAbaqus.sh
arguments= job=sim01_NI1100 input=sim01_NI1100.inp user=umat.f inter

outputÂÂÂÂÂÂ = outputfile
errorÂÂÂÂÂÂÂ = errorfile
logÂÂÂÂÂÂÂÂÂ = abq2017.log
getenv = True
concurrency_limits = abaqus_tokens:5

should_transfer_files = no


HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: