On Fri, Jan 29, 2010 at 8:38 AM, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> Hi folks,
>
> When compiling Sage 4.3.2.alpha0 [1] on the machine sage.math, the
> build always hang when running the configuration script of

As another data point, I also build sage-4.3.2.alpha0 on sage.math in

   /scratch/wstein/build/sage-4.3.2.alpha0

It worked fine (no trouble at all with libgcrypt) and passed all tests except
multi_polynomial_libsingular.pyx.

I see you have one running process:

10108 mvngu     20   0     0    0    0 R  100  0.0 205:19.43 optimal

I ran tests on skynet 2 days ago and *also* end up with that "optimal"
running process sticking around.  It ended up possibly crashing
skynet, by the way.

What is this "optimal" program in Sage??????!

I just tried to kill -9 yours... with no real luck.

Optimal is in sage-4.3.2.alpha0's local/bin:

wst...@sage:~/build/sage-4.3.2.alpha0/local/bin$ ./optimal -?
using quarter turn metric
no search limit
using symmetry reductions
finding all solutions

initializing transformation tables
initializing distance table ... this will take several minutes
distance     positions     (quotient)
      0q             1     (       1)

It's also in sage-4.3:

wst...@sage:~/build/sage-4.3/local/bin$ ./optimal
using quarter turn metric
no search limit


Checking the timestamp of optimal in my build and comparing to the
time stamps of the files in spkg/installed/ tells us something about
which package installed 'optimal':

It has to be one of these programs:

-rw-r--r-- 1 wstein wstein 253 2010-01-26 17:10 zn_poly-0.9.p1
-rw-r--r-- 1 wstein wstein 254 2010-01-26 17:10 ratpoints-2.1.3
-rw-r--r-- 1 wstein wstein 251 2010-01-26 17:09 ecm-6.2.1.p1
-rw-r--r-- 1 wstein wstein 258 2010-01-26 17:09 rubiks-20070912.p10
-rw-r--r-- 1 wstein wstein 247 2010-01-26 17:09 r-2.10.1
-rw-r--r-- 1 wstein wstein 249 2010-01-26 17:09 rpy2-2.0.8

I'm guessing it was rubiks, so I try "sage -f" 'ing that to see if it
changes the timestamp of local/bin/optimal:

wst...@sage:~/build/sage-4.3.2.alpha0$ ls -lh local/bin/optimal
-rwxr-xr-x 1 wstein wstein 144K 2010-01-29 08:57 local/bin/optimal

It does!   So your hung optimal is in the rubik's package, which has
been unchanged for years.  Hmmm.




> libgcrypt-1.4.4.p2.spkg, here's a relevant snippet of where the build
> consistently hangs, regardless of whether my compilation took place
> under /scratch/mvngu/release or /dev/shm/mvngu:
>
> checking for getrusage... yes
> checking for gethrtime... no
> checking for clock_gettime... no
> checking for syslog... yes
> checking for fcntl... yes
> checking for ftruncate... yes
> checking for mlock... yes
> checking for sysconf... (cached) yes
> checking for getpagesize... (cached) yes
> checking whether mlock is broken...
>
> The build just hangs at this line.
>
> This follows when, from within a screen session, I was parallel
> doctesting with 12 threads on sage.math. After a few minutes, my
> screen session froze and I logged off sage.math by closing my terminal
> window. I now have a bunch of zombie processes floating around on
> sage.math.
>
> [1] http://sage.math.washington.edu/home/mvngu/sage-src/sage-4.3.2.alpha0.tar
>
> --
> Regards
> Minh Van Nguyen
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage.math users" group.
> To post to this group, send email to sagemath-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> sagemath-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sagemath-users?hl=en.
>
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to