Re: Non-recursive make with Fortran object files

2012-12-05 Thread Dave Goodell
On Dec 5, 2012, at 2:29 AM PST, Alexis Praga wrote: >> If you don't need a fully robust strategy that works for parallel make >> and all sorts of different corner cases (particular files deleted/touched, >> etc.), then you can likely get by with a simpler set of rules. > > Actually, even when I d

Re: Non-recursive make with Fortran object files

2012-12-05 Thread Alexis Praga
On Wed, Dec 5, 2012 at 10:46 AM, Alexis Praga wrote: > Here is my answer. Sorry for not putting it into a separate mail. > > > >> Generating stuff only when "make install" is issued seems > counter-intuitive. > >> Why are you doing this exactly? > > I need to generate test scripts after the config

Re: Non-recursive make with Fortran object files

2012-12-05 Thread Alexis Praga
>> Most (all?) modern Fortran compilers have some sort of flag that can be used in order to specify the output directory for the .mod files. Could you explain what is the alternative MPICH strategy for compilers which do not support this kind of flag ? > If you don't need a fully robust strategy

Re: Non-recursive make with Fortran object files

2012-12-05 Thread Alexis Praga
Here is my answer. Sorry for not putting it into a separate mail. >> Generating stuff only when "make install" is issued seems counter-intuitive. >> Why are you doing this exactly? I need to generate test scripts after the configure step, and I do not wish to rebuild them each time the code is c

Fwd: Non-recursive make with Fortran object files

2012-12-04 Thread Dave Goodell
[bringing off-list response back to the list] Begin forwarded message: > From: Percifal Wulfric > Subject: Re: Non-recursive make with Fortran object files > Date: December 4, 2012 8:20:01 AM PST > To: Dave Goodell > > First, sorry for the delay. My mails were not c

Re: Non-recursive make with Fortran object files

2012-12-02 Thread Dave Goodell
On Dec 2, 2012, at 8:43 AM CST, Stefano Lattarini wrote: > On 12/02/2012 12:19 PM, Alexis Praga wrote: >> Hi, >> >> I am using non-recursive strategy for compiling my Fortran code. At the >> moment, the .mod files are put in the top directory. >> How can I tell automake to put them in the same fo

Re: Non-recursive make with Fortran object files

2012-12-02 Thread Dave Goodell
On Dec 2, 2012, at 5:19 AM CST, Alexis Praga wrote: > I am using non-recursive strategy for compiling my Fortran code. At the > moment, the .mod files are put in the top directory. > How can I tell automake to put them in the same folder as the source files > ? > The subdir-objects option in confi

Re: Non-recursive make with Fortran object files

2012-12-02 Thread Stefano Lattarini
On 12/02/2012 12:19 PM, Alexis Praga wrote: > Hi, > > I am using non-recursive strategy for compiling my Fortran code. At the > moment, the .mod files are put in the top directory. > How can I tell automake to put them in the same folder as the source files > ? > What are these .mod files exactly?

Non-recursive make with Fortran object files

2012-12-02 Thread Alexis Praga
Hi, I am using non-recursive strategy for compiling my Fortran code. At the moment, the .mod files are put in the top directory. How can I tell automake to put them in the same folder as the source files ? The subdir-objects option in configure.ac works only for the .o files. Another unrelated qu