rcannood / qsub Goto Github PK
View Code? Open in Web Editor NEWParallellising lapply() by submitting them to gridengine clusters
Parallellising lapply() by submitting them to gridengine clusters
I have been unable to produce an output using qsub_lapply. I only tried to run the example of incrementing 1:3 by 1. There's an error for rsync and the log files have this message:
ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'R'
export: Command not found.
export: Command not found.
MANPATH: Undefined variable.
Rscript: Command not found.
Not sure if this is unique to our cluster but I found that the error and output log paths in script.sh cause the job array to fail. When I initially ran the example in the README the individual jobs in the array didn't generate any output and the final job didn't complete, which caused my R session to hang. I got the same behavior when I submitted the script.sh job my self on the cluster. There were no logs in the log folder so I added the full path to the log paths in script.sh and it completed successfully. Here's the change I made to lines 209-210 of qsub_run.sh to get it to work:
sprintf("#$ -e %s/log/log.$TASK_ID.e.txt\n", qs$remote_dir),
sprintf("#$ -o %s/log/log.$TASK_ID.o.txt\n", qs$remote_dir),
Thanks for developing this package, extremely useful!
Currently error messages are not read out of the log, and an error will be thrown because qsubapply can't find all of the output structures.
An error anywhere will cause the qsublapply function to interrupt and leave some junk in the temporary directories.
Example:
qs1 <- qsub.submit(X1, FUN1)
qs2 <- qsub.submit(X2, FUN2)
qs3 <- qsub.submit(X3, FUN3)
qsub.retrieve(qs1)
qsub.retrieve(qs2)
qsub.retrieve(qs3)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.