public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] gap -- sage install
@ 2010-03-28 14:04 Marek Kaluba
  2010-03-28 21:42 ` François Bissey
  0 siblings, 1 reply; 8+ messages in thread
From: Marek Kaluba @ 2010-03-28 14:04 UTC (permalink / raw
  To: gentoo-science

Hi François, and all of You,

I tried your fix despite it has been removed (i copied from commits), and although the 
command running gap during sage install
/usr/libexec/gap/gap -m 32m -l /usr/share/gap -r -b -T -o 9999G /var/tmp/portage/sci-
mathematics/sage-4.3.4/image/opt/sage/data//extcode/gap/sage.g

has no -p option inside, it still hangs for me...

Can anyone tell me what this command is intended to do?

my compilation seems to lack gap/sage.g:
marek@marek-laptop /var/tmp/portage/sci-mathematics # find ./|grep gap    
./sage-4.3.4/work/sage-4.3.4/spkg/standard/gap-4.4.12.p1.spkg
./sage-4.3.4/work/sage-4.3.4/devel/sage-main/build/sage/interfaces/gap.py
./sage-4.3.4/work/sage-4.3.4/devel/sage-main/sage/interfaces/gap.py
./sage-4.3.4/work/sage-4.3.4/devel/sage-main/doc/en/reference/sage/interfaces/gap.rst
./sage-4.3.4/homedir/.sage/gap
./sage-4.3.4/homedir/.sage/gap/README.txt
./sage-4.3.4/image/opt/sage/local/bin/gap_stamp
./sage-4.3.4/image/opt/sage/spkg/standard/gap-4.4.12.p1.spkg
./sage-4.3.4/image/opt/sage/devel/sage-main/build/sage/interfaces/gap.py
./sage-4.3.4/image/opt/sage/devel/sage-main/sage/interfaces/gap.py
./sage-4.3.4/image/opt/sage/devel/sage-main/doc/en/reference/sage/interfaces/gap.rst

best regards

Mark



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-science] gap -- sage install
  2010-03-28 14:04 [gentoo-science] gap -- sage install Marek Kaluba
@ 2010-03-28 21:42 ` François Bissey
  2010-03-29  6:58   ` François Bissey
  0 siblings, 1 reply; 8+ messages in thread
From: François Bissey @ 2010-03-28 21:42 UTC (permalink / raw
  To: gentoo-science

> Hi François, and all of You,
> 
> I tried your fix despite it has been removed (i copied from commits), and
> although the command running gap during sage install
> /usr/libexec/gap/gap -m 32m -l /usr/share/gap -r -b -T -o 9999G
> /var/tmp/portage/sci-
> mathematics/sage-4.3.4/image/opt/sage/data//extcode/gap/sage.g
> 
> has no -p option inside, it still hangs for me...
> 
> Can anyone tell me what this command is intended to do?
> 
> my compilation seems to lack gap/sage.g:
> marek@marek-laptop /var/tmp/portage/sci-mathematics # find ./|grep gap
> ./sage-4.3.4/work/sage-4.3.4/spkg/standard/gap-4.4.12.p1.spkg
> ./sage-4.3.4/work/sage-4.3.4/devel/sage-main/build/sage/interfaces/gap.py
> ./sage-4.3.4/work/sage-4.3.4/devel/sage-main/sage/interfaces/gap.py
> ./sage-4.3.4/work/sage-4.3.4/devel/sage-main/doc/en/reference/sage/interfac
> es/gap.rst ./sage-4.3.4/homedir/.sage/gap
> ./sage-4.3.4/homedir/.sage/gap/README.txt
> ./sage-4.3.4/image/opt/sage/local/bin/gap_stamp
> ./sage-4.3.4/image/opt/sage/spkg/standard/gap-4.4.12.p1.spkg
> ./sage-4.3.4/image/opt/sage/devel/sage-main/build/sage/interfaces/gap.py
> ./sage-4.3.4/image/opt/sage/devel/sage-main/sage/interfaces/gap.py
> ./sage-4.3.4/image/opt/sage/devel/sage-main/doc/en/reference/sage/interface
> s/gap.rst
> 
Hi Marek,

IT could very well be that this command is intended to generate the sage.g 
file. We are still investigating what goes wrong for you. -p seem to strip some
formatting from gap it looks weird with it but it does have an effect even if 
it is undocumented. 
Do you have any "locale" set on your machine? Have tried to build sage the 
normal way - ie as recommended by the sage dev and if so, was it successful?

Cheers,
Francois



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-science] gap -- sage install
  2010-03-28 21:42 ` François Bissey
@ 2010-03-29  6:58   ` François Bissey
  2010-03-29  8:08     ` François Bissey
  0 siblings, 1 reply; 8+ messages in thread
