[Numpy-discussion] numpy 1.1.0 build can not find lahey (lf95) fortran compiler (short version)

Lewis E. Randerson lranderson@pppl....
Mon Jun 2 08:48:22 CDT 2008


Here's fuller output from the lahey.py script.

python
/usr/pppl/python/2.5.2/lib/python2.5/site-packages/numpy/distutils/fcompiler/
lahey.py
customize LaheyFCompiler
find_executable('lf95')
Found executable /usr/pppl/lff95/6.20c/bin/lf95
exec_command(['/usr/pppl/lff95/6.20c/bin/lf95', '--version'],)
Retaining cwd:
/local/randerso/2008-06-01/numpy-1.1.0/numpy/distutils/fcompiler
_preserve_environment([])
_update_environment(...)
_exec_command_posix(...)
Running os.system('( /usr/pppl/lff95/6.20c/bin/lf95 --version ; echo $? >
/tmp/tmp5WTGB6/Miygel ) > /tmp/tmp5WTGB6/yKqO37 2>&1')
_update_environment(...)
None
removing /tmp/tmp5WTGB6

Hmmm.  Maybe it doesn't like the version?.
How can I find that out? 

--Lew 

-----Original Message-----
From: Lewis E. Randerson 
Sent: Monday, June 02, 2008 9:39 AM
To: 'Discussion of Numerical Python'
Subject: RE: [Numpy-discussion] numpy 1.1.0 build can not find lahey (lf95)
fortran compiler (short version)

Hi,

When executing numpy/distutils/fcompiler/lahey.py,
  I get "none"

Here is what I get from the following command. Note the 
Lahey entry under: 
 Compilers available for this platform, but not found:

============================ available compilers ==========
python setup.py config_fc --help-fcompiler Running from numpy source
directory.
GnuFCompiler instance properties:
  archiver        = ['/usr/bin/g77', '-cr']
  compile_switch  = '-c'
  compiler_f77    = ['/usr/bin/g77', '-g', '-Wall', '-fno-second-
                    underscore', '-fPIC', '-O2', '-funroll-loops', '-mmmx',
'-
                    m3dnow', '-msse2', '-msse']
  compiler_f90    = None
  compiler_fix    = None
  libraries       = ['g2c']
  library_dirs    = []
  linker_exe      = ['/usr/bin/g77', '-g', '-Wall', '-g', '-Wall']
  linker_so       = ['/usr/bin/g77', '-g', '-Wall', '-g', '-Wall', '-
                    shared']
  object_switch   = '-o '
  ranlib          = ['/usr/bin/g77']
  version         = LooseVersion ('3.2.3')
  version_cmd     = ['/usr/bin/g77', '--version']
Fortran compilers found:
  --fcompiler=gnu  GNU Fortran 77 compiler (3.2.3)
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=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.

--Lew 

-----Original Message-----
From: numpy-discussion-bounces@scipy.org
[mailto:numpy-discussion-bounces@scipy.org] On Behalf Of David Cournapeau
Sent: Monday, June 02, 2008 8:23 AM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] numpy 1.1.0 build can not find lahey (lf95)
fortran compiler (short version)

Lewis E. Randerson wrote:
> I am seeing these warnings:
>   warning: build_ext: f77_compiler=lahey is not available.
>   
>   

Hi Lewis,

    What happens when you execute directly the file 
numpy/distutils/fcompiler/lahey.py ?

    cheers,

    David
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


More information about the Numpy-discussion mailing list