[f2py] Compiling/linking the Fortran source files manually

Pearu Peterson pearu.peterson at gmail.com
Tue Apr 26 10:58:27 EEST 2011



On 04/26/2011 10:49 AM, Ben Forbes wrote:
> Modifying PATH makes it find the 64-bit compiler now. However, I'm
> still getting the same issues with the compiler and linker flags:
>
> ifort: command line warning #10006: ignoring unknown option '/shared'
> ifort: command line warning #10006: ignoring unknown option '/shared'
> ifort: command line warning #10006: ignoring unknown option '/LC:\Python27\libs'
> ifort: command line warning #10006: ignoring unknown option
> '/LC:\Python27\PCbuild\amd64'
> ifort: command line warning #10006: ignoring unknown option '/lpython27'
> ifort: command line warning #10006: ignoring unknown option '/OU'
> ifort: command line warning #10006: ignoring unknown option '/OT'
> ifort: command line warning #10155: ignoring option '/optimize';
> argument required
> ifort: command line warning #10006: ignoring unknown option '/O.'
> ifort: command line warning #10006: ignoring unknown option '/O\'
> ifort: command line warning #10006: ignoring unknown option '/Of'
> ifort: command line warning #10006: ignoring unknown option '/Oo'
> ifort: command line warning #10006: ignoring unknown option '/Oo'
> ifort: command line warning #10006: ignoring unknown option '/O.'
> ifort: command line remark #10010: option '/Op' is deprecated and will
> be removed in a future release.
> See '/help deprecated'
> ifort: command line warning #10148: option '-Oy' not supported

They are all warnings and therefore can be ignored... except
that '/shared' and '/lpython27' options should be fixed.
Consult the compiler help to find out how to properly
specify these options and modify intel.py accordingly.

HTH,
Pearu



More information about the f2py-users mailing list