Page 1 of 1

Warning message with Mathematica 12

Posted: 20. Nov 2019, 17:08
by BjHerrmann
Hello,

in our institute, we have just switched to Mathematica 12, and since then (at least I did not notice it before), I get the following two warnings when loading SARAH:
<< "[...]/SARAH.m"

Remove::rmptc: Symbol JLink`Fields is Protected and cannot be removed.
dims::shdw: Symbol dims appears in multiple contexts {Susyno`LieGroups`,Global`}; definitions in context Susyno`LieGroups` may shadow or be shadowed by other definitions.

SARAH 4.14.3
by Florian Staub, 2018
[... from here all looks as usual ...]
I do not think that it is an issue, since everything seems to run smoothly afterwards, but I'd like to point this out here.
I can add that I have seen it on both MacOS and Linux.

Greetings from Annecy,
Björn

Re: Warning message with Mathematica 12

Posted: 12. Dec 2019, 14:21
by MDGoodsell
Hi Bjoern,

Thanks for the notice!

As neither Werner nor I have access to Mathematica 12 yet we can't reproduce that warning at the moment.

However, this is entirely benign. The command to remove JLink`Fields relates to an inbuilt mathematica command that might interfere with the SARAH symbol Fields[]. However, unless you have already imported the package JLink, mathematica will not get confused. And since JLink is not used anywhere in SARAH, it seems that the only proviso is to not import JLink in the same notebook that you are running SARAH. Perhaps we will remove the first line from SARAH.m (and replace it with one checking that JLink is not loaded) to avoid the worry.

Best,
Mark