Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-29 Thread Albert Strasheim
Hello all

- Original Message - 
From: David M. Cooke [EMAIL PROTECTED]
To: Discussion of Numerical Python numpy-discussion@scipy.org
Sent: Friday, May 25, 2007 7:50 PM
Subject: Re: [Numpy-discussion] build problem on RHE3 machine


 On Fri, May 25, 2007 at 12:45:32PM -0500, Robert Kern wrote:
 David M. Cooke wrote:
  On Fri, May 25, 2007 at 07:25:15PM +0200, Albert Strasheim wrote:
  I'm still having problems on Windows with r3828. Build command:
 
  python setup.py -v config --compiler=msvc build_clib --compiler=msvc
  build_ext --compiler=msvc bdist_wininst
 
  Can you send me the output of
 
  python setup.py -v config_fc --help-fcompiler
 
  And what fortran compiler are you trying to use?

 If he's trying to build numpy, he shouldn't be using *any* Fortran 
 compiler.

 Ah true. Still, config_fc wll say it can't find one (and that should be 
 fine).
 I think the bug has to do with how it searches for a compiler.

I see there's been more work on numpy.distutils, but I still can't build 
r3841 on a normal Windows system with Visual Studio .NET 2003 installed.

Is there any info I can provide to get this issue fixed?

Thanks.

Cheers,

Albert 

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


Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-29 Thread David M. Cooke
On May 29, 2007, at 08:56 , Albert Strasheim wrote:

 Hello all

 - Original Message -
 From: David M. Cooke [EMAIL PROTECTED]
 To: Discussion of Numerical Python numpy-discussion@scipy.org
 Sent: Friday, May 25, 2007 7:50 PM
 Subject: Re: [Numpy-discussion] build problem on RHE3 machine


 On Fri, May 25, 2007 at 12:45:32PM -0500, Robert Kern wrote:
 David M. Cooke wrote:
 On Fri, May 25, 2007 at 07:25:15PM +0200, Albert Strasheim wrote:
 I'm still having problems on Windows with r3828. Build command:

 python setup.py -v config --compiler=msvc build_clib -- 
 compiler=msvc
 build_ext --compiler=msvc bdist_wininst

 Can you send me the output of

 python setup.py -v config_fc --help-fcompiler

 And what fortran compiler are you trying to use?

 If he's trying to build numpy, he shouldn't be using *any* Fortran
 compiler.

 Ah true. Still, config_fc wll say it can't find one (and that  
 should be
 fine).
 I think the bug has to do with how it searches for a compiler.

 I see there's been more work on numpy.distutils, but I still can't  
 build
 r3841 on a normal Windows system with Visual Studio .NET 2003  
 installed.

 Is there any info I can provide to get this issue fixed?

Anything you've got :) The output of these are hopefully useful to me  
(after removing build/):

$ python setup.py -v build
$ python setup.py -v config_fc --help-fcompiler

-- 
||\/|
/--\
|David M. Cooke  http://arbutus.physics.mcmaster.ca/dmc/
|[EMAIL PROTECTED]

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


Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-29 Thread Albert Strasheim

Hello all

- Original Message - 
From: David M. Cooke [EMAIL PROTECTED]

