I am currently trying to compile SPheno for a rather simple non-supersymmetric model (essentially a one-generation version of the scotogenic model), and I am facing the following issue.
Basically, the generation of the SPheno source code seems fine, as I do not get any errors etc. on that side.
However, when compiling the model, I run into this:
where the dots in the middle mean that this list of "no implicite type" errors is rather long.~/Tools/SPheno/4.0.3> make Model=SimpleLFV
cd SimpleLFV ; /Applications/Xcode.app/Contents/Developer/usr/bin/make F90=gfortran version=400.00
cd ../src ; /Applications/Xcode.app/Contents/Developer/usr/bin/make F90=gfortran
gfortran -o SPheno -O SPheno4.o ../lib/../lib/libSPheno.a
mv SPheno ../bin
/Applications/Xcode.app/Contents/Developer/usr/bin/make F90=gfortran ../lib/libSPhenoSimpleLFV.a
gfortran -c -g -ffree-line-length-none -J../include -I../include Settings.f90
ar -ruc ../lib/libSPhenoSimpleLFV.a Settings.o
rm -f Settings.o
gfortran -c -g -ffree-line-length-none -J../include -I../include Model_Data_SimpleLFV.f90
Model_Data_SimpleLFV.f9034:
Real(dp) :: MA0,MA02,MAh,MAh2,MChi,MChi2,MFd(3),MFd2(3),MFe(3),MFe2(3),MFu(3),MFu2(3), &
1
Error: Symbol 'mchi' at (1) already has basic type of COMPLEX
Model_Data_SimpleLFV.f9030:
Complex(dp) :: ratioGG,ratioPP
1
[...]
Error: Symbol 'zpn' at (1) has no IMPLICIT type
Model_Data_SimpleLFV.f902:
ZZ = 0._dp
1
Error: Symbol 'zz' at (1) has no IMPLICIT type
make[2]: *** [../lib/libSPhenoSimpleLFV.a(Model_Data_SimpleLFV.o)] Error 1
make[1]: *** [bin/SPhenoSimpleLFV] Error 2
make: *** [bin/SPheno] Error 2
Looking into the file Model_Data_SimpleLFV.f90, it seems to me that all of these variables are declared. So I am a bit confused about that.
Any ideas on this?
I am using SARAH 4.14.0 and SPheno 4.0.3.
I am attaching my model files and the obtained Model_Data_SimpleLFV.f90 (had to rename the latter to *.txt, *.f90 not accepted).
Thanks for your help, best regards,
Björn