Hello,
we are now trying to run a Simile model on a Linux environment, and we are getting the following error after running these lines of code:
<mHandle <- load.model("mySimile.so")>
INFO [2024-04-29 13:57:20] Using simile at:/usr/lib/simile-6.12/Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] mySimile.so: cannot open shared object file: No such file or directory.
After running tcl("set", "errorInfo"), we got:
<Tcl> mySimile.so: cannot open shared object file: No such file or directory
while executing
"loadshlib $exec $ident"
(procedure "loadmodel" line 4)
invoked from within
"loadmodel mySimile.so R"
Simile version is 6.12
R version is:
R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
All the best,
Claudio
Looks like it is trying to find the file in the wrong place.
You could either pass the complete file path to load.model() e.g. /home/jasper/mySimile.so, or run tcl("pwd") to see what the current directory is when loading, and put your shared object file in that directory.
Regards, Jasper
Solved!
Thanks Jasper! Adding the path to load.model() solved the issue! Kudos for the super fast reply!
Regards,
Claudio
You're welcome
Good to see more people using Simile with Linux
Best, Jasper