To: Discussion of Numerical Python numpy-discussion@scipy.org
Cc: Albert Strasheim [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2007 6:58 PM
Subject: Re: [Numpy-discussion] build problem on RHE3 machine



Is there any info I can provide to get this issue fixed?


Anything you've got :) The output of these are hopefully useful to me  
(after removing build/):


$ python setup.py -v build
$ python setup.py -v config_fc --help-fcompiler


Attached as build1.log and build2.log.

Cheers,

Albert

build2.log
Description: Binary data


build1.log
Description: Binary data
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-25 Thread David M. Cooke
On Fri, May 25, 2007 at 08:27:47AM -0400, Christopher Hanley wrote:
 Good Morning,
 
 When attempting to do my daily numpy build from svn I now receive the 
 following error.  I am a Redhat Enterprise 3 Machine running Python 2.5.1.
 
libraries lapack_atlas not found in /usr/local/lib
libraries f77blas,cblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
 numpy.distutils.system_info.atlas_info
NOT AVAILABLE
 
 /data/sparty1/dev/numpy/numpy/distutils/system_info.py:1221: UserWarning:
  Atlas (http://math-atlas.sourceforge.net/) libraries not found.
  Directories to search for the libraries can be specified in the
  numpy/distutils/site.cfg file (section [atlas]) or by setting
  the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
 lapack_info:
libraries lapack not found in /usr/stsci/pyssgdev/Python-2.5.1/lib
libraries lapack not found in /usr/local/lib
FOUND:
  libraries = ['lapack']
  library_dirs = ['/usr/lib']
  language = f77
 
FOUND:
  libraries = ['lapack', 'blas']
  library_dirs = ['/usr/lib']
  define_macros = [('NO_ATLAS_INFO', 1)]
  language = f77
 
 running install
 running build
 running config_cc
 unifing config_cc, config, build_clib, build_ext, build commands 
 --compiler options
 running config_fc
 unifing config_fc, config, build_clib, build_ext, build commands 
 --fcompiler options
 running build_src
 building py_modules sources
 creating build
 creating build/src.linux-i686-2.5
 creating build/src.linux-i686-2.5/numpy
 creating build/src.linux-i686-2.5/numpy/distutils
 building extension numpy.core.multiarray sources
 creating build/src.linux-i686-2.5/numpy/core
 Generating build/src.linux-i686-2.5/numpy/core/config.h
 customize GnuFCompiler
 customize IntelFCompiler
 Could not locate executable ifort
 Could not locate executable ifc
 customize LaheyFCompiler
 Could not locate executable lf95
 customize PGroupFCompiler
 Could not locate executable pgf90
 customize AbsoftFCompiler
 Could not locate executable f90
 customize NAGFCompiler
 Could not locate executable f95
 customize VastFCompiler
 customize GnuFCompiler
 customize CompaqFCompiler
 Could not locate executable fort
 customize IntelItaniumFCompiler
 Could not locate executable ifort
 Could not locate executable efort
 Could not locate executable efc
 customize IntelEM64TFCompiler
 Could not locate executable ifort
 Could not locate executable efort
 Could not locate executable efc
 customize Gnu95FCompiler
 Could not locate executable gfortran
 Could not locate executable f95
 customize G95FCompiler
 Could not locate executable g95
 error: don't know how to compile Fortran code on platform 'posix'
 
 This problem is new this morning.

Hmm, my fault. I'll have a look.

-- 
||\/|
/--\
|David M. Cooke  http://arbutus.physics.mcmaster.ca/dmc/
|[EMAIL PROTECTED]
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-25 Thread David M. Cooke
On Fri, May 25, 2007 at 08:27:47AM -0400, Christopher Hanley wrote:
 Good Morning,
 
 When attempting to do my daily numpy build from svn I now receive the 
 following error.  I am a Redhat Enterprise 3 Machine running Python 2.5.1.
 
libraries lapack_atlas not found in /usr/local/lib
libraries f77blas,cblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
 numpy.distutils.system_info.atlas_info
NOT AVAILABLE
 
 /data/sparty1/dev/numpy/numpy/distutils/system_info.py:1221: UserWarning:
  Atlas (http://math-atlas.sourceforge.net/) libraries not found.
  Directories to search for the libraries can be specified in the
  numpy/distutils/site.cfg file (section [atlas]) or by setting
  the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
 lapack_info:
libraries lapack not found in /usr/stsci/pyssgdev/Python-2.5.1/lib
libraries lapack not found in /usr/local/lib
FOUND:
  libraries = ['lapack']
  library_dirs = ['/usr/lib']
  language = f77
 
FOUND:
  libraries = ['lapack', 'blas']
  library_dirs = ['/usr/lib']
  define_macros = [('NO_ATLAS_INFO', 1)]
  language = f77
 
 running install
 running build
 running config_cc
 unifing config_cc, config, build_clib, build_ext, build commands 
 --compiler options
 running config_fc
 unifing config_fc, config, build_clib, build_ext, build commands 
 --fcompiler options
 running build_src
 building py_modules sources
 creating build
 creating build/src.linux-i686-2.5
 creating build/src.linux-i686-2.5/numpy
 creating build/src.linux-i686-2.5/numpy/distutils
 building extension numpy.core.multiarray sources
 creating build/src.linux-i686-2.5/numpy/core
 Generating build/src.linux-i686-2.5/numpy/core/config.h
 customize GnuFCompiler
 customize IntelFCompiler
 Could not locate executable ifort
 Could not locate executable ifc
 customize LaheyFCompiler
 Could not locate executable lf95
 customize PGroupFCompiler
 Could not locate executable pgf90
 customize AbsoftFCompiler
 Could not locate executable f90
 customize NAGFCompiler
 Could not locate executable f95
 customize VastFCompiler
 customize GnuFCompiler
 customize CompaqFCompiler
 Could not locate executable fort
 customize IntelItaniumFCompiler
 Could not locate executable ifort
 Could not locate executable efort
 Could not locate executable efc
 customize IntelEM64TFCompiler
 Could not locate executable ifort
 Could not locate executable efort
 Could not locate executable efc
 customize Gnu95FCompiler
 Could not locate executable gfortran
 Could not locate executable f95
 customize G95FCompiler
 Could not locate executable g95
 error: don't know how to compile Fortran code on platform 'posix'
 
 This problem is new this morning.

Could you send me the results of running with the -v flag?
i.e., python setup.py -v build


-- 
||\/|
/--\
|David M. Cooke  http://arbutus.physics.mcmaster.ca/dmc/
|[EMAIL PROTECTED]
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-25 Thread Albert Strasheim
I'm still having problems on Windows with r3828. Build command:

python setup.py -v config --compiler=msvc build_clib --compiler=msvc 
build_ext --compiler=msvc bdist_wininst

Output:

F2PY Version 2_3828
blas_opt_info:
blas_mkl_info:
( library_dirs = C:\Program 
Files\Intel\MKL\9.0\ia32\lib:C:\Python24\lib:C:\:C:\Python24\libs )
( include_dirs = C:\Program 
Files\Intel\MKL\9.0\include:C:\Python24\include )
(paths: )
(paths: )
(paths: )
(paths: )
(paths: C:\Program Files\Intel\MKL\9.0\ia32\lib\mkl_c.lib)
(paths: )
(paths: )
(paths: )
(paths: )
(paths: C:\Program Files\Intel\MKL\9.0\ia32\lib\libguide40.lib)
( library_dirs = C:\Program 
Files\Intel\MKL\9.0\ia32\lib:C:\Python24\lib:C:\:C:\Python24\libs )
  FOUND:
libraries = ['mkl_c', 'libguide40']
library_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\ia32\\lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\include', 
'C:\\Python24\\include']

( library_dirs = C:\Python24\lib:C:\:C:\Python24\libs )
  FOUND:
libraries = ['mkl_c', 'libguide40']
library_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\ia32\\lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\include', 
'C:\\Python24\\include']

lapack_opt_info:
lapack_mkl_info:
mkl_info:
( library_dirs = C:\Program 
Files\Intel\MKL\9.0\ia32\lib:C:\Python24\lib:C:\:C:\Python24\libs )
( include_dirs = C:\Program 
Files\Intel\MKL\9.0\include:C:\Python24\include )
(paths: )
(paths: )
(paths: )
(paths: )
(paths: C:\Program Files\Intel\MKL\9.0\ia32\lib\mkl_c.lib)
(paths: )
(paths: )
(paths: )
(paths: )
(paths: C:\Program Files\Intel\MKL\9.0\ia32\lib\libguide40.lib)
( library_dirs = C:\Program 
Files\Intel\MKL\9.0\ia32\lib:C:\Python24\lib:C:\:C:\Python24\libs )
  FOUND:
libraries = ['mkl_c', 'libguide40']
library_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\ia32\\lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\include', 
'C:\\Python24\\include']

