[Numpy-discussion] compile fortran from python

Ioan Ferencik ioan.ferencik@tkk...
Mon Oct 25 09:18:44 CDT 2010


Hello list,

on compiling some F95 code into a library I got following message:

Warning: Nonconforming tab character at (1)

i figured out it is because setup uses default compiler flags. this is  
my set-up command

  python setup.py config_fc --fcompiler=gnu95 install --home=./tbuild

I tried to pass -ffree-form flag to the setup using build_info parameter

config.add_library('hm1d', sources = ['src/hm1d.f95'], build_info =  
{'extra_compiler_args':'-ffree-form'})

but is still get the warnings.
the setup does not seem to receive these flags or it is ignoring them.


Any hints?

Cheers


Ioan Ferencik
PhD student
Aalto University
School of Science and Technology
Faculty Of Civil and Env. Engineering
Lahti Center
Tel: +358505122707




More information about the NumPy-Discussion mailing list