From: Dima Pasechnik <dima@duti515a.twi.tudelft.nl>
Newsgroups: comp.lang.fortran,comp.parallel.pvm
Subject: Re: fortran77 programming
Date: 30 Nov 1998 16:45:53 +0100
Organization: Delft University of Technology
Message-Id: <t3af19xjym.fsf@duti515a.twi.tudelft.nl>
References: <3660D892.E1EDBF12@est.it>
    <Pine.GSO.3.96.981130030711.19740A-100000@mars>
Reply-To: d.pasechnik@twi.tudelft.nl
Xref: ukc comp.lang.fortran:61739 comp.parallel.pvm:7809


Andres Martinez <amarti21@calstatela.edu> writes:

> On Sun, 29 Nov 1998, Paolo Pumilia wrote:
> 
> > I plan to set up a libc6 based linux box with to processors on
> > the mainboard to speed up the execution of cyclic fortran routines. 
> > I am currenlty involved with dynamilcal simulations in statistical
> > physics where two or more do-loops are nested and executed a very
> > large number of times. 
> > I run through parallel-processing howto but i need some quick hints,
> > since i am very new to this matter.
> > My first questions are: 
> >  -  will my fortran77 programs, without any change,
> >     run in parallel on a two processor machine, provided that kernel
> >     as been compiled using SMP=1 in the makefile?
> 
> No.  The kernel will execute the program on one processor only.  In
> order to execute the program on more than one processor, you need to
> makes changes to your code either manually or through a good compiler
> (one that costs $$$).
Well, there seems to be a free (for personal use) f90 compiler
that supports Linux SMP:
http://www.psrv.com/

I didn't try it myself though.
There might be other, check up the newest versions of Linux-SMP Howto/FAQ.

Dmitrii