( library_dirs = C:\Program 
Files\Intel\MKL\9.0\ia32\lib:C:\Python24\lib:C:\:C:\Python24\libs )
  FOUND:
libraries = ['mkl_lapack', 'mkl_c', 'libguide40']
library_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\ia32\\lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\include', 
'C:\\Python24\\include']

( library_dirs = C:\Python24\lib:C:\:C:\Python24\libs )
  FOUND:
libraries = ['mkl_lapack', 'mkl_c', 'libguide40']
library_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\ia32\\lib']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\\Program Files\\Intel\\MKL\\9.0\\include', 
'C:\\Python24\\include']

running config
running build_clib
running build_ext
running build_src
building py_modules sources
building extension numpy.core.multiarray sources
Generating build\src.win32-2.4\numpy\core\config.h
No module named msvccompiler in numpy.distutils; trying from distutils
new_compiler returns distutils.msvccompiler.MSVCCompiler
0
1
customize GnuFCompiler
find_executable('g77')
Could not locate executable g77
find_executable('f77')
Could not locate executable f77
_find_existing_fcompiler: compiler_type='gnu' not found
customize IntelVisualFCompiler
find_executable('ifl')
Could not locate executable ifl
_find_existing_fcompiler: compiler_type='intelv' not found
customize AbsoftFCompiler
find_executable('f90')
Could not locate executable f90
find_executable('f77')
Could not locate executable f77
_find_existing_fcompiler: compiler_type='absoft' not found
customize CompaqVisualFCompiler
find_executable('DF')
Could not locate executable DF
_find_existing_fcompiler: compiler_type='compaqv' not found
customize IntelItaniumVisualFCompiler
find_executable('efl')
Could not locate executable efl
_find_existing_fcompiler: compiler_type='intelev' not found
customize Gnu95FCompiler
find_executable('gfortran')
Could not locate executable gfortran
find_executable('f95')
Could not locate executable f95
_find_existing_fcompiler: compiler_type='gnu95' not found
customize G95FCompiler
find_executable('g95')
Could not locate executable g95
_find_existing_fcompiler: compiler_type='g95' not found
removed c:\docume~1\albert\locals~1\temp\tmp1gax32__dummy.f
removed c:\docume~1\albert\locals~1\temp\tmp_lgu9f__dummy.f
removed c:\docume~1\albert\locals~1\temp\tmp4vpnwa__dummy.f
removed c:\docume~1\albert\locals~1\temp\tmp8xx1ll__dummy.f
removed c:\docume~1\albert\locals~1\temp\tmp4veorf__dummy.f
removed c:\docume~1\albert\locals~1\temp\tmpwjdbiy__dummy.f
Running from numpy source directory.
error: don't know how to compile Fortran code on platform 'nt'

