--
You received this message because you are subscribed to the Google Groups "xAct Tensor Computer Algebra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xact+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xact/bdacef01-870f-4c04-a367-31f98fb54d41n%40googlegroups.com.
Hi!
Yes, Mathematica actually changed name to Wolfram fairly recently, so if you are using a slightly older version you should use .Mathematica instead of .Wolfram
From the error messages it looks like you might be missing the
uuid libraries.
I have not tried this recently, but a while ago I had the same
problem on a Raspberry Pi. Then the following helped
sudo apt-get install uuid-dev
mcc xperm.tm -luuid -O3 -o xperm.linux.64-bit
Still you need to do this in the mathlink folder.
I hope this helps.
Regards
Thomas
To view this discussion visit https://groups.google.com/d/msgid/xact/2cc2fa98-075c-4c0c-8519-b115e9edf974n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xact/4aba344e-9fa3-4764-8026-5b1a428d906bn%40googlegroups.com.
Dear Thomas,
Now it works! Thank you so much for your help!
It turns out that perhaps either I forgot to allow xperm.linux.64-bit to be executed as a program, or I used a different mcc, or something else. The details are shown below.
----------------------------
> The only error message you listed from the compiler was "cannot find -luuid". Did installing installing uuid-dev fix that problem?
Somehow it still persists.
> After loading xPerm, check the $xActDirectory variable. In your case I expect it to be "/home/yourusername/.Mathematica/Applications/xAct/"
Yes, it is.
> Make sure that xperm.linux.64-bit is in the xPerm/mathlink sub-folder and has the permissions "Allow executing file as program".
I checked it and it somehow vanished. Then I just copy whole xAct folder into ~./Mathematica/Applications/. Then I made sure xperm.linux.64-bit , xperm.linux.32-bit, xperm.linux.pre6, xperm.win64 and xperm.win32 are all allowed to be executed as program. Then I did the mcc step again but the problem persists, both using:
$ mcc xperm.tm -luuid -O3 -o xperm.linux.64-bit
$ /usr/local/Wolfram/Mathematica/12.0/Executables/mcc xperm.tm -luuid -O3 -o xperm.linux.64-bit
Surprisingly, when I checked it inside Mathematica by calling xPerm, now the error with Mathlink is gone!
Package xAct`xPerm` version 1.2.3, {2015,8,23}
CopyRight (C) 2003-2020, Jose M. Martin-Garcia, under the General Public License.
Connecting to external linux executable...
Connection established.
-----------------------
Best regards,