Questions about the interface between SARAH and SPheno as well as the FlavorKit functionality
-
Martin
- Posts: 15
- Joined: 10. Feb 2017, 07:31
Post
by Martin » 30. Jul 2018, 14:32
Dear Florian,
We had some compilation errors on Mac (MacOS 10.13.6, gfortran 6.3.0, Xcode 9.4.1). The error message is
Code: Select all
/Applications/Xcode.app/Contents/Developer/usr/bin/make F90=gfortran ../lib/libSPhenoSUSY_EW_ISS.a
gfortran -c -g -ffree-line-length-none -J../include -I../include Settings.f90
ar -ruc -U ../lib/libSPhenoSUSY_EW_ISS.a Settings.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: illegal option -- U
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
make[2]: *** [../lib/libSPhenoSUSY_EW_ISS.a(Settings.o)] Error 1
make[1]: *** [bin/SPhenoSUSY_EW_ISS] Error 2
make: *** [bin/SPheno] Error 2
We were able to fix it by removing the -U flag in the model specific makefile. We do not know, what it does, but the binary runs, so we guess it is not crucial. We just wanted to let you and other potential users know.
Best,
Martin
-
IVANIELA
- Posts: 5
- Joined: 7. Dec 2017, 19:51
Post
by IVANIELA » 5. Nov 2018, 12:54
Dear Martin I was having the same problem than you and I removed the -U flag as you wrote. This fixed the problem but I'm worried why this happens. I'm a Mac user so could it be only a problem for MacOS? Thanks for this post it was very helpful.
(My MacOS version is 10.13.4)
Cheers
-
FStaub
- Site Admin
- Posts: 822
- Joined: 13. Apr 2016, 14:05
Post
by FStaub » 5. Nov 2018, 18:51
I'm not a Mac user, but it seems to be a problem with the gfortran version available in MacOS. The good news are that the flag -U is not crucial. It just speeds up compilation in the case that you changed some files.