madDM example fails w/MG5_aMC_v2_3_0

Bug #1479720 reported by John Alison
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadDM
Fix Released
Undecided
Unassigned

Bug Description

Hello,

  Im trying to follow the basic maddm example using:

MG5_aMC_v2.3.0
maddm_v2.0.2_beta (also tried maddm_v2.0.3_beta)

I then run:
MG5_aMC_v2_3_0 > cd maddm_v2.0
Enter model name (press Enter to list the available models): rsxSM
Enter project name (rsxSM):
Calculate relic density? [y] (y/n)y
Calculate direct detection cross sections? [y] (y/n)n

Enter DM candidate (press Enter to automatically find the DM candidate):
 (Enter 'particles' to see a list of particles)
 *** Exclude particles via the standard MG "/" notation
x1

I then run without coannihilating particles and without editing the default param_card or the maddm_card.inc

and I see:

cd Source/DHELAS/ && make
make[1]: Entering directory `/share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/Projects/rsxSM_x1/Source/DHELAS'
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o aloha_functions.o aloha_functions.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o SSS1_0.o SSS1_0.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o SSS1_3.o SSS1_3.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o SSS1_1.o SSS1_1.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o VVS1_0.o VVS1_0.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o FFS1_0.o FFS1_0.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o SSSS1_0.o SSSS1_0.f
ar cru ../../lib/libdhelas.a aloha_functions.o SSS1_0.o SSS1_3.o SSS1_1.o VVS1_0.o FFS1_0.o SSSS1_0.o
ranlib ../../lib/libdhelas.a
make[1]: Leaving directory `/share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/Projects/rsxSM_x1/Source/DHELAS'
cd Source/MODEL/ && make
make[1]: Entering directory `/share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/Projects/rsxSM_x1/Source/MODEL'
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o couplings.o couplings.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o lha_read.o lha_read.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o printout.o printout.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o model_functions.o model_functions.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o couplings1.o couplings1.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o couplings2.o couplings2.f
ar cru ../../lib/libmodel.a couplings.o lha_read.o printout.o rw_para.o model_functions.o couplings1.o couplings2.o
ranlib ../../lib/libmodel.a
make[1]: Leaving directory `/share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/Projects/rsxSM_x1/Source/MODEL'
cd matrix_elements/ && make
make[1]: Entering directory `/share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/Projects/rsxSM_x1/matrix_elements'
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -I../include smatrix.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -I../include matrix_x1x1_ttx.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -I../include matrix_x1x1_bbx.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -I../include matrix_x1x1_zz.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -I../include matrix_x1x1_wpwm.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -I../include matrix_x1x1_hh.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -I../include matrix_x1x1_tamtap.f
ar r libmatrix_elements.a smatrix.o matrix_x1x1_ttx.o matrix_x1x1_bbx.o matrix_x1x1_zz.o matrix_x1x1_wpwm.o matrix_x1x1_hh.o matrix_x1x1_tamtap.o
ar: creating libmatrix_elements.a
make[1]: Leaving directory `/share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/Projects/rsxSM_x1/matrix_elements'
mv matrix_elements/libmatrix_elements.a lib/
ranlib lib/libmatrix_elements.a
cd src/ && make relic_density
make[1]: Entering directory `/share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/Projects/rsxSM_x1/src'
rm -f *.o
rm -f ../maddm.x
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include init.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include integrate.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include interpolate.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include maddm.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include phasespace.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include relic_canon.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include relic_coupled.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include relic_density.f
gfortran -c -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include tests.f
gfortran -O -fno-align-commons -ffixed-line-length-132 -L../lib/ -I../include init.o integrate.o interpolate.o maddm.o phasespace.o relic_canon.o relic_coupled.o relic_density.o tests.o -lmatrix_elements -ldhelas -lmodel -o maddm.x
tests.o: In function `lux_exclusion_':
tests.f:(.text+0x4cb): undefined reference to `directional_detection_'
tests.o: In function `form_testmass_':
tests.f:(.text+0x8bc): undefined reference to `fwsmass_'
tests.f:(.text+0x8d6): undefined reference to `formsdmass_'
tests.f:(.text+0xb00): undefined reference to `fwsmass_'
tests.f:(.text+0xb1f): undefined reference to `formsdmass_'
tests.o: In function `form_test_':
tests.f:(.text+0x10e9): undefined reference to `fhelm_'
tests.f:(.text+0x1105): undefined reference to `formsd_'
tests.f:(.text+0x133e): undefined reference to `fhelm_'
tests.f:(.text+0x135f): undefined reference to `formsd_'
tests.o: In function `v_e_test_':
tests.f:(.text+0x187c): undefined reference to `v_e_'
tests.f:(.text+0x1b35): undefined reference to `v_e_'
tests.o: In function `d2rdedcos_test_':
tests.f:(.text+0x1db7): undefined reference to `v_e_'
tests.f:(.text+0x1df5): undefined reference to `d2rdedcostheta_'
collect2: ld returned 1 exit status
make[1]: *** [relic_density] Error 1
make[1]: Leaving directory `/share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/Projects/rsxSM_x1/src'
make: [relic_density] Error 2 (ignored)
mv src/maddm.x .
mv: cannot stat `src/maddm.x': No such file or directory
make: [relic_density] Error 1 (ignored)
Finished!

 Done!
Diagnostics:
rsxSM_x1
Projects/rsxSM_x1/Cards/param_card.dat
Projects/rsxSM_x1
/bin/sh: /share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/Projects/rsxSM_x1/maddm.x: No such file or directory
------ Calculating Dark matter observables ------
Traceback (most recent call last):
  File "maddm.py", line 46, in <module>
    sigmaN_SD_proton, sigmaN_SD_neutron, Nevents, sm_switch] = dm.Calculate()
  File "/share/home/johnda/DarkMatter/MG5_aMC_v2_3_0/maddm_v2.0/darkmatter.py", line 2132, in Calculate
    result = open(self._projectpath+'/'+output_file, 'r')
IOError: [Errno 2] No such file or directory: 'Projects/rsxSM_x1/output/maddm.out'

Is there some other libraries that im missing ?

many thanks

john

Revision history for this message
John Alison (johnda102) wrote :

Hello,

  Ive played around a bit more and it seems like the compile was failing. I managed to trace this down to the fact that the MDL_MU variables were not being defined b/c the model takes the light quark masses as 'ZERO'. When I add masses for the light quarks to the model by hand I can successfully run the relic density calculation.

However when I try to calculate the direct detection cross sections
 (eg: using dm.GenerateDiagramsDirDetect())

I see:

"Adding effective vertices from folder REAL to the model file...

model /Users/johnda/AtlasWork/MG5_aMC_v2.3.0/MG5_aMC_v2_3_0/maddm_v2.0/EffOperators/REAL
~sdm
model /Users/johnda/AtlasWork/MG5_aMC_v2.3.0/MG5_aMC_v2_3_0/maddm_v2.0/EffOperators/REAL ~sdm=X1 --recreate
ERROR: Failed to add the effective vertices! Try to add the effective vertices to your model in MadGraph as a check."

I'm assuming this is b/c I incorrectly hacked in the light quark masses.
Do I need to have masses for light quarks in my model ? or is there another solution to the problem Im seeing ?

john

Changed in maddm:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.