- Original Message - 
From: Christopher Hanley [EMAIL PROTECTED]
To: Discussion of Numerical Python numpy-discussion@scipy.org
Sent: Friday, May 25, 2007 6:52 PM
Subject: Re: [Numpy-discussion] build problem on RHE3 machine


 Sorry I didn't respond sooner.  It seems to have taken

Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-25 Thread Robert Kern
David M. Cooke wrote:
 On Fri, May 25, 2007 at 07:25:15PM +0200, Albert Strasheim wrote:
 I'm still having problems on Windows with r3828. Build command:

 python setup.py -v config --compiler=msvc build_clib --compiler=msvc 
 build_ext --compiler=msvc bdist_wininst
 
 Can you send me the output of
 
 python setup.py -v config_fc --help-fcompiler
 
 And what fortran compiler are you trying to use?

If he's trying to build numpy, he shouldn't be using *any* Fortran compiler.

-- 
Robert Kern

I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth.
  -- Umberto Eco
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-25 Thread David M. Cooke
On Fri, May 25, 2007 at 12:45:32PM -0500, Robert Kern wrote:
 David M. Cooke wrote:
  On Fri, May 25, 2007 at 07:25:15PM +0200, Albert Strasheim wrote:
  I'm still having problems on Windows with r3828. Build command:
 
  python setup.py -v config --compiler=msvc build_clib --compiler=msvc 
  build_ext --compiler=msvc bdist_wininst
  
  Can you send me the output of
  
  python setup.py -v config_fc --help-fcompiler
  
  And what fortran compiler are you trying to use?
 
 If he's trying to build numpy, he shouldn't be using *any* Fortran compiler.

Ah true. Still, config_fc wll say it can't find one (and that should be fine).
I think the bug has to do with how it searches for a compiler.

-- 
||\/|
/--\
|David M. Cooke  http://arbutus.physics.mcmaster.ca/dmc/
|[EMAIL PROTECTED]
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion