CalcOmega_with_DDetection.cpp and CalcOmega_with_DDetection_old.cpp files

Questions concerning the interface to CalcHep/CompHep and MicrOmegas
Post Reply
MailQuestion
Posts: 12
Joined: 11. Oct 2016, 09:37

CalcOmega_with_DDetection.cpp and CalcOmega_with_DDetection_old.cpp files

Post by MailQuestion » 5. Oct 2017, 18:32

Hello Florian

Sorry for the question which is probably trivial.

I am interested in relic Density in micrOMEGAs and I have a problem about DirectDetection files. I want to use your MSSM files for relic density calculation in micrOMEGAs To use direct Detection and I type "make main=CalcOmega_with_DDetection.cpp" but I get

Code: Select all

../sources/micromegas.h: In function ‘int main(int, char**)’:
../sources/micromegas.h:350: error: too many arguments to function ‘int nucleonAmplitudes(char*, double*, double*, double*, double*)’
CalcOmega_with_DDetection.cpp:59: error: at this point in file
CalcOmega_with_DDetection.cpp:68: error: ‘FeScLoop’ was not declared in this scope
CalcOmega_with_DDetection.cpp:98: error: ‘FeScLoop’ was not declared in this scope
make: *** [all] Error 1
I got the same error messages also for CalcOmega_with_DDetection_old.ccp. How can I get over this problem and run "CalcOmega_with_DDetection.ccp" or "CalcOmega_with_DDetection_old.ccp" files without errors.

Thanks in advance.

FStaub
Site Admin
Posts: 822
Joined: 13. Apr 2016, 14:05

Re: CalcOmega_with_DDetection.cpp and CalcOmega_with_DDetection_old.cpp files

Post by FStaub » 5. Oct 2017, 18:38

Hi,

at the end, it depends on your micromegas version because the syntax of these commands has changed from time to time. If I remember correctly, the SARAH file is compatible with version 4.2.5.

You can check the main.cpp file delivered with your micromegas version how the syntax for this specific version is and adjust the SARAH generated files accordingly.

Cheers,
Florian

felipeagf
Posts: 33
Joined: 19. Jan 2017, 12:28

Re: CalcOmega_with_DDetection.cpp and CalcOmega_with_DDetection_old.cpp files

Post by felipeagf » 28. Nov 2017, 17:28

Hi Florian

Sometimes when I run the command "make" in micromegas_4.2.5 folder and follow all the usual steps to make it work with a newProject model it cannot read the SLHA files correctly. When I run the command "make main=CalcOmega_with_DDetection_MOv4.2.cpp" in the model directory it shows the error message that I attached here.


This did not happen last times when I followed the same steps using the same CalcOmega_with_DDetection_MOv4.2.cpp script written by SARAH, so maybe some things changed with time. If you have any idea of how to solve this strange problem many thanks. If not, OK no problem and ignore this message.




Cheers
Felipe
Attachments
Screenshot from 2017-11-28 17-17-59.png
Screenshot from 2017-11-28 17-17-59.png (249.59 KiB) Viewed 24371 times

FStaub
Site Admin
Posts: 822
Joined: 13. Apr 2016, 14:05

Re: CalcOmega_with_DDetection.cpp and CalcOmega_with_DDetection_old.cpp files

Post by FStaub » 30. Nov 2017, 09:59

No, I don't have any idea what goes on.

Post Reply