All, I've been trying to ensure my code is portable by using a module that defines a variable wp to be used to define the precision of a variable: use tl_kind, ONLY : wp real(wp) :: working_precision_variable f2py doesn't seem to like the kind wp. Is there a simple way to get this to work without modifying all my code ? Thanks, Tim Lahey