From: François Bissey @ 2010-03-29  6:58 UTC (permalink / raw
  To: gentoo-science

> > Hi François, and all of You,
> > 
> > I tried your fix despite it has been removed (i copied from commits), and
> > although the command running gap during sage install
> > /usr/libexec/gap/gap -m 32m -l /usr/share/gap -r -b -T -o 9999G
> > /var/tmp/portage/sci-
> > mathematics/sage-4.3.4/image/opt/sage/data//extcode/gap/sage.g
> > 
> > has no -p option inside, it still hangs for me...
> > 
> > Can anyone tell me what this command is intended to do?
> > 
> > my compilation seems to lack gap/sage.g:
> > marek@marek-laptop /var/tmp/portage/sci-mathematics # find ./|grep gap
> > ./sage-4.3.4/work/sage-4.3.4/spkg/standard/gap-4.4.12.p1.spkg
> > ./sage-4.3.4/work/sage-4.3.4/devel/sage-main/build/sage/interfaces/gap.py
> > ./sage-4.3.4/work/sage-4.3.4/devel/sage-main/sage/interfaces/gap.py
> > ./sage-4.3.4/work/sage-4.3.4/devel/sage-main/doc/en/reference/sage/interf
> > ac es/gap.rst ./sage-4.3.4/homedir/.sage/gap
> > ./sage-4.3.4/homedir/.sage/gap/README.txt
> > ./sage-4.3.4/image/opt/sage/local/bin/gap_stamp
> > ./sage-4.3.4/image/opt/sage/spkg/standard/gap-4.4.12.p1.spkg
> > ./sage-4.3.4/image/opt/sage/devel/sage-main/build/sage/interfaces/gap.py
> > ./sage-4.3.4/image/opt/sage/devel/sage-main/sage/interfaces/gap.py
> > ./sage-4.3.4/image/opt/sage/devel/sage-main/doc/en/reference/sage/interfa
> > ce s/gap.rst
> 
> Hi Marek,
> 
> IT could very well be that this command is intended to generate the sage.g
> file. We are still investigating what goes wrong for you. -p seem to strip
> some formatting from gap it looks weird with it but it does have an effect
> even if it is undocumented.
> Do you have any "locale" set on your machine? Have tried to build sage the
> normal way - ie as recommended by the sage dev and if so, was it
> successful?
> 
Marek, is sage-extcode installed? If so can you give us the output of
"equery f sage-extcode"
please.

Francois



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-science] gap -- sage install
  2010-03-29  6:58   ` François Bissey
@ 2010-03-29  8:08     ` François Bissey
  2010-03-29  9:37       ` François Bissey
  0 siblings, 1 reply; 8+ messages in thread
From: François Bissey @ 2010-03-29  8:08 UTC (permalink / raw
  To: gentoo-science

> Marek, is sage-extcode installed? If so can you give us the output of
> "equery f sage-extcode"
> please.

Never mind. The penny finally dropped.
You don't have a file:
/var/tmp/portage/sci-
mathematics/sage-4.3.4/image/opt/sage/data//extcode/gap/sage.g

because sage/data//extcode/gap/sage.g is shipped in sage-extcode.
So it is not there. Why it works for most of us and not for you is weird.
I am not about to emerge --debug to find out in all the gory details
anyone feel free to have a go. Anyway I will try to ship a fix soon for you 
to try.

Francois



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-science] gap -- sage install
  2010-03-29  8:08     ` François Bissey
@ 2010-03-29  9:37       ` François Bissey
  2010-03-29 13:36         ` Marek Kaluba
  0 siblings, 1 reply; 8+ messages in thread
From: François Bissey @ 2010-03-29  9:37 UTC (permalink / raw
  To: gentoo-science

> > Marek, is sage-extcode installed? If so can you give us the output of
> > "equery f sage-extcode"
> > please.
> 
> Never mind. The penny finally dropped.
> You don't have a file:
> /var/tmp/portage/sci-
> mathematics/sage-4.3.4/image/opt/sage/data//extcode/gap/sage.g
> 
> because sage/data//extcode/gap/sage.g is shipped in sage-extcode.
> So it is not there. Why it works for most of us and not for you is weird.
> I am not about to emerge --debug to find out in all the gory details
> anyone feel free to have a go. Anyway I will try to ship a fix soon for you
> to try.
> 
Fix shipped, it builds here but report any problems.

Francois



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-science] gap -- sage install
  2010-03-29  9:37       ` François Bissey
@ 2010-03-29 13:36         ` Marek Kaluba
  2010-03-29 22:12           ` François Bissey
  0 siblings, 1 reply; 8+ messages in thread
From: Marek Kaluba @ 2010-03-29 13:36 UTC (permalink / raw
  To: gentoo-science

On Monday 29 March 2010 11:37:00 François Bissey wrote:
> > > Marek, is sage-extcode installed? If so can you give us the output of
> > > "equery f sage-extcode"
> > > please.
> > 
> > Never mind. The penny finally dropped.
> > You don't have a file:
> > /var/tmp/portage/sci-
> > mathematics/sage-4.3.4/image/opt/sage/data//extcode/gap/sage.g
> > 
> > because sage/data//extcode/gap/sage.g is shipped in sage-extcode.
> > So it is not there. Why it works for most of us and not for you is weird.
> > I am not about to emerge --debug to find out in all the gory details
> > anyone feel free to have a go. Anyway I will try to ship a fix soon for
> > you to try.
> 
> Fix shipped, it builds here but report any problems.
> 
> Francois

Thanks for another fix.... but... it doesn't work either;-)

Now emerge sage runs 
/usr/libexec/gap/gap -m 32 -l /usr/share/gap -r -b -p -T -o 9999G 
/opt/sage/data//extcode/gap/sage.g

as it should (sage.g IS in the place), but install waits forever.

running it by hand gives:
marek-laptop marek # /usr/libexec/gap/gap -m 32 -l /usr/share/gap -r -b -p -T -o 9999G 
/opt/sage/data//extcode/gap/sage.g 
@p1.gap: cannot extend the workspace any more

at the moment I emerged -C gap and I am emerging gap once again

Mark



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-science] gap -- sage install
  2010-03-29 13:36         ` Marek Kaluba
