search for: xerbla_

Displaying 7 results from an estimated 7 matches for "xerbla_".

Did you mean: xerbla
2011 Jan 22
0
libRblas.so: undefined reference to `xerbla_' ?
...%f\n", B[i]); } return info; } ========================== When I am trying to link to BLAS/LAPACK using gcc -std=gnu99 solve.c -o test -I$R_HOME/include -L$R_HOME/lib -lRblas -lRlapack -lgfortran linker generates an error message $RHOME/lib/libRblas.so: undefined reference to `xerbla_' Dumping symbol table shows that indeed libRblas.so has undefined xerbla_ symbol and so does libRlapack. Confusingly, documentation says that xerbla is error checking routine for BLAS, but it is not found in the library libRblas. I did find out that xerbla is defined in libR.so and wh...
2004 Jan 19
1
Compiling R, cannot open vars.mk
Hi! I am trying to compile R-1.8.1 on an alphaserver running Tru64 Unix. I use the compilers cc,cxx and f77. After the compilation I try: make check and get the following message: Make: Cannot open /share/make/vars.mk. Stop. Does anyone have any suggestions on why? Regards Arne Gjuvsland
2019 Apr 24
2
R problems with lapack with gfortran
...re flagged, due to mismatches in function types. The prototypes that R has in its header files, for example BLAS.h, are often not compatible with gfortran function declarations. To take one small example, in src/main/print.c, we have void NORET F77_NAME(xerbla)(const char *srname, int *info) so xerbla_ is defined with two arguments. However, gfortran passes string lengths as hidden arguments. You can see this by compiling the small example $ cat xer.f SUBROUTINE FOO INTEGER INFO CALL XERBLA ('FOO', INFO) END $ gfortran -c -fdump-tree-original xer.f $ cat xer....
2009 Nov 13
0
Problem building R 2.10 release
...ed reference to `R_do_slot' sparseQR.c:(.text+0x905): undefined reference to `REAL' sparseQR.c:(.text+0x90e): undefined reference to `R_CheckStack' sparseQR.c:(.text+0x9f1): undefined reference to `Rf_unprotect' /home/katana/builds/R-2.10.0/lib/libRlapack.so: undefined reference to `xerbla_' make[3]: *** [Matrix.so] Error 1 make[3]: Leaving directory `/tmp/Rtmp0FGSqu/R.INSTALL327b23c6/Matrix/src' ERROR: compilation failed for package 'Matrix' ---- I had been able to compile R 2.9.1 using icc. There did not appear to be an issue with wctype.h back then. Is there any...
2019 May 03
0
R problems with lapack with gfortran
...tion types. > > The prototypes that R has in its header files, for example BLAS.h, > are often not compatible with gfortran function declarations.? To take > one small example, in src/main/print.c, we have > > void NORET F77_NAME(xerbla)(const char *srname, int *info) > > so xerbla_ is defined with two arguments. > > However, gfortran passes string lengths as hidden arguments. > You can see this by compiling the small example > > $ cat xer.f > ????? SUBROUTINE FOO > ????? INTEGER INFO > ????? CALL XERBLA ('FOO', INFO) > ????? END > $ gfort...
2006 Feb 07
0
[R] R compile on AIX 5.2
...Undefined symbol: .intpr0_ ld: 0711-317 ERROR: Undefined symbol: .i_len ld: 0711-317 ERROR: Undefined symbol: .realp0_ ld: 0711-317 ERROR: Undefined symbol: .dblep0_ ld: 0711-317 ERROR: Undefined symbol: .rexitc_ ld: 0711-317 ERROR: Undefined symbol: .rwarnc_ ld: 0711-317 ERROR: Undefined symbol: .xerbla_ ld: 0711-317 ERROR: Undefined symbol: .d_sign ld: 0711-317 ERROR: Undefined symbol: .d_cnjg ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: The error code from the last command is 1. Stop. make: The error code from the last...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...Symbol Rf_coerceVector Rf_allocMatrix Rf_allocVector Rf_asLogical Rf_duplicate Rf_getAttrib Rf_isComplex Rf_isMatrix Rf_isString Rf_mkChar Rf_protect Rf_setAttrib Rf_unprotect Rf_unprotect_ptr LENGTH R_CHAR STRING_ELT SET_STRING_ELT VECTOR_ELT SET_VECTOR_ELT INTEGER REAL COMPLEX R_setLapackRoutines xerbla_ dswap_ dscal_ drot_ lsame_ idamax_ dgemm_ dcopy_ dnrm2_ dgemv_ dasum_ dtrmv_ daxpy_ ddot_ dger_ dtrmm_ dsymv_ dtrsv_ dsyr2_ dsyr2k_ gmake[5]: Entering directory `/soft/R/R-1.5.1/src/modules/lapack' gmake[5]: Leaving directory `/soft/R/R-1.5.1/src/modules/lapack' gmake[4]: Leaving directory...