PALP database for 4D reflexive polytopes?

69 views
Skip to first unread message

Ursula Whitcher

unread,
Sep 20, 2016, 1:41:58 PM9/20/16
to sage-support
I tried to install the PALP database for four-dimensional reflexive polytopes on the SageMath cloud, following the documentation at


which suggests the shell command

sage -i polytopes_db_4d
.

This didn't work.  I'm not sure whether the failure implies a problem with the database, or with the place I'm trying to put it on the cloud (this is a standard Sage installation, not a development version, on a members-only server without extra internet access enabled).  Here's the full terminal output: 

***

make build/make/Makefile
make[1]: Entering directory '/projects/sage/sage-7.3'
make[1]: 'build/make/Makefile' is up to date.
make[1]: Leaving directory '/projects/sage/sage-7.3'
build/bin/sage-logger \
        "cd build/make && ./install 'all-toolchain'" logs/install.log
tee: logs/install.log: Permission denied
./install: line 28: /projects/sage/sage-7.3/.BUILDSTART: Permission denied
Nothing to (re)build / all up-to-date.
 
Error: package 'polytopes_db_4d' not found
Assuming it is an old-style package... (this is deprecated: use -p instead of -i to install old-style packages)
 
tee: /projects/sage/sage-7.3/logs/pkgs/polytopes_db_4d.log: Permission denied
/projects/sage/sage-7.3/build/bin/sage-spkg: line 283: cd: /projects/sage/sage-7.3/upstream: No such file or directory
Attempting to download package polytopes_db_4d
Traceback (most recent call last):
  File "/projects/sage/sage-7.3/build/bin/sage-download-file", line 27, in <module>
    from sage_bootstrap.download.cmdline import run_safe
  File "/projects/sage/sage-7.3/build/bin/../sage_bootstrap/download/__init__.py", line 8, in <module>
    from sage_bootstrap.download.mirror_list import MirrorList
  File "/projects/sage/sage-7.3/build/bin/../sage_bootstrap/download/mirror_list.py", line 22, in <module>
    from sage_bootstrap.env import SAGE_DISTFILES
  File "/projects/sage/sage-7.3/build/bin/../sage_bootstrap/env.py", line 47, in <module>
    assert os.path.isdir(SAGE_DISTFILES)
AssertionError

***

Any ideas?

Thanks--
Ursula.

Justin C. Walker

unread,
Sep 20, 2016, 2:32:43 PM9/20/16
to sage-s...@googlegroups.com

On Sep 20, 2016, at 10:41 , Ursula Whitcher wrote:

> I tried to install the PALP database for four-dimensional reflexive
> polytopes on the SageMath cloud, following the documentation at
>
> http://doc.sagemath.org/html/en/reference/geometry/sage/geometry/polyhedron/palp_database.html
> ,

It looks (below) like two problems:
1. You don't have permission to write (create/change files) in the directory tree SAGE_ROOT.
2. This: "Error: package 'polytopes_db_4d' not found"

I'm not sure how to overcome the first. If sage is installed on a multiuser system, in an admin/root-owned tree, you are stuck, I think. Check with the system admins.

As for the second, you don't seem to have enough information below to figure out why the package is not found. Are you sure the name is complete and correct? The link you include (above) only seems to give use examples, not install instructions.

HTH

Justin
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To post to this group, send email to sage-s...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
when you don't get what you want.
--------



Vincent Delecroix

unread,
Sep 20, 2016, 3:15:37 PM9/20/16
to sage-support
Justin is right, the question is precisely: how Sage was installed on
this computer?

Ursula Whitcher

unread,
Sep 21, 2016, 9:29:26 AM9/21/16
to sage-support
On Tuesday, September 20, 2016 at 3:15:37 PM UTC-4, vdelecroix wrote:
Justin is right, the question is precisely: how Sage was installed on
this computer?

It's a bog-standard SageMathCloud installation.  Sounds like creating a development version of Sage in this project is the next trouble-shooting step?

I would be curious to know whether the command 

sage -i polytopes_db_4d

works for anyone who has a personal installation of Sage handy.

--Ursula.
 

Dima Pasechnik

unread,
Sep 21, 2016, 9:41:46 AM9/21/16
to sage-support
trying it now - the download is over 8Gb in size! 

--Ursula.
 

Dima Pasechnik

unread,
Sep 21, 2016, 10:12:55 AM9/21/16
to sage-support
yes, it does install for me, and work, too:
all the tests in geometry/polyhedron/palp_database.py pass.

Ursula Whitcher

unread,
Sep 21, 2016, 10:19:29 AM9/21/16
to sage-support
On Wednesday, September 21, 2016 at 10:12:55 AM UTC-4, Dima Pasechnik wrote:
yes, it does install for me, and work, too:
all the tests in geometry/polyhedron/palp_database.py pass.

Great, thanks for checking!  I'll take any further questions to the SageMathCloud list, as it sounds like my difficulties stem from that framework.

--Ursula. 
Reply all
Reply to author
Forward
0 new messages