A-A-Abdelhamid / LLP_Sleptons_RPV_SUSY

Here you can find MadGraph5 cards, diagrams, logs, plots, and code used in the project
2 stars 1 forks source link

Automation #14

Open A-A-Abdelhamid opened 11 months ago

A-A-Abdelhamid commented 11 months ago

I created a text file to import our model (RPV_SUSY) and launch the process p p > mur- mur+:

import ./RPVMSSM_UFO/RPVMSSM_UFO
define q = g u c d s u~ c~ d~ s~ b t b~ t~ h01 h2 h3 h+ h-
define p = g u c d s u~ c~ d~ s~ b b~
generate p p > mur- mur+ /q
output auto
launch
shower=Pythia8
./param_card.dat

When trying to run ./bin/mg5_aMC filename.txt it starts MadGraph and creates an output, but it does do anything behind "launch"

Screenshot 2023-09-19 at 12 21 55 PM

My understanding is that running MadGraph like this runs the user interface where it expects a command line input, but I am not sure why it does not at least accept "shower=Pythia8" and it literally ignores it, it does not even an error message like it did with the parameter card.

Screenshot 2023-09-19 at 11 23 53 AM

I tried writing a bash script:

#!/bin/bash
./bin/mg5_aMC ./run_01_tag_1_banner.txt
echo -e "1" 

But it is still prompting me to manually choose the shower program and param cards options.

A-A-Abdelhamid commented 11 months ago

I am trying bash script:

#!/bin/bash
./bin/mg5_aMC
import ./RPVMSSM_UFO/RPVMSSM_UFO
define q = g u c d s u~ c~ d~ s~ b t b~ t~ h01 h2 h3 h+ h-
define p = g u c d s u~ c~ d~ s~ b b~
generate p p > mur- mur+ /q
output auto
launch
echo -e "1"
A-A-Abdelhamid commented 11 months ago
import ./RPVMSSM_UFO/RPVMSSM_UFO
define q = g u c d s u~ c~ d~ s~ b t b~ t~ h01 h2 h3 h+ h-
define p = g u c d s u~ c~ d~ s~ b b~
generate p p > mur- mur+ /q
output auto
launch
1

Screenshot 2023-09-21 at 12 49 08 PM

I get the same output when I replace 1 in my last line withshower=on, shower=Pythia8, or

1
shower=Pythia8
A-A-Abdelhamid commented 11 months ago

I ran:

#!/bin/bash
./bin/mg5_aMC auto.txt

the file auto.txt is:

import ./RPVMSSM_UFO/RPVMSSM_UFO
define q = g u c d s u~ c~ d~ s~ b t b~ t~ h01 h2 h3 h+ h-
define p = g u c d s u~ c~ d~ s~ b b~
generate p p > mur- mur+ /q
output auto
launch
shower=ON 

But...

"ON" not valid option for "shower"

A-A-Abdelhamid commented 11 months ago

This might have the solution: https://github.com/A-A-Abdelhamid/DVMuReint/blob/main/RPVMSSM_UFO/example_monophi.md