JeffersonLab / gluex_MCwrapper

1 stars 4 forks source link

Simulation command fails if BKG not defined #79

Open faustus123 opened 2 years ago

faustus123 commented 2 years ago

I commented out the BKG= line in my mcwrapper config file since I put all of the settings for background in a CUSTOM_GCONTROL file. When I ran mcwrapper interactively, it crashed with a message:

file:/work/halld/CPP/MC/generated/gen_2pi_primakoff/2022.01.16.davidl/gen_2pi_primakoff_071728_000.hddm: Command not found.

The above is defined in my config file for GENERATOR. When I defined BKG in config it ran just fine. It looks like if BKG is not defined mcwrapper gets confused about what is the executable and what is the argument.

eltonssmith commented 2 years ago

Hi Dave,

If I want to run with no background I use BKG=None. Others can comment whether this is necessary but it works for me.

Cheers, Elton

Elton Smith Jefferson Lab MS 12H3 12000 Jefferson Ave STE 4 Newport News, VA 23606 (757)269-7625

On Mar 29, 2022, at 3:35 PM, David Lawrence @.**@.>> wrote:

I commented out the BKG= line in my mcwrapper config file since I put all of the settings for background in a CUSTOM_GCONTROL file. When I ran mcwrapper interactively, it crashed with a message:

file:/work/halld/CPP/MC/generated/gen_2pi_primakoff/2022.01.16.davidl/gen_2pi_primakoff_071728_000.hddm: Command not found.

The above is defined in my config file for GENERATOR. When I defined BKG in config it ran just fine. It looks like if BKG is not defined mcwrapper gets confused about what is the executable and what is the argument.

— Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_gluex-5FMCwrapper_issues_79&d=DwMCaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=c-_tH8evYLC4MjBfbp0hiQ&m=Nb4XqjObmVBU8kEyAJrsW6U1U5Hwb368UhdDpVFB-gVZf5Ns2K-dW_x-bPw8FY0r&s=4mKw7hkOlSUSWY2TUmYxwCckBO3LJU77y7JO8p9B7zc&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADHRVQEBW2RP3SM6E2XMSDLVCNLRVANCNFSM5R7OJC6A&d=DwMCaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=c-_tH8evYLC4MjBfbp0hiQ&m=Nb4XqjObmVBU8kEyAJrsW6U1U5Hwb368UhdDpVFB-gVZf5Ns2K-dW_x-bPw8FY0r&s=50Hqbsp9gZKFXoBnvBJ3Ryn-sFKmJ28wkG2K3eMnKUo&e=. You are receiving this because you are subscribed to this thread.Message ID: @.***>