[Numpy-discussion] how do I configure with gfortran

Mathew mathewww@charter....
Fri Jul 6 11:19:24 CDT 2007


nope. try again
% python setup.py -v config_fc --fcompiler=gfortran  install

Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2_3882
blas_opt_info:
blas_mkl_info:
( library_dirs = /u/vento0/myeates/lib:/usr/lib )
( include_dirs = /usr/include:/u/vento0/myeates/include )
(paths: )
(paths: )
(paths: )
(paths: )
(paths: )
(paths: )
  libraries mkl,vml,guide not found in /u/vento0/myeates/lib
(paths: )
(paths: )
(paths: )
(paths: )
(paths: )
(paths: )
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
( library_dirs = /u/vento0/myeates/lib:/usr/lib )
(paths: )
(paths: )
(paths: )
(paths: /u/vento0/myeates/lib/libptf77blas.a)
(paths: )
(paths: /u/vento0/myeates/lib/libptcblas.a)
(paths: )
(paths: /u/vento0/myeates/lib/libatlas.a)
Setting PTATLAS=ATLAS
( include_dirs = /usr/include:/u/vento0/myeates/include )
(paths: )
(paths: /u/vento0/myeates/include/atlas)
(paths: /u/vento0/myeates/include/cblas.h)
Setting PTATLAS=ATLAS
( library_dirs = /u/vento0/myeates/lib:/usr/lib )
(paths: )
(paths: )
  FOUND:
    libraries = ['ptf77blas', 'ptcblas', 'atlas']
    library_dirs = ['/u/vento0/myeates/lib']
    language = c
    include_dirs = ['/u/vento0/myeates/include']

new_compiler returns distutils.unixccompiler.UnixCCompiler
customize GnuFCompiler
find_executable('g77')
Found executable /usr/bin/g77
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found

David M. Cooke wrote:
> On Jul 2, 2007, at 12:02 , Andrew Jaffe wrote:
>
>   
>> I wrote:
>>
>>     
>>> This is slightly off-topic, but probably of interest to anyone  
>>> reading
>>> this thread:
>>>
>>> Is there any reason why we don't use --fcompiler=gfortran as an alias
>>> for --fcompiler=gfortran (and --fcompiler=g77 as an alias for
>>> --fcompiler=gnu, for that matter)?
>>>       
>> But, sorry, of course this should be:
>>
>>    Is there any reason why we don't use --fcompiler=gfortran as an  
>> alias
>>    for --fcompiler=gnu95?
>>
>>     
>>> Those seem to me to be much more mnemonic names...
>>>       
>
> I've added support in r3882 for aliases, so --fcompiler=gfortran  
> works as --fcompiler=gnu95 (and g77 for gnu, and ifort for intel).
>
>   



More information about the Numpy-discussion mailing list