This is a test version of Biostars. For the public version, visit https://www.biostars.org.
R And Sqlite Db Locked Error

I've become bald pulling out my hair because of this problem. Time and time again I need to run an R package that needs to use RSQLite but fails because of NFS locking. Well, that's the setup on our cluster. Curiously, I don't see other people complaining about this problem but I know that a lot of bioinformatics is done on Sun Grid Engine installations, which I assume employ NFS in one way or another.

Any tips on how to alleviate this pain? Are my assumptions right (about SGE and NFS being inseparable)?

Thanks!

PK

r

my experience: sqlite3 doesn't work with SGE/NFS. I tried to log the steps of my NGS workflow with sqlite3, I had to switch to a java standalone sql engine (derby)

Perhaps if I stated that I was running a Bioconductor package it might draw it in... ;-)

If you could also say which package, that may make it bioinformatics

Which R/Bioconductor package are you using and when do you get this message ? (I mean are you trying to parallelize calls to a function that uses RSQLite? )

2 answers

This is a SQLite FAQ.

http://www.sqlite.org/faq.html#q5

Honestly, what I would do in this situation is probably to migrate the package to a server based DBMS by patching the code, e.g. Migrate to RPostgreSQL. The SQL should be mostly compatible and run updates in a transaction.

And did I say already that it would really help to know which package you use? Giving sufficient level of details often helps solving problems, just saying...

Log in to answer this question.