Re: gfortran, g95, and dual-core



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.
.



Relevant Pages

  • Re: gfortran, g95, and dual-core
    ... > For example,(with f77 code) if the makefile ... then combines individual objects into a single large ... utilities with more difference from recognized standards. ...
    (comp.lang.fortran)
  • Re: gfortran, g95, and dual-core
    ... Tim Prince wrote: ... > For example,(with f77 code) if the makefile ... then combines individual objects into a single large ...
    (comp.lang.fortran)
  • Re: gfortran, g95, and dual-core
    ... Tim Prince wrote: ... For example,(with f77 code) if the makefile ... then combines individual objects into a single large ...
    (comp.lang.fortran)
  • Re: gfortran, g95, and dual-core
    ... For example,if the makefile ... then combines individual objects into a single large ... interested in the 2 level relocatable object build. ... Compiler vendors don't advocate 2 level relocatable object builds. ...
    (comp.lang.fortran)