| Author |
control Unix program from Mac
|
|
| murata 2005-03-24, 5:52 pm |
| I want to run a simulation program on a UNIX machine but
do post processing and control from the Mac. Anybody have any idea to do this?
Thanks in advance.
| |
| Grant Edwards 2005-03-24, 5:52 pm |
| On 2005-03-24, murata <phamngocbao@gmail.com> wrote:
> I want to run a simulation program on a UNIX machine but
> do post processing and control from the Mac.
>
> Anybody have any idea to do this?
http://www.catb.org/~esr/faqs/smart-questions.html
We've no way to know what to recommend if you don't tell us at
least a few details: is the simulation program command line or
GUI, Are you running OS X? OS 9? Are the computers networked?
Some options:
ssh
nfs
vnc
run an X server on your mac
--
Grant Edwards grante Yow! I think my CAREER
at is RUINED!!
visi.com
| |
| Dave Seaman 2005-03-24, 5:52 pm |
| On 24 Mar 2005 08:01:29 -0800, murata wrote:
> I want to run a simulation program on a UNIX machine but
> do post processing and control from the Mac. Anybody have any idea to do this?
Do you have source code for the simulation program? If so, compile and
run it on the Mac. It's a UNIX machine.
--
Dave Seaman
Judge Yohn's mistakes revealed in Mumia Abu-Jamal ruling.
<http://www.commoncouragepress.com/i...book&bookid=228>
| |
| murata 2005-03-24, 8:48 pm |
| > We've no way to know what to recommend if you don't tell us at
> least a few details: is the simulation program command line or
> GUI, Are you running OS X? OS 9? Are the computers networked?
>
> Some options:
>
> ssh
> nfs
> vnc
> run an X server on your mac
Until now, I always run a C simulation program in unix and use gnuplot
to plot the result. Now I'm thinking of use MPI to run a C program
parallel in unix to get the result in a small time and take the
advantage of GUI in Mac(MacOSX) to plot the simulation result. Is it
posible or imposible? Of course the computers are networked.
| |
| Grant Edwards 2005-03-24, 8:48 pm |
| On 2005-03-25, murata <phamngocbao@gmail.com> wrote:
> Until now, I always run a C simulation program in unix and use
> gnuplot to plot the result. Now I'm thinking of use MPI to run
> a C program parallel in unix to get the result in a small time
> and take the advantage of GUI in Mac(MacOSX) to plot the
> simulation result. Is it posible or imposible? Of course the
> computers are networked.
Then just copy the results to the OS X machine and do the
visualization. I still don't understand what you're asking.
--
Grant Edwards grante Yow! Now I am depressed...
at
visi.com
| |
| Paul Mitchum 2005-03-25, 2:48 am |
| murata <phamngocbao@gmail.com> wrote:
[..]
> Until now, I always run a C simulation program in unix and use gnuplot to
> plot the result. Now I'm thinking of use MPI to run a C program parallel
> in unix to get the result in a small time and take the advantage of GUI in
> Mac(MacOSX) to plot the simulation result. Is it posible or imposible? Of
> course the computers are networked.
Compile your simulation program and gnuplot on your Mac, and then just
use them.
gnuplot is available through fink, too, IIRC.
| |
| Sherm Pendley 2005-03-25, 7:56 am |
| murata wrote:
> Until now, I always run a C simulation program in unix and use gnuplot
> to plot the result. Now I'm thinking of use MPI to run a C program
> parallel in unix to get the result in a small time and take the
> advantage of GUI in Mac(MacOSX) to plot the simulation result. Is it
> posible or imposible? Of course the computers are networked.
Just link your GUI app to the same MPI library you're using on worker nodes.
If it's a UNIX library, it should build just fine on Mac OS X. Both Cocoa
and Carbon can access C functions easily, so use whatever kit you're
familiar with to gather data from the nodes and plot the results.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
| |
| SM Ryan 2005-03-27, 5:54 pm |
| # Until now, I always run a C simulation program in unix and use gnuplot
# to plot the result. Now I'm thinking of use MPI to run a C program
# parallel in unix to get the result in a small time and take the
# advantage of GUI in Mac(MacOSX) to plot the simulation result. Is it
# posible or imposible? Of course the computers are networked.
MacOSX is a BSD unix variant, so you can do the usual unixy things like sockets
and telnet and ssh and RPC and X-windows and all the rest. The system administration
is a bit different though, even from other BSDs.
However you may have to recompile everything. Macs use a different CPU than most
other unices and binaries will be incompatiable unless already compiled for it.
The native window system is not X but Aqua. If you want the full advantages of
Aqua, you have to redo your GUIs unless they're already in compatiable source code
like (presumably) GnuStep. Typical X-Windows programs have to be gutted and
rewritten; unfortunately there is no compatiablity library I know of that turns
Xlib calls into Aqua. You can run an X-server and client, but that's not
a Mac Aqua GUI. Aqua does not support client/server split on two different machines
the way X does; but an Aqua application can run as a network server or client
with you doing your own protocol over the socket.
--
SM Ryan http://www.rawbw.com/~wyrmwif/
Quit killing people. That's high profile.
| |
| Dave Seaman 2005-03-27, 5:54 pm |
| On Sun, 27 Mar 2005 15:15:51 -0000, SM Ryan wrote:
> The native window system is not X but Aqua. If you want the full advantages of
> Aqua, you have to redo your GUIs unless they're already in compatiable source code
> like (presumably) GnuStep. Typical X-Windows programs have to be gutted and
> rewritten; unfortunately there is no compatiablity library I know of that turns
> Xlib calls into Aqua. You can run an X-server and client, but that's not
> a Mac Aqua GUI. Aqua does not support client/server split on two different machines
> the way X does; but an Aqua application can run as a network server or client
> with you doing your own protocol over the socket.
If you have source code for an X11 app the first thing to try is to
compile and run it with Apple's X11 server on the Mac. If you use
Apple's own quartz-wm window manager, you get windows with the Aqua
appearance that merge in to the desktop right alongside Carbon and Cocoa
applications. There are lots of useful applications (many of them
available from fink.sf.net) that already run in that mode. Sure, it's
possible to rip out all the windowing code and rewrite it to use Aqua,
but that sounds like a lot of trouble compared to the alternative.
--
Dave Seaman
Judge Yohn's mistakes revealed in Mumia Abu-Jamal ruling.
<http://www.commoncouragepress.com/i...book&bookid=228>
|
|
|
|