Order of directory search for .mod files.

David Ham David.Ham@imperial.ac.uk
Thu Jun 5 15:49:00 GMT 2008


Daniel Franke wrote:
> On Thursday 05 June 2008 16:07:50 David Ham wrote:
>> We have recently noticed that gfortran appears to pick up .mod files
>> from default locations in preference to directories specified by -I
>> arguments on the command line. So, for example, if foo.mod is in
>> /usr/include and foo.mod is in /home/bar/somedir and the user types:
>>
>> gfortran -I/home/bar/somedir ...
>>
>> then gfortran will pick up /usr/include/foo.mod . 
> 
> Which version are you referring to? 
> Any recent built from svn or any of the released versions of 4.[23].x series?
> 
> Thanks
> 
> 	Daniel

I'm ashamed to say that I think we have reduced this to a local bug 
caused by environment variables expanding to silly things. Apologies for 
the wasted time.

David


-- 
Dr David Ham
Applied Modelling and Computation Group,
Department of Earth Science and Engineering,
Imperial College London,

http://amcg.ese.ic.ac.uk/index.php?title=David_Ham



More information about the Fortran mailing list