[Scons-users] SCons ignoring FORTRANPATH
Dirk Bächle
tshortik at gmx.de
Wed Sep 24 03:25:07 EDT 2014
Hi Tom,
On 24.09.2014 09:00, Tom Cook wrote:
> Hi,
>
> I have a SCons build which includes a number of Fortran modules. For
> at least some of these modules, the FORTRANPATH variable seems to be
> ignored. The output of env.Dump() is shown at the end of this email,
> showing a number of directories listed in FORTRANPATH; however, when
> trying to build a Fortran source file, this command-line is used:
>
> gfortran -o "Build/Linux/Product/Calculation/ProductSim
> F/DTBWindInit.o" -c -cpp -ffixed-line-length-none
> -ffree-line-length-none -fcoarray=single
> "-JBuild/Linux/Product/Calculation/ProductSim F"
> "Source/Product/Calculation/ProductSim F/DTBInit.f90"
>
> (note that the command-line has been anonymised slightly for
> commercial reasons).
>
> What could cause this?
my first bet would be the space in your pathnames like
"Linux/Product/Calculation/ProductSim F". Can you rename the folder(s)
for testing only, and then try again without spaces?
Apart from that, it would be good to know which version of SCons you're
using at the moment. The Python version is also helpful sometimes...
Best regards,
Dirk
More information about the Scons-users
mailing list