Open Kdreval opened 2 years ago
Hi, We are experiencing the same issue.
Error: package or namespace load failed for 'float' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/opt/microsoft/ropen/4.0.2/lib64/R/library/00LOCK-float/00new/float/libs/float.so':
/opt/microsoft/ropen/4.0.2/lib64/R/library/00LOCK-float/00new/float/libs/float.so: undefined symbol: sormqr_
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/opt/microsoft/ropen/4.0.2/lib64/R/library/float'
@david-cortes Can you have a look once you get a chance?
@mohitmatta I'm not the package maintainer and not very familiar with the code and logic, so you'd have to ask @wrathematics. That being said, it looks like an easy workaround would be to install openblas beforehand.
Hi @wrathematics , could you please help here , i tried to install float after installing ropenblas but it did not resolve the issue.
I have tried installing the ropenblas too, but it did not resolve the error as well - returning the same error log and message. Note that I am working on a server and do not have root privileges.
Hi I'm experiencing the same issue and also tried installing ropenblas and Rcpp but the installation still fails, thanks
I'm sorry I haven't responded earlier. My gmail filters were apparently broken. I only just now got an email from @grpiccoli's message just now.
That's a standard BLAS function, so I'm not sure why it's missing. I'll try to take a look tonight.
I believe @Kdreval's issue is fixed, although the package should find and link with a system blas if available. You may need to set LDFLAGS
though. If you can give me more information about which BLAS library you want to use I might be able to help.
@shashankcheema Your problem is different. It can't find single precision LAPACK symbols. I think your RTools may be out of date based on a conversation I had with CRAN about this a while ago, but I'm not sure. I don't use Windows.
For ropenblas users: I'm not familiar with the package. It sounds like it downloads and compiles OpenBLAS, but from a quick glance I don't see where it puts the library files on the system. I can configure test for it if it exports functions that tell me the install paths.
Hi Thank you @wrathematics for your prompt reply
I was just using the wrong library versions. I was able to fix the issue by using the following package versions: module load OpenMPI/4.1.3-GCC-11.3.0 module load ScaLAPACK/2.1.0-gompi-2022a module load OpenBLAS/0.3.20-GCC-11.3.0
export RMPI_TYPE=OPENMPI export MPI_ROOT=/opt/nesi/CS400_centos7_bdw/OpenMPI/4.1.3-GCC-11.3.0
install.packages('ropenblas') and finally install.packages('float')
Thanks
Thank you @wrathematics , I handled the issue from my side. I have asked the admins of our system to install openblas-devel
on one of our servers and this allowed me to install the float
.
I believe this issue can now be closed.
Thanks!
Hello @wrathematics,
I have experienced the same problem on opensuse and found that the method in question "iparam2stage" is not part of the lapack library provided by the float installation package (as of version float_0.3.0). In fact, "iparam2stage" is listed as external function in file "ilas.f", it's however nowhere defined. Consequently dynamically loading the file results in the error above.
Maybe the internally provided lapack library needs to be amended or all references to "iparam2stage" deleted. As by the other users, my problem was resolved by installing the openblas packages that came with the distribution, thus not making use of the float package provided lapack library.
I hope this helps,
Kind regards
Thomas Lemm
Hi! I am trying to install the
text2vec
which ultimately fails complaining about thefloat
dependency. The culprit seems to beI have noticed the BLAS/LAPACK are available on my system, but I still get this message during the installation - perhaps it has something to do with configuration?
The complete log:
And the session info:
I've seen in other issues that for older R versions installation of
Rcpp
helped to resolve the issue, but was not the solution in my case. Any help will be greatly appreciated.