Problems with clapack.h

45 views
Skip to first unread message

Maria Cabello

unread,
Mar 6, 2017, 5:08:46 AM3/6/17
to phnrec
Hello,

I've installed atlas v3.10.3 and libclapack3, both of them downloaded from synaptic. My distribution is Ubuntu 16.10, 32 bits.
After modifying several things in your code (cast conversion, inludes) I find the following error while compyling STKLib:

In file included from Matrix.h:15:0,
                 from Models.h:16,
                 from dict.h:16,
                 from dict.C:13:
/usr/include/clapack.h:6:29: error: ‘integer’ was not declared in this scope
 /* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer *
                             ^~~~~~~
/usr/include/clapack.h:6:38: error: ‘n’ was not declared in this scope
 /* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer *
                                      ^
/usr/include/clapack.h:6:41: error: ‘complex’ was not declared in this scope
 /* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer *
                                         ^~~~~~~
/usr/include/clapack.h:6:50: error: ‘ca’ was not declared in this scope
 /* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer *
                                                  ^~
/usr/include/clapack.h:6:54: error: ‘complex’ was not declared in this scope
 /* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer *
                                                      ^~~~~~~
/usr/include/clapack.h:6:63: error: ‘cx’ was not declared in this scope
 /* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer *
                                                               ^~
/usr/include/clapack.h:6:67: error: ‘integer’ was not declared in this scope
 /* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer *
                                                                   ^~~~~~~
/usr/include/clapack.h:7:2: error: ‘incx’ was not declared in this scope
  incx, complex *cy, integer *incy);
  ^~~~
/usr/include/clapack.h:7:8: error: ‘complex’ was not declared in this scope
  incx, complex *cy, integer *incy);
        ^~~~~~~
/usr/include/clapack.h:7:17: error: ‘cy’ was not declared in this scope
  incx, complex *cy, integer *incy);
                 ^~
/usr/include/clapack.h:7:21: error: ‘integer’ was not declared in this scope
  incx, complex *cy, integer *incy);
                     ^~~~~~~
/usr/include/clapack.h:7:30: error: ‘incy’ was not declared in this scope
  incx, complex *cy, integer *incy);
                              ^~~~
/usr/include/clapack.h:7:34: error: expression list treated as compound expression in initializer [-fpermissive]
  incx, complex *cy, integer *incy);

...
...
...

Please, could you help me to solve it? Thanks in advance.


Reply all
Reply to author
Forward
0 new messages