Cygwin Problems in Win 8.1

5,088 views
Skip to first unread message

Jonathan

unread,
Dec 7, 2013, 1:29:20 AM12/7/13
to xa...@googlegroups.com
Hi all,

I just put xAct on a fresh install of Windows 8.1 and am getting an error in the linked DOS terminal from cygwin:

0 [main] xperm.win 3360 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.

From searching around, it seems that this problem is caused by using an older version of cygwin. The only solution I can think of is to replace cygwin1.dll in the mathlink folder, though I'm a little hesitant to do this. The package still seems to work but certain computations take longer to finish (e.g. 145 s instead of 80 s). Any ideas for a fix?

Thanks,
Jonathan

Hidetomo Yanase

unread,
Jan 10, 2014, 10:38:27 PM1/10/14
to xa...@googlegroups.com
I got same error ! Windows8.1 64bit. I can not install help me!

2013年12月7日土曜日 15時29分20秒 UTC+9 Jonathan:

Thomas Bäckdahl

unread,
Jan 11, 2014, 2:22:22 PM1/11/14
to xa...@googlegroups.com
Hi!

I don't have Windows 8, so I can not test this myself. (I have Windows 7 and refuse to install Windows 8).

According to the latest cygwin release information, the latest version of cygwin has a workaround for some kind of bug in Windows 8.
I don't know if this is related to your problem, but it might be.
Hence, I tested the new cygwin1.dll with the current xperm.win. Unfortunately that failed. I suppose that we need version of xperm.win compiled under the latest cygwin.
I have spent a few hours trying to compile xperm under cygwin but failed. I even get syntax errors in mathlink.h so I am obviously doing something wrong.
Can anyone compile it? Both a 32 bit and a 64 bit version would be nice. If you succeed, please tell me how to do it.

A temporary fix is to not use the external xperm.win at all.
One way to do this is to change
$xpermQ=xpermConnect;
to
$xpermQ=False;
in xPerm.m

This will let you do all calculations, but only the much slower mathematica implementation of the canonicalizer will be used.

Regards
Thomas

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Thomas Bäckdahl

unread,
Jan 17, 2014, 8:01:55 AM1/17/14
to xa...@googlegroups.com
Hi!

I managed to recompile xperm.win with a 64 bit version of MinGW.
It seems to work under a 64 bit Windows 7, but I have not been able to
test it with Windows 8.
This is no longer cygwin so there is no DOS like terminal window any
longer. For me the runtimes seems to be similar to the old cygwin
version. Perhaps some optimization parameters can be set for the compiler.

Please report any success or fail with this version.

Regards
Thomas
xperm_win64.zip

Jonathan

unread,
Jan 24, 2014, 3:47:53 PM1/24/14
to xa...@googlegroups.com
That seems to have stopped the error post, though I don't know if it has entirely fixed things. Computations take the same amount of time running with xperm now as they do using the mathematica canonicalizer by setting xpermQ=False.

Thanks for the help!

Thomas Bäckdahl

unread,
Jan 24, 2014, 4:59:05 PM1/24/14
to xa...@googlegroups.com
Hi!


On 2014-01-24 20:47, Jonathan wrote:
That seems to have stopped the error post, though I don't know if it has entirely fixed things. Computations take the same amount of time running with xperm now as they do using the mathematica canonicalizer by setting xpermQ=False.

This is strange. What are the results if you evaluate $xpermExecutable and $xpermLink?

Regards
Thomas

Kungi Dito

unread,
Apr 7, 2014, 11:13:02 AM4/7/14
to xa...@googlegroups.com
Hi,

I have the same problem
 [main] startxwin 4036 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. 

Have googled for some time and it seems to me that the method for getting the FAST_CWD is broken in newest windows8.1
I have read in some cyg dev correspondence that they used some ugly hack to get it from some dll, and I guess that the
dll changed so now they have to update the method or something

Cheers

Thomas Bäckdahl

unread,
Apr 7, 2014, 11:24:41 AM4/7/14
to xa...@googlegroups.com
Hi!

I believe that this problem is fixed now. Download the latest version of xAct version 1.1.0. The xperm executable is recompiled and now uses MinGW instead of cygwin.
Please report if this does not help.

Regards
Thomas
--
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.
For more options, visit https://groups.google.com/d/optout.

Kungi Dito

unread,
Apr 7, 2014, 11:48:10 AM4/7/14
to xa...@googlegroups.com
I'm afraid my problem is not directly related to using xAct and therefore the download wont fix anything (I don't even have mathematica on my pc)
My error came up when i was running startx11
I was hoping the fix was of a more general nature

Cheers
Reply all
Reply to author
Forward
0 new messages