Compilation 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

Compilation error

Post by vandana » 30. May 2019, 17:53

I get the following error when I try to compile the SPheno code for SM in the SPheno root directory by running 'make Model=SM' :

$ make Model=SM
cd SM ; make F90=ifort version=400.00
make[1]: Entering directory '/home/vandana/SPheno-4.0.3/SM'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/vandana/SPheno-4.0.3/SM'
Makefile:13: recipe for target 'bin/SPheno' failed
make: *** [bin/SPheno] Error 2

I am doing this on Ubuntu 18.04.

Please help.

Avelino
Posts: 46
Joined: 13. Apr 2016, 14:57
Contact:

Re: Compilation error

Post by Avelino » 31. May 2019, 11:13

That's strange. Have you previously created a SM SPheno module with SARAH and later copied it (with cp -r) into SPheno?

vandana
Posts: 8
Joined: 30. May 2019, 17:47

Re: Compilation error

Post by vandana » 31. May 2019, 14:51

Yes, while running the model in mathematica, I executed the command 'MakeSPheno[ ]' and then copied the contents of SARAH/Output/SM/SPheno into SPheno/SM.

Meanwhile, I realised that I had not compiled the SPheno package before compiling SM with SPheno, which I have done now with gfortran as the compiler.

However, still I'm getting the following error on running 'make Model=SM' from the SPheno root directory:

make Model=SM
cd SM ; make F90=gfortran version=400.00
make[1]: Entering directory '/home/vandana/SPheno-4.0.3/SM'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/vandana/SPheno-4.0.3/SM'
Makefile:13: recipe for target 'bin/SPheno' failed
make: *** [bin/SPheno] Error 2

vandana
Posts: 8
Joined: 30. May 2019, 17:47

Re: Compilation error

Post by vandana » 31. May 2019, 17:33

Update: The issue is solved now!

I reinstalled the SPheno package. Chose gfortran as the compiler in the makefile.
Then, instead of compiling SPheno first, I directly compiled the SM with SPheno.

And, it worked!!!

Avelino
Posts: 46
Joined: 13. Apr 2016, 14:57
Contact:

Re: Compilation error

Post by Avelino » 31. May 2019, 20:31

Great! :D

Post Reply