[GAP Forum] Running gap while offline on a Unix system?

David Joyner wdjoyner at gmail.com
Mon Oct 30 22:47:24 GMT 2006


You can put the
Read("...");
command in your .gaprc file
http://www.gap-system.org/Manuals/doc/htm/ref/CHAP003.htm#SECT004
You can also log the output
http://www.gap-system.org/Faq/Usage/usage4.html
Hope this helps.

++++++++++++++++++++++++++++++++++

On 10/30/06, Scott Anderson <scanders at oakland.edu> wrote:
> Hello all,
>
>
>
> I am doing some computations that require the Unix
> server to work for a great many hours.  I dial in
> from home (well, I dial in to the Internet and then
> ssh onto the server, but you get the idea) and my
> ISP will disconnect me hours before the computations
> are finished.  (I'm computing automorphism groups of
> quantum codes, which I port from Magma into Gap, for
> the record.)
>
>
>
> I can easily put the entire computation script into
> a file, say "scott.g", and save the workspace at the
> end so I can come back later and load the workspace
> to get the results.  My question is, is it possible
> to tell Gap to run a particular script
> noninteractively?  Unix-wise, if I have a command
> that can run noninteractively I can "nohup
> <command-name> &", so can I use this with some
> option of Gap?  That is, can I say for instance
> "nohup gap < scott.g &" to get results?
>
>
>
> Thanks,
> Scott Anderson
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum
>



More information about the Forum mailing list