[f2py] intel compiler not detected
Frédéric Dubois
dubois at lmgc.univ-montp2.fr
Thu Jul 2 11:39:57 EEST 2009
Hello,
it probably comes from the way numpy detects the compilers.
you probably need to modify numpy/distutils/fcompiler/intel.py
regards
Nic.Reveles at gatech.edu a écrit :
> Hello,
>
> I am having problems with f2py not detecting intel compilers. Though it works great on my own Ubuntu computer, it fails to detect the intel compiler on two of the clusters I use. Since I have direct access to one of the clusters, I was hoping for help with specifically that one, but I should note that something nearly identical is occurring on another cluster I use.
>
> $ uname -a
> Linux master 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:59:20 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
>
> $ which ifort
> /home/user10/intel/fce/9.1.041/bin/ifort
>
> $ ifort -v
> Version 9.1
>
> $ f2py -c --help-fcompiler
> PGroupFCompiler instance properties:
> archiver = None
> compile_switch = '-c'
> compiler_f77 = ['/opt/pgi/linux86-64/6.2/bin/pgf77', '-fpic', '-
> Minform=inform', '-Mnosecond_underscore', '-fast']
> compiler_f90 = ['/opt/pgi/linux86-64/6.2/bin/pgf90', '-fpic', '-
> Minform=inform', '-Mnosecond_underscore', '-fast']
> compiler_fix = ['/opt/pgi/linux86-64/6.2/bin/pgf90', '-Mfixed', '-
> fpic', '-Minform=inform', '-Mnosecond_underscore', '-
> fast']
> libraries = []
> library_dirs = []
> linker_exe = None
> linker_so = ['/opt/pgi/linux86-64/6.2/bin/pgf90', '-shared', '-
> fpic', '-shared', '-fpic']
> object_switch = '-o '
> ranlib = None
> version = LooseVersion ('6.2-5')
> version_cmd = ['/opt/pgi/linux86-64/6.2/bin/pgf77', '-V 2>/dev/null']
> Fortran compilers found:
> --fcompiler=pg Portland Group Fortran Compiler (6.2-5)
> 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=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.
>
>
> I have found a posting of someone with a similar problem: http://osdir.com/ml/python.f2py.user/2008-07/msg00006.html
>
> I strongly believe that ifort has been installed correctly and that my environment variables are correctly setup (per the installation instructions). Does anyone know why the intel compiler is not being detected and possibly how to fix this?
>
> Thank you!
>
> Nic
>
> _______________________________________________
> f2py-users mailing list
> f2py-users at cens.ioc.ee
> http://cens.ioc.ee/mailman/listinfo/f2py-users
>
>
--
Frédéric Dubois, Eng, PhD
LMGC - UMR CNRS 5508
Université de Montpellier 2, cc 048
Place Eugène Bataillon
34095 Montpellier Cedex 05
Tel 33/0 467144984 - Fax 33/0 467143923
http://www.lmgc.univ-montp2.fr/~dubois/LMGC90
More information about the f2py-users
mailing list