"Failed to create the shared library" error (SHLIB not found)

57 views
Skip to first unread message

Emily Weiser

unread,
Nov 8, 2023, 8:02:14 PM11/8/23
to nimble-users
Hi,

Do you have any insight on how to fix this error?

Error: Failed to create the shared library.
/opt/cray/pe/R/4.2.1.2/lib64/R/bin/Rcmd: line 64: exec: SHLIB: not found
In addition: Warning message:
In system2(ssdSHLIBcmd, ssdSHLIBargs, stdout = logFile, stderr = errorFile) :
  error in running command

My agency has a new supercomputer, and this error is preventing me from using nimble on it. I'm sure this has something to do with the supercomputer's configuration, but the tech support person isn't sure how to troubleshoot or fix it. If you happen to have any ideas about what nimble can't find or how to fix it, I'd be very appreciative!

Let me know if there's any further information I can provide.

Thanks,

Emily

Perry de Valpine

unread,
Nov 8, 2023, 8:14:23 PM11/8/23
to Emily Weiser, nimble-users
That does sound like some kind of basic configuration issue.

What happens if you go to a shell (outside of R) and type

"R CMD SHLIB --help"

That should run R as a script for compiling C++ (but in this case just requesting a help listing of options). I'm suggesting it because "SHLIB: not found" sounds like "R CMD SHLIB" isn't working.


Emily Weiser

unread,
Nov 8, 2023, 8:31:15 PM11/8/23
to Perry de Valpine, nimble-users
That works fine. A test script also runs on the login node... so the problem may be coming up when it passes the job to worker nodes (which is the usual process when running a full-size job). I'll try to keep working with tech support, but let me know if you have any further ideas. Thank you! 
Reply all
Reply to author
Forward
0 new messages