Re: gfortran, g95, and dual-core
- From: Charles Russell <NOSPAM@xxxxxxxxxxxxx>
- Date: Sun, 30 Sep 2007 12:39:42 -0600
glen herrmannsfeldt wrote:
Tim Prince wrote:
> For example,(with f77 code) if the makefile
runs fsplit on a single source file, causes each subroutine to be
rebuilt separately, then combines individual objects into a single large
object, make doesn't automatically see the possibility of building the
individual objects in parallel.
Many people use nested makefiles. That is, running make from
inside the makefile. It would seem that if you ran fsplit,
then ran make on the resulting files it should be able to build
in parallel.
Is this a hypothetical "make" capable of recognizing multiprocessor hardware and acting accordingly, or does such a thing exist now, or am I totally confused? What tool actually does the parallelizing?
The fsplit example is not representative of my habits, which are to keep all routines in separate files and put everything but the main into static link libraries. If there is some special way to write makefiles for f77 to make them build faster on a multicore processor, I would like to know, but I am not sure that is what is being discussed here.
.
- Follow-Ups:
- Re: gfortran, g95, and dual-core
- From: Tim Prince
- Re: gfortran, g95, and dual-core
- From: Pierre Asselin
- Re: gfortran, g95, and dual-core
- From: glen herrmannsfeldt
- Re: gfortran, g95, and dual-core
- References:
- gfortran, g95, and dual-core
- From: Charles Russell
- Re: gfortran, g95, and dual-core
- From: FX
- Re: gfortran, g95, and dual-core
- From: Charles Russell
- Re: gfortran, g95, and dual-core
- From: Tim Prince
- Re: gfortran, g95, and dual-core
- From: glen herrmannsfeldt
- gfortran, g95, and dual-core
- Prev by Date: Re: gfortran, g95, and dual-core
- Next by Date: Re: gfortran, g95, and dual-core
- Previous by thread: Re: gfortran, g95, and dual-core
- Next by thread: Re: gfortran, g95, and dual-core
- Index(es):
Relevant Pages
|