-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in rsync_remote yields no output #18
Comments
Could you give me some information on the system you are trying to submit a job on? What are the usual commands you enter when submitting a job? |
It is a university cluster running CentOS 5.11 and I am using R 3.5.1 which has to be sourced prior to calling These are my commands locally:
This is my error: Along with those error messages in log.1.e, log.2.e, log.3.e files mentioned in the original post. |
Just to make sure something can be executed on the remote system, could you do: If that completes successfully, could you try to rsync something to the remote system:
Because of the first error you gave, it's highly unlikely that these commands will succeed, but then we can troubleshoot further! |
It looks like the first command succeeded, but the second failed with the same error mentioned above. |
Could you then run
and then run the first line you get (without the |
This did not complete successfully. Returned the error:
I also tried running |
Sorry, I meant
(prism is our remote 😉 ) |
So the first line that was returned from that command was the |
You said that this is the code you are trying to run: config <- create_qsub_config(remote = remote, local_tmp_path=local_tmp, remote_tmp_path=remote_tmp, execute_before=r_source)
qsub_lapply(1:3, function(x) x + 1, qsub_config=config) What is the content of Also, could you run the following code? library(qsub)
config <- create_qsub_config(
remote = remote,
local_tmp_path = local_tmp,
remote_tmp_path = remote_tmp,
execute_before = r_source,
remove_tmp_folder = FALSE
)
qsub_lapply(1:3, function(x) x + 1, qsub_config = config) By setting #!/bin/bash
#$ -t 1-3
#$ -N myjob
#$ -l h_vmem=10G
cd /path/to/your/folder
module unload R
Rscript --default-packages=methods,stats,utils,graphics,grDevices script.R $SGE_TASK_ID One of the errors (Unable to locate a modulefile for 'R') will be caused by the |
Closing this due to inactivity. Let me know if you have any more updates on this. |
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.
The text was updated successfully, but these errors were encountered: