Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14114 closed defect (fixed)

numpy: f2py does not work with g95

Reported by: luomo1138@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

f2py does not work with g95.

The file

/opt/local/lib/python2.5/site-packages/numpy/distutils/fcompiler/g95.py

contains the wrong linker flags.

Line 24 should be changed from

'linker_so' : ["<F90>","-static"],

to

'linker_so' : ["<F90>","-dynamiclib -L/opt/local/lib -lpython2.5"],

Change History (6)

comment:1 Changed 17 years ago by skymoo (Adam Mercer)

Owner: changed from macports-tickets@… to ram@…
Status: newassigned

comment:2 Changed 17 years ago by skymoo (Adam Mercer)

Milestone: Port Bugs
Summary: f2py does not work with g95numpy: f2py does not work with g95

comment:3 Changed 17 years ago by skymoo (Adam Mercer)

Applying this patch allows me to build scipy using g95, I'll reinstate the different fortran compiler variants and get this committed. Thanks!

comment:4 Changed 17 years ago by skymoo (Adam Mercer)

Patch applied to numpy in r33616, can you check that you're able to use f2py with g95 then I'll readd the different fortran compiler variants.

comment:5 Changed 17 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.