On Monday, April 7, 2014 3:44:40 PM UTC-7, Will wrote: > > Firstly, I'm using a mac (mavericks), and I'm getting the small groups > package from: > http://www.icm.tu-bs.de/ag_algebra/software/small/#small >
I think that the recommended way to install the GAP small groups package in Sage is to do sage -i database_gap Does that help? It downloads to a tar.gz file while unzips to a folder called "small". > > I tried putting it in > "/Applications/Sage-6.1.1.app/Contents/Resources/sage/local/gap/latest/pkg/", > but after reloading gap it wouldn't recognize any of the support functions. > So instead I put it in "/Applications/Sage-6.1.1.app/Contents/Reso > urces/sage/local/gap/latest/". > > However, upon reloading gap, I get a bunch of errors of the form > > Syntax error: warning: unbound global variable in > /Applications/Sage-6.1.1.app/Contents/Reso\ > > urces/sage/local/gap/latest/small/small8/smlgp8.g line 94 > > op := DATA.ops[ p ]; > > each time referring to various files in the package. Have I installed it > incorrectly? If not, can I somehow suppress these warnings? > > The funny thing is, even though it refers to the assignment of an unbound > global variable "op", when I try to check the value of "op" in gap, it says > it does not have a value. > > P.S. This actually didn't use to happen. Yesterday, my setup is as far as > I know the same as it is today, however just an hour ago I accidentally hit > "ctrl + Z" as opposed to ctrl+C while calling a self-defined function that > wasn't terminating. After doing this, whenever I would use the "Read(...)" > function in gap on the file I had written, I would get a bunch of these > unbound global variable errors, despite never having gotten them before > (even though I was modifying global variables in the file). Upon reloading > gap, I suddenly found that I was also getting these errors for files within > the small groups package. Since then I've done a reinstallation of sage, > but I'm still getting the same errors. I've stopped the errors from reading > my own files by declaring some variables local, but I'm hesistant to > actually edit files in the small groups package myself. > > thanks, > > - will > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.