In the file “Package/SPheno/SPhenoPreSARAH.m”, I’ve found the following in line 1708:
Code: Select all
Run["cp "<>listfilesOperators[[i]]<>" "<>$sarahCurrentFlavorKitDirWrapper];
This method of copying files doesn’t work if the directory “$sarahCurrentFlavorKitDirWrapper” contains spaces, as it does in my case (even using a symbolic link
without spaces pointing to a directory containing the SARAH files doesn’t work if the target directory does contain spaces). If the SARAH files are in a directory “/path with spaces/SARAH/”, running “MakeSPheno[]” prints the following message to the console error stream many times:
cp: target 'spaces/SARAH/Output/model/EWSB/FlavorKit/Wrappers/' is not a directory
More than that, though, this doesn’t work on any operating system which does not have a “cp” program (such as Windows).
While I’m on the issue of using “Run[]” to call external programs, the line
in the files “Package/SPheno/SPhenoMatching.m” and “Package/SPheno/SPheno.m” is also not cross-platform compatible.