New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14114 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

numpy: f2py does not work with g95

Reported by: luomo1138@… Owned by: ram@…
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

comment:1 Changed 5 years ago by ram@…

  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to ram@…

comment:2 Changed 5 years ago by ram@…

  • Milestone set to Port Bugs
  • Summary changed from f2py does not work with g95 to numpy: f2py does not work with g95

comment:3 Changed 5 years ago by ram@…

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 5 years ago by ram@…

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 5 years ago by ram@…

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:6 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.