[SciPy-user] forcing compiler other than g77 on HPUX

Tim Carlson tim.carlson at pnl.gov
Tue May 7 19:54:01 EDT 2002


On Tue, 7 May 2002 pearu at scipy.org wrote:

> I'll add HP compiler class (as you send before + doing version stuff
> properly) tomorrow. It's rather late here ..

Great! thanks!

> But could you point out which lines are broken? Because calc_lwork.f is
> mostly copy-paste of LAPACK routines and they compiled fine as you said
> before.

I ended up making a temporary variable (either REAL or INTEGER) for the
second argument depending on what it needed to be.

f90 /msrc/tmp/calc_lwork.f
   external subroutine GESDD
               WRKBL = MAX( WRKBL, N+M*ILAENV( 1, prefix // 'ORGQR',
                                    ^
Error 191 at (48:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               WRKBL = MAX( WRKBL, 3*N+2*N*
                                      ^
Error 191 at (51:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               WRKBL = MAX( WRKBL, 3*N+N*
                                      ^
Error 191 at (54:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               WRKBL = MAX( WRKBL, 3*N+N*
                                      ^
Error 191 at (57:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               WRKBL = MAX( WRKBL, BDSPAC+2*N )
                                         ^
Error 191 at (60:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               MAXWRK = MAX(WRKBL,BDSPAC + 3*N)
                                         ^
Error 191 at (71:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               WRKBL = MAX( WRKBL, M+N*ILAENV( 1, prefix // 'ORGLQ',
                                    ^
Error 191 at (109:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               WRKBL = MAX( WRKBL, 3*M+2*M*
                                      ^
Error 191 at (112:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               WRKBL = MAX( WRKBL, 3*M+M*
                                      ^
Error 191 at (115:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               WRKBL = MAX( WRKBL, 3*M+M*
                                      ^
Error 191 at (118:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               WRKBL = MAX( WRKBL, BDSPAC+2*M )
                                         ^
Error 191 at (121:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
               MAXWRK = MAX(WRKBL,BDSPAC + 3*M)
                                         ^
Error 191 at (130:/msrc/tmp/calc_lwork.f) : This argument has either the
wrong type or no type
   external subroutine GELSS
   external subroutine GETRI
   external subroutine GEEV


> Strange indeed. Can you import other extension modules that scipy created?
> Like linalg/*.sl, optimize/*.sl, signal/*.sl etc.
> Are they all failing or just few of them?

Just a few of them. Here is a non random sample after copying the some .sl
files to my home directory

Python 2.2.1 (#1, May  6 2002, 15:20:34)
[GCC 3.0.4] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.
>>> import sigtools
>>> import spline
>>> import _minpack
>>> import _zeros
>>> import flapack
>>> import _flinalg
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (init_flinalg)
>>> import calc_lwork
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (initcalc_lwork)
>>> import cblas
>>> import clapack
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (initclapack)
>>> import fblas
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (initfblas)
>>> import specfun
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (initspecfun)
>>> import fastumath
>>>

Tim




More information about the SciPy-User mailing list