I've been trying to use lockfile in order to parallelize some of my processes. Unfortunately, I'm getting an exit status error of 127 whenever I try. Here's the part of my script that uses it (it's in a loop, written in R):
lock.file <- paste("lockfile mutex.lock -1",sep="");
print(system(lock.file))
[... commands ...]
system(paste("rm -f mutex.lock",sep=""))
Does anybody know what exit status 127 means or how I can fix this?
Thanks!