make -j2 check-gfortran

Tim Prince n8tm@aol.com
Tue Oct 20 13:41:00 GMT 2009


Janus Weil wrote:

> just a quick question: What's the status of running the testsuite via
> a parallel make? Is this supposed to work?
A long time ago, it used to work fine.  I've seen no explanation of why 
it changed.  It may be that it's worst on targets which the developers 
don't care about.  make -j may not be of any help if you are running 
only the gfortran testsuite; it would normally be used in an attempt to 
run several testsuites in parallel.
> 
> In principle it seems to work for me, just the output is a little
> scrambled (see attachment). Also: Why is "=== gfortran Summary ==="
> printed four times? Ideally I would like it printed out just once.
> Otherwise, my expectation for -j2 would be that it might happen twice
> (not four times).
This business of restarting the testsuite doesn't depend on the count 
specified.  If spurious restarts die with nothing but a summary header, 
you're relatively lucky.
> 
> Has anyone else tried this lately (or even does it on a regular
> basis)? Is there a way to make it print a consistent summary instead
> of randomly scattered stuff?

When you run contrib/test_summary, the various runs will be separated, 
as they are logged separately.  I normally keep only the log files from 
the most complete run.



More information about the Fortran mailing list