GambitBSM / gambit_2.1

GAMBIT: The Global and Modular Beyond-the-Standard-Model Inference Tool
https://gambit.hepforge.org
2 stars 3 forks source link

Gum error #1

Open github-arpita opened 2 years ago

github-arpita commented 2 years ago

We are trying to use GAMBIT for our project work. In Particular, we are trying to work with the model "MSSM-RpV-Bi" using "SARAH" and "SPheno". We already ran that model in "SARAH" standalone and it worked fine at that time. We had to make two changes to improve precision since the neutralino and chargino matrices now consist of very light and likely very heavy particles together. These changes are mentioned below:

1) In SARAH model filder we edited the SPheno.m file to add the following command

   QuadruplePrecision = {Chi, Cha};     2) In the SPheno folder, we also edited the 'Makefile' inside the 'src' folder. The second line in this makefile reads

   #PreDef = -DGENERATIONMIXING  -DONLYDOUBLE

   We Changed this to

   #PreDef = -DGENERATIONMIXING      So within GAMBIT we also made these changes and tried to run the ".gum" file in gum but it is showing errors. First when we tried to run using the SARAH model file with the above mentioned changes we got an error like "No electric charge defined for particle 'Cha'". Then we added the electric charges for chargino and neutralino in the "particles.m" file of the model "MSSM-RpV-Bi" in the SARAH model folder. After that we are getting two different errors in different systems. In one system the error reads like "src.setup.GumError: SARAH Error: std::exception" and in another system it is showing some "segmentation fault" error. We are using Linux operating system Ubuntu. I wanted to attach screenshots of the terminal for these error messages along with the ".gum" file and "MSSM-RpV-Bi" model folder from "SARAH". But I don't know why I couldn't attach all other files except the error screenshots. If there is any other way to send other files also kindly inform me about that.    We are absolutely new to this package. If we can get any help from you regarding this issue it will be really appreciated. gum_error1 gum_error2

patscott commented 2 years ago

Hi Arpita - it looks like a SARAH error, probably caused by bugs in your SARAH file. Please double-check that your corrected file runs OK in SARAH standalone, in particular the same version as you are using from GUM. If you could also attach your SARAH and GUM files we might be able to help spot the problem (no promises though!)

Tagging @tegonzalo @ChrisJChang as they might be able to help spot the problem.

pathron commented 2 years ago

Did you try running the original SARAH model in GAMBIT before making your changes to the SARAH files? Then we know if its related to your changes or not. I would just add that running SARAH's CheckModel[] (and reporting that output here) may also be useful in addition to just testing it runs in SARAH/SPheno as it can provide additional information on potential issues.

github-arpita commented 2 years ago

Hello Scott, Thank you for helping me. We again ran this model using that particular version which is in GUM and we found that it works absolutely fine. We took the output file of this model from SARAH and ran this in SPheno (using the same version which is in GUM) and we got the mass spectrum also without any problem. I am attaching the file named "sarah_run.pdf" where you can find that the model worked fine in SARAH standalone(with the same version in GUM). I am also attaching SARAH and GUM file. gum_issue.zip

github-arpita commented 2 years ago

Hi Peter Thanks for your help. We tried to run original SARAH model in GUM without any change and it shows same error for both cases without change and with change also. First it shows the error like " no electric charge defined for particle Cha, update your SARAH file" for both the cases. The file "gum_error1.png" contains this error message. Then we added electric charge for both the particles "Chi" and "Cha". After that it shows error like this "src.setup.GumError: SARAH Error: std::exception" for both cases. You can find this error message in the "gum_error2.png" file. I have also attached SARAH's CheckModel[] file. I have attached all the needed files to the above comment. You can find there.

patscott commented 2 years ago

It looks like there are quite a lot of errors when running SARAH's CheckModel[]. I'd suggest fixing those first.

github-arpita commented 2 years ago

check_model_with_electric_charge.pdf Here is the corrected CheckModel[] file of SARAH.

patscott commented 2 years ago

Hi Arpita -- looking at your output of CheckModel[], all I can really suggest is a) trying to address those two warnings about missing allowed terms in the Lagrangian and mixing of fields b) digging into SARAH itself to try to find out where it crashes, and what it reports as the reason for this.

tegonzalo commented 2 years ago

Hello Arpita. After some time I have managed to make a few changes to gum so that it works with your model. There were a few things that were not covered by the previous version. There will be a released version soon that includes these changes, but for now here is a patch you can apply to this version to include the fixes

https://www.dropbox.com/s/is2rkehwvp1p35x/0001-Updates-to-gum-to-work-with-the-MSSM_RpV_Bi-model.patch?dl=0

Let me know if this works now for you. I'll keep the issue open until I hear from you.

github-arpita commented 2 years ago

Hello Tomas, gum.zip

Thank you for your reply. I made all the changes you mentioned in the patch. But after running gum I got the same error that I got before making changes. First it shows an error like "no electric charge defined for particle "cha'' and after adding the electric charge in the "particles.m" file it shows "src.setup.GumError: SARAH Error: std::exception". I am attaching the two error files and from my previous comment you can find the previous error. I think they both are the same. I am also attaching all the changed files. If you can do something further than these changes to successfully run my model that will be great help for me. One more thing I want to know is when the new version will be released.

tegonzalo commented 2 years ago

The problem does seem to be the same one, but that is already fixed with the patch. Did you compile gum after the changes? First make sure you have the updated code, e.g. line 1192 in gum/src/sarah.cpp should read

        command = "ToString/@ParametersToSolveTadpoles";

then in the build directory for gum just do make, which will create the updated library. After that you can run gum as normal and it should work fine.

github-arpita commented 2 years ago

Hi Tomas, gambit_error.zip

Thank you for your great effort. I made some mistakes before. Sorry for that. This time gum has run successfully. After the run, gum gives some command to follow. When I am running the command "make sarah-spheno_MSSM_RpV_Bi" in gambit then it shows some error. I am attaching the file. If you can help in this it will be great.