Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Urgent but simple problem III

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31036] Re: [mg31020] Re: Urgent but simple problem III
  • From: "Carlos Cabrera Zuniga" <carloscz at ift.unesp.br>
  • Date: Fri, 5 Oct 2001 01:22:48 -0400 (EDT)
  • Organization: Instituto de Fisica Teorica de Sao Paulo
  • References: <9pbj0s$qh1$1@smc.vnet.net> <200110030649.CAA29227@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi group


----- Original Message -----
From: "Albert Retey" <albert.retey at visualanalysis.com>
To: mathgroup at smc.vnet.net
Subject: [mg31036] [mg31020] Re: Urgent but simple problem III


> Hi,
>
> >  The real problem i believe, is that i have to start a new Mathematica
session,
> > i dont know if this shall kill my process. My anterior but little
experience says
> > that yes.
>
> It is absolutly possible to have mathematica sessions running while you
> are logged off.

 Albert, i never logged off in Machine B, where the process takes place,
and i could verify that it was still runinig.
 I logged off machine A, in B, the process was not interrupted.

 I used Unix, to run Mathematica 4.0 and i remember perfectly that
 i logged off and the process was still running, yet so, we are working
 to fix the opening the process with a new logging.


 The point is that to achieve this easily you should
> indeed work in text-mode. This is not so difficult, you can mark the
> Cells to execute in your Notebook as Initialization-Cells and save the
> notebook. This should produce a .m file which you can then run from the
> command shell like this (on a tcsh):
>
> math < file.m > file.out &

Of course, i think that i hoped to obtain some more fixed ideas from
someone more experimented persons.

answer
>
> learn about the command shell you are using, you'll enjoy it! the < and
> > are redirecting stdin and stdout to files, the & will put the process to
background. On some systems it might be necessary to call the process with a
nohup or something, I only vaguely remember somthing like that from an old
Sun workstation, but this depends on the setup, so ask your sys-admin. Of
course it is important to save your results in a way you can further work
with them, so maybe just reporting the output in a file.out is not what you
want, have a look at Mathematica-command like Save, Put and DumpSave. I (and
many others) have used mathematica in that way successfully in calculations
that run for many days and even weeks. It works quite well, the only problem
I have seen resulted from network-lossed when the files were served over
NFS, so probably it's better to use a local filesystem (it's much faster
anyway). If this sounds weird to you, learn about UNIX-filesystems :-).
>
> good luck
>
> Albert
>
>
>



  • Prev by Date: Using NDSolve for 2-variables functions ?
  • Next by Date: Any econometricians out there?
  • Previous by thread: Re: Urgent but simple problem III
  • Next by thread: Re: Urgent but simple problem III