Issues running MadEvent from script
Hi, my student has an analysis implemented in a series of scripts, one of which calls MadEvent via:
./bin/madevent "${config_path}"
where config_
launch
shower=Pythia8
detector=OFF
analysis=OFF
0
0
This works well on his local PC. However, when running this on Amazon Web Service batch, we get error messages (these are recorded on AWS Cloud Watch, there is no terminal):
import command /Collider/
launch
stty: 'standard input': Inappropriate ioctl for device
The following switches determine which programs are run:
/======
| 1. Choose the shower/
| 2. Choose the detector simulation program [1mdetector[0m = [31mOFF[0m |
| 3. Choose an analysis package (plot/convert) [1manalysis[0m = [01mNot Avail.[0m |
| 4. Decay onshell particles [1m madspin[0m = [31mOFF[0m |
| 5. Add weights to events for new hypp. [1mreweight[0m = [31mOFF[0m |
\======
Either type the switch number (1 to 5) to change its setting,
Set any switch explicitly (e.g. type 'shower=Pythia8' at the prompt)
Type 'help' for the list of all valid option
Type '0', 'auto', 'done' or just press enter when you are done.
The following switches determine which programs are run:
/======
| 1. Choose the shower/
| 2. Choose the detector simulation program [1mdetector[0m = [31mOFF[0m |
| 3. Choose an analysis package (plot/convert) [1manalysis[0m = [01mNot Avail.[0m |
| 4. Decay onshell particles [1m madspin[0m = [31mOFF[0m |
| 5. Add weights to events for new hypp. [1mreweight[0m = [31mOFF[0m |
\======
Either type the switch number (1 to 5) to change its setting,
Set any switch explicitly (e.g. type 'shower=Pythia8' at the prompt)
Type 'help' for the list of all valid option
Type '0', 'auto', 'done' or just press enter when you are done.
[1;34m"OFF" not valid option for "analysis"[0m
[1;31mCommand "import command /Collider/
"launch" with error:
InvalidCmd : can not be mapped to an integer[0m
The following switches determine which programs are run:
/======
| 1. Choose the shower/
| 2. Choose the detector simulation program [1mdetector[0m = [31mOFF[0m |
| 3. Choose an analysis package (plot/convert) [1manalysis[0m = [01mNot Avail.[0m |
| 4. Decay onshell particles [1m madspin[0m = [31mOFF[0m |
| 5. Add weights to events for new hypp. [1mreweight[0m = [31mOFF[0m |
\======
Either type the switch number (1 to 5) to change its setting,
Set any switch explicitly (e.g. type 'shower=Pythia8' at the prompt)
Type 'help' for the list of all valid option
Type '0', 'auto', 'done' or just press enter when you are done.
INFO:
[1;34mcommand not executed: 0[0m
quit
INFO:
launch in debug mode
So, I was wondering if you could provide any insight on what could be going on. The interesting thing is that earlier we run mg5_aMC through a script, and that does work (ie, no stty nor InvalidCmd errors). I am convinced that the "script within script within script" approach of my student is probably having conflicts with the AWS running of MadEvent. Could you please give me an idea of why would such errors normally appear in MadEvent?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: