On Fri, 27 Jul 2001, ts wrote: > >>>>> "E" == Emil Ong <emilong / midway.uchicago.edu> writes: > > E> Well, what I'm trying to do is create a ruby that's parallel. I need to > E> call MPI's initialize and finalize to set up and shut down communications > E> before and after ruby runs, respectively. I'm using ruby_init(), > E> ruby_options(), and ruby_run() so that I can get behavior that's very much > E> like the normal ruby. I guess that I was hoping to get ruby's exit value > E> as a return code. > > ruby_options() also can call exit() Eek! Oh, well, atexit() should handle it. MPI_Finalize() doesn't really matter if there's an abnormal exit anyway. Thanks again, Emil