Rank mismatch error

Questions about the interface between SARAH and SPheno as well as the FlavorKit functionality
Post Reply
vandana
Posts: 8
Joined: 30. May 2019, 17:47

Rank mismatch error

Post by vandana » 19. Nov 2019, 11:22

Hi all,

I am trying to implement an extension of the SM that contains only one generation of a new vector-like charged lepton, among other particles. There being no mixing with any other particle, the mass matrix is 1x1. I have declared the rotation matrix and the mass states, as for other particles, in the model files. The model runs smoothly in SARAH and the SPheno input is generated. However, on compiling the model in SPheno, the following error occurs:

TreeLevelMasses_nomura.f90:417:39:

Call CalculateMFEVEffPot(MVL,VEML,VEMR,MFEV,kont)
1
Error: Rank mismatch in argument ‘mfev’ at (1) (rank-1 and scalar)
TreeLevelMasses_nomura.f90:226:33:

Call CalculateMFEV(MVL,VEML,VEMR,MFEV,kont)
1
Error: Rank mismatch in argument ‘mfev’ at (1) (rank-1 and scalar)
Makefile:90: recipe for target '../lib/libSPhenonomura.a(TreeLevelMasses_nomura.o)' failed
make[2]: *** [../lib/libSPhenonomura.a(TreeLevelMasses_nomura.o)] Error 1
make[2]: Leaving directory '/home/vandana/SPheno-4.0.3/nomura'
Makefile:48: recipe for target 'bin/SPhenonomura' failed
make[1]: *** [bin/SPhenonomura] Error 2
make[1]: Leaving directory '/home/vandana/SPheno-4.0.3/nomura'
Makefile:13: recipe for target 'bin/SPheno' failed
make: *** [bin/SPheno] Error 2

What should be done?

Regards,
Vandana

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

Re: Rank mismatch error

Post by FStaub » 15. Jan 2020, 21:20

HI,

Fortran doesn't like Arrays of dimension (1,1), because they are just a scalar at the end. Thus, instead of a rotation matrix, a single phase is sufficient. Check for instance the models with vector-like quarks how to define phases instead of rotation matrices for particles.

Cheers,
Florian

Post Reply