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
Hi,
You can create a setup.py file containing
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration(None,parent_package,top_path)
config.add_library('flib', sources = [test.f95])
config.add_extension('cte
On Sat, Oct 9, 2010 at 8:18 PM, Ioan Ferencik wrote:
> I would like to compile some Fortran code using python, build a
> shared library, and link to it using python. But I get a message
> saying the compiler does not recognise the extension of my file.
>
> this is my command:
>
> gcc -fPIC -c -s
I would like to compile some Fortran code using python, build a
shared library, and link to it using python. But I get a message
saying the compiler does not recognise the extension of my file.
this is my command:
gcc -fPIC -c -shared -fno-underscoring test.f95 -o ./lib/libctest.so.1.0
wha