compile fortran from python

Oct. 25, 2010
2:18 p.m.
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
5268
Age (days ago)
5268
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ioan Ferencik