Re: Unix Commands on Cluster



"Mr. CFD" <s2108860@xxxxxxxxxxxxxxxxxxx> writes:
[...]
My problem is well suited for parallelism, thus I&#8217;m using the parfor
capability to accelerate the computation process. Ideally, I want to duplicate
whatever I have done on my desktop onto the clusters. The program used to
analyze the shapes has been successfully installed onto the Linux platform. Now,
I want to use my MALTAB code to analyse &#8216;n&#8217; shapes. Firstly, I need
to verify that I can &#8216;key&#8217; in commands in MATLAB to access
information on unix on the cluster thus, my initial question, which you cleared
up. Assuming that this works, my next question is how can I duplicate the role
of the vb scripts which work well in the windows-DOS environment for operations
on Linux. Basically, I need an automatic scripting structure, similar to what
was duplicated on my desktop using the vb script and .bat files which MATLAB
used. I&#8217;m not sure how this is done on unix systems from MATLAB. Could you
please suggest any possible techniques?

You have a few options here for scripting in UNIX. You could use UNIX "shell
scripting", which is the UNIX equivalent of a DOS .bat file, or you could use a
perl script. Perl has the advantage of being cross-platform, so (tweaks aside to
get it working right in both places), this might suit you the best. See here for
more:

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/perl.html

Cheers,

Edric.
.



Relevant Pages

  • Re: [ Attn: Randy ] Ad-hoc Parsing?
    ... thing I've been doing is comparing bash and batch scripting in Win/DOS, ... > Isn't this a compare of Unix and DOS shell scripts? ...
    (alt.lang.asm)
  • Re: [ Attn: Randy ] Ad-hoc Parsing?
    ... > you also were comparing scripting in unix with scripting ... > DOS batch files are no closer to the CPU than Unix shell scripts. ...
    (alt.lang.asm)
  • Duplicate output line in child-parent process.
    ... I'm new to UNIX programming and am trying to ... Here's the output that I've received and you'll note duplicate "Value ... int main ... Entering child process. ...
    (comp.unix.programmer)
  • Re: Favorite scripts
    ... > I am teaching a Shell Scripting Class at North Lake College and would ... > like ideas for scripting labs. ... The students have had Unix I and read ... > "Bulletproof Unix" so they have a solid grounding in Unix. ...
    (comp.unix.shell)
  • Re: Favorite scripts
    ... > like ideas for scripting labs. ... The students have had Unix I and read ... > "Bulletproof Unix" so they have a solid grounding in Unix. ... > be so kind as to send me favorite, production type Bourne or Korn Shell ...
    (comp.unix.shell)

Loading