Submit mesh_converter to CERN batch service

Dear developers and users,

could someone help me in understanding how to submit a mesh_converter job to the batch service? In particular, I made some attempts, but I was not successful in understanding what to include in the .sub file tu submit to the HTCondor batch service from lxplus. What I’d like to submit is as simple a command as ./mesh_converter -f file_prefix

Thanks for your support,
Kind regards,

Lorenzo de Cilladi

Hi,

on LXPLUS’s HTCondor, you can e.g. do this:

condor_submit executable=mesh_converter arguments="-f file_prefix" htcondor.sub

with htcondor.sub as:

# redirect logging and error output:
output                  = apsq.$(ClusterId).$(ProcId).out
error                   = apsq.$(ClusterId).$(ProcId).err
log                     = apsq.$(ClusterId).log

# set up file transfer back to this folder
should_transfer_files   = YES
when_to_transfer_output = ON_EXIT_OR_EVICT

# ship environment variables
getenv                  = True

# queue the job
+JobFlavour = "nextweek"
queue

Adjust parameters as you need/like. Documentation for HTCondor is here: https://research.cs.wisc.edu/htcondor/manual/v7.6/7_3Running_Condor.html#SECTION00839000000000000000

Cheers,
Simon

Dear @simonspa,

thanks a lot for your help.

Cheers,
Lorenzo