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.
Compilation error
Re: Compilation error
That's strange. Have you previously created a SM SPheno module with SARAH and later copied it (with cp -r) into SPheno?
Re: Compilation error
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
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
Re: Compilation error
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!!!
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!!!
Re: Compilation error
Great! 