1 Reply Latest reply on Dec 4, 2009 9:06 AM by Rasale

    compiling numpy with opencc and openf90?

    forrestbao
      has any one tried compiling numpy with opencc and openf90?

      hi there, has any one tried compiling numpy with opencc and openf90? I can't specify the fortran and c compiler.

      This is what I saw for my compilers:

      $ python setup.py build --help-fcompiler
      Running from numpy source directory.
      Fortran compilers found:
      Compilers available for this platform, but not found:
        --fcompiler=absoft   Absoft Corp Fortran Compiler
        --fcompiler=compaq   Compaq Fortran Compiler
        --fcompiler=g95      G95 Fortran Compiler
        --fcompiler=gnu      GNU Fortran 77 compiler
        --fcompiler=gnu95    GNU Fortran 95 compiler
        --fcompiler=intel    Intel Fortran Compiler for 32-bit apps
        --fcompiler=intele   Intel Fortran Compiler for Itanium apps
        --fcompiler=intelem  Intel Fortran Compiler for EM64T-based apps
        --fcompiler=lahey    Lahey/Fujitsu Fortran 95 Compiler
        --fcompiler=nag      NAGWare Fortran 95 Compiler
        --fcompiler=pg       Portland Group Fortran Compiler
        --fcompiler=vast     Pacific-Sierra Research Fortran 90 Compiler
      Compilers not available on this platform:
        --fcompiler=hpux     HP Fortran 90 Compiler
        --fcompiler=ibm      IBM XL Fortran Compiler
        --fcompiler=intelev  Intel Visual Fortran Compiler for Itanium apps
        --fcompiler=intelv   Intel Visual Fortran Compiler for 32-bit apps
        --fcompiler=mips     MIPSpro Fortran Compiler
        --fcompiler=none     Fake Fortran compiler
        --fcompiler=sun      Sun or Forte Fortran 95 Compiler
      For compiler details, run 'config_fc --verbose' setup command.

      $ python setup.py build --help-compiler
      Running from numpy source directory.
      List of available compilers:
        --compiler=bcpp     Borland C++ Compiler
        --compiler=cygwin   Cygwin port of GNU C Compiler for Win32
        --compiler=emx      EMX port of GNU C Compiler for OS/2
        --compiler=intel    Intel C Compiler for 32-bit applications
        --compiler=intele   Intel C Itanium Compiler for Itanium-based applications
        --compiler=mingw32  Mingw32 port of GNU C Compiler for Win32
        --compiler=msvc     Microsoft Visual C++
        --compiler=mwerks   MetroWerks CodeWarrior
        --compiler=unix     standard UNIX-style compiler

        • compiling numpy with opencc and openf90?
          Rasale

          Hi,

          Support for  Open64 needs to be added Numpy. Looks like the framework is such that one needs to modify/add to the python scripts appropriately to make it suitable use a new compiler.

          We will work on that and get back. If you have a timeline in mind, for this, do let us know and we can schedule it accordingly.

          Anupama