JeffersonLab / gluex_MCwrapper

1 stars 4 forks source link

Need ability to set additional HTCondor options for local clusters #36

Closed sdobbs closed 4 years ago

sdobbs commented 4 years ago

Hi, my local cluster requires the following line in the submission script to that priorities, etc. are properly handled:

+AccountingGroup = "group_local"

It would be good to have an option in the MCWrapper config file to set this configuration.

T-Britton commented 4 years ago

can you try the following after pulling the DEV branch:

just include CONDOR_MAGIC=AccountingGroup:"group_local" and run

see what happens and let me know ;)

CONDOR_MAGIC can be used multiple times and should automagically prepend the '+' and change the first ':' to '=' for every "magic" entry

sdobbs commented 4 years ago

OK, I'm testing this out. BTW, it would be better if one could do something like this:

CONDOR_MAGIC="AccountingGroup=\"group_local\""

sdobbs commented 4 years ago

uh oh, markdown is too smart!

CONDOR_MAGIC="AccountingGroup=\"group_local\""
T-Britton commented 4 years ago

This is working for now though right?

sdobbs commented 4 years ago

well, this solution works, but ended up looking into this more, and apparently recent versions of condor have deprecated this JobAd modification for the more reasonable accounting_group = group_local So, it would be good if the CONDOR_MAGIC didn't automagically prepend the plus sign and left that up to the user

T-Britton commented 4 years ago

Trivially done...tomorrow 😀

Thomas Britton

On Sep 23, 2020, at 5:18 PM, Sean Dobbs notifications@github.com wrote:



well, this solution works, but ended up looking into this more, and apparently recent versions of condor have deprecated this JobAd modification for the more reasonable accounting_group = group_local So, it would be good if the CONDOR_MAGIC didn't automagically prepend the plus sign and left that up to the user

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_gluex-5FMCwrapper_issues_36-23issuecomment-2D697978173&d=DwMCaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ccFffx721N71hPpKcJGvJIqY9RM4gBTuzp9ir7rze5Q&m=XNHAtmgUsz1dQaOBPiZ-NQ03uCGCmi1YZ8bynM05Bxo&s=7ZtrFpkjxZSeBOCOb0k5DLyb7yJRk3BoSCrCu1MK6h4&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AFRO2BGXG44VZ4TYZHSSZITSHJQ3NANCNFSM4RV6L36Q&d=DwMCaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ccFffx721N71hPpKcJGvJIqY9RM4gBTuzp9ir7rze5Q&m=XNHAtmgUsz1dQaOBPiZ-NQ03uCGCmi1YZ8bynM05Bxo&s=2RcB2PfZUKdlDH1MK7C2BaPAXfekejowclgKvrHQ9KY&e=.

T-Britton commented 4 years ago

okay no more prepended and no awkward ':'->'='. This means that you can stack CONDOR_MAGIC to add custom lines

such as: CONDOR_MAGIC=+accounting_group=group_local will add the line +accounting_group=group_local to the submit file