@ 2010-03-29 22:12           ` François Bissey
  2010-04-09 21:36             ` Marek Kaluba
  0 siblings, 1 reply; 8+ messages in thread
From: François Bissey @ 2010-03-29 22:12 UTC (permalink / raw
  To: gentoo-science


> Thanks for another fix.... but... it doesn't work either;-)
> 
> Now emerge sage runs
> /usr/libexec/gap/gap -m 32 -l /usr/share/gap -r -b -p -T -o 9999G
> /opt/sage/data//extcode/gap/sage.g
> 
> as it should (sage.g IS in the place), but install waits forever.
> 
> running it by hand gives:
> marek-laptop marek # /usr/libexec/gap/gap -m 32 -l /usr/share/gap -r -b -p
> -T -o 9999G /opt/sage/data//extcode/gap/sage.g
> @p1.gap: cannot extend the workspace any more
> 
> at the moment I emerged -C gap and I am emerging gap once again
Hi Marek,

Once gap has emerged I want you to try the following command:
/usr/libexec/gap/gap -m 32m -l /usr/share/gap -r -b -p -T -o 3900m 
/opt/sage/data//extcode/gap/sage.g

It looks like the problem may be that sage is trying to use gap with
too much memory for your computer. It tries to use the settings
for a 64bits set up - whether or not you have one, let's see what 
happens with the 32bits set up.
If you still get the message about extending the workspace, could 
you also try "-m 8m" and may be "-o 1024" or something.  

Francois



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-science] gap -- sage install
  2010-03-29 22:12           ` François Bissey
@ 2010-04-09 21:36             ` Marek Kaluba
  0 siblings, 0 replies; 8+ messages in thread
From: Marek Kaluba @ 2010-04-09 21:36 UTC (permalink / raw
  To: gentoo-science

On Tuesday 30 March 2010 00:12:46 François Bissey wrote:
> > Thanks for another fix.... but... it doesn't work either;-)
> > 
> > Now emerge sage runs
> > /usr/libexec/gap/gap -m 32 -l /usr/share/gap -r -b -p -T -o 9999G
> > /opt/sage/data//extcode/gap/sage.g
> > 
> > as it should (sage.g IS in the place), but install waits forever.
> > 
> > running it by hand gives:
> > marek-laptop marek # /usr/libexec/gap/gap -m 32 -l /usr/share/gap -r -b
> > -p -T -o 9999G /opt/sage/data//extcode/gap/sage.g
> > @p1.gap: cannot extend the workspace any more
> > 
> > at the moment I emerged -C gap and I am emerging gap once again
> 
> Hi Marek,
> 
> Once gap has emerged I want you to try the following command:
> /usr/libexec/gap/gap -m 32m -l /usr/share/gap -r -b -p -T -o 3900m
> /opt/sage/data//extcode/gap/sage.g
> 
> It looks like the problem may be that sage is trying to use gap with
> too much memory for your computer. It tries to use the settings
> for a 64bits set up - whether or not you have one, let's see what
> happens with the 32bits set up.
> If you still get the message about extending the workspace, could
> you also try "-m 8m" and may be "-o 1024" or something.
> 
> Francois



Hi Francois,

sorry for no response for such a long period of time, but I am preoccupied with my Masters 
at the time...

so i tried this command, now it outputs this strange sequence of signs:
@p1.@!34326+@"0895+@#41558+@$33111+@%59012+@&86723+@!
17973+@"4024+@#87158+@$0686+@%81061+@&86723+@!
31091+@"8122+@#73226+@$6165+@%52331+@&86723+@!
76881+@"6022+@#34614+@$2623+@%94601+@&86723+@!
69503+@"3551+@#57705+@$2123+@%8438+@&86723+@w3+XCN

and i have to hit Ctrl+C twice to exit

all combitanions of x and y in "-m xm" and "-o y[m,g]" produce more or less the same 
output, differing by length.

emerge =sci/mathematics/sage-4.3.5 still fails at the same moment...

best regards
Marek




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-04-09 21:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-28 14:04 [gentoo-science] gap -- sage install Marek Kaluba
2010-03-28 21:42 ` François Bissey
2010-03-29  6:58   ` François Bissey
2010-03-29  8:08     ` François Bissey
2010-03-29  9:37       ` François Bissey
2010-03-29 13:36         ` Marek Kaluba
2010-03-29 22:12           ` François Bissey
2010-04-09 21:36             ` Marek Kaluba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox