ERROR during the compilation of LR models

Question how to implement a model or how to change a model implementation
restrepo
Posts: 17
Joined: 15. Jun 2016, 19:55

ERROR during the compilation of LR models

Post by restrepo » 7. Sep 2016, 18:55

Dear Florian,
When I try to compile the SPheno dir of the model in SARAH-4.9.1:

LRmodels/tripletLR

I got, after using

./butler LRmodels/tripletLR

the error:

Code: Select all

Error: Symbol 'hyperchargecoupling' at (1) has no IMPLICIT type
The same procedure works and generate the proper compiled binary when using SARAH-4.8.6. The problem also in SARAH-4.9.0.

After checking the CHANGELOG of SARAH-4.9.0, I try to move the lines in SPheno.m of the model:

Code: Select all

{g3, g3SM},
  {g2, g2SM},
  {gR, g2},
  {gBL, (g1SM*gR)/Sqrt[-g1SM^2 + gR^2]},
  {v1, vSM*Cos[ArcTan[TanBeta]]},
  {v2, vSM*Sin[ArcTan[TanBeta]]},
  {vR, vRinput}


from

Code: Select all

BoundaryLowScaleInput
to a new

Code: Select all

DEFINITION[MatchingConditions]
but the same error appears.

Thanks in advance.

Diego

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

Re: ERROR during the compilation of LR models

Post by FStaub » 11. Sep 2016, 11:26

Dear Diego,

sorry for the delayed reply, but I'm on vacation right now and I also don't have any Mathematica here. So, I can't check what goes wrong. Could you grep the Fortran files to see where 'hyperchargecoupling' shows up? Maybe, that gives me an idea what the origin of the problem is.

Cheers,
Florian

restrepo
Posts: 17
Joined: 15. Jun 2016, 19:55

Re: ERROR during the compilation of LR models

Post by restrepo » 14. Sep 2016, 12:12

Dear Florian,
Here is the output of grep in SPHENO/tripletLR:

Code: Select all

grep -R hyperchargeCoupling *
LoopMasses_tripletLR.f90:vev2=4._dp*Real(mZ2+dmz2,dp)/(hyperchargeCoupling**2+g2**2) -0 
Sorry for the delay, i am now in a conference at CERN.

Best regards,
Diego

restrepo
Posts: 17
Joined: 15. Jun 2016, 19:55

Re: ERROR during the compilation of LR models

Post by restrepo » 14. Sep 2016, 15:40

More context:

Code: Select all

grep -R  -A2 -B2 hyperchargeCoupling LoopMasses_tripletLR.f90
& cplcVWRmVWRmVZVZ1,cplcVWRmVWRmVZVZ2,cplcVWRmVWRmVZVZ3,kont,dmZ2)

vev2=4._dp*Real(mZ2+dmz2,dp)/(hyperchargeCoupling**2+g2**2) -0 
vSM=sqrt(vev2) 
Call SolveTadpoleEquations(gBL,g2,gR,g3,RHO2,RHO1,ALP1,LAM1,ALP3,ALP2,LAM4,

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

Re: ERROR during the compilation of LR models

Post by FStaub » 15. Sep 2016, 19:45

Hi,

that's a bad timing that I'm not at CERN when you are there...

Concerning your problem: the fastest fix is when you put instead of hyperchargeCoupling the expression of the other gauge couplings which combine to g_Y. I need to check why this is not done by SARAH automatically, but I'm still without a running Mathematica.

restrepo
Posts: 17
Joined: 15. Jun 2016, 19:55

Re: ERROR during the compilation of LR models

Post by restrepo » 19. Sep 2016, 19:31

Dear Florian,

About the timing: in fact, I figured out that you was not around.

I have implemented the manual fix and now the compilation is OK. Please let me know when the official fix will be available.

Best regards,
Diego

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

Re: ERROR during the compilation of LR models

Post by FStaub » 23. Sep 2016, 14:29

Dear Diego,

I'm a bit confused, because I can't reproduce the problem:
in fact, this line shouldn't show up at all in the SPheno output if

Code: Select all

OnlyLowEnergySPheno = True;
is set in SPheno.m. And that seems to be the case, or?

Cheers,
Florian

restrepo
Posts: 17
Joined: 15. Jun 2016, 19:55

Re: ERROR during the compilation of LR models

Post by restrepo » 27. Sep 2016, 15:10

Dear Florian,

Yes, I am using the out of the box version.

May be, could be an issue with my distribution (Debian)
or compiler (gfrotran) or Mathematica version (9.0)?

In the following I will describe in detail my steps
by using directly the last public version of SARAH and SPheno tarballs:

Code: Select all

$ wget http://www.hepforge.org/archive/sarah/SARAH-4.9.1.tar.gz
$ tar -zxvf SARAH-4.9.1.tar.gz 
$ cd SARAH-4.9.1/Models/LRmodels/tripletLR
The OnlyLowEnergySPheno is already True

Code: Select all

$ grep -i only SPheno.m
OnlyLowEnergySPheno = True;
The generation of SPheno files goes smoothly:

Code: Select all

math << EOI || die
      <<"../../../SARAH.m"
      Start["LRmodels/tripletLR"];
      MakeSPheno[];
EOI
I now go into the SPheno compilation steps:

Code: Select all

cd ../../../../
wget http://www.hepforge.org/archive/spheno/SPheno-3.3.8.tar.gz
tar -zxvf SPheno-3.3.8.tar.gz
cd SPheno-3.3.8  
mkdir tripletLR
cp -a ../SARAH-4.9.1/Output/LRmodels-tripletLR/EWSB/SPheno/* tripletLR 
make Model=tripletLR 
and then, my compilation fails with:

Code: Select all

...
fortran -c -g -ffree-line-length-none -J../include -I../include   LoopMasses_tripletLR.f90 
LoopMasses_tripletLR.f90:245.49:

vev2=4._dp*Real(mZ2+dmz2,dp)/(hyperchargeCoupling**2+g2**2) -0 
                                                 1
Error: Symbol 'hyperchargecoupling' at (1) has no IMPLICIT type
Makefile:83: recipe for target '../lib/libSPhenotripletLR.a(LoopMasses_tripletLR.o)' failed
make[2]: *** [../lib/libSPhenotripletLR.a(LoopMasses_tripletLR.o)] Error 1
...
Cheers,
Diego

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

Re: ERROR during the compilation of LR models

Post by FStaub » 29. Sep 2016, 12:47

Hi,

here is a patch that should solve the problem.

Cheers,
Florian
Attachments
SPhenoLoopMasses.m
(164.62 KiB) Downloaded 177 times

restrepo
Posts: 17
Joined: 15. Jun 2016, 19:55

Re: ERROR during the compilation of LR models

Post by restrepo » 30. Sep 2016, 14:41

Dear Florian,
Thank you very much!

Nice talk in Madrid by the way.

Cheers,
Diego

Post Reply