我想向网格提交 R 作业。我已将主要 R 代码保存在我编写MGSA_rand.r
的文件中callmgsa.r
print('here')
source('/home/users/pegah/MGSA_rand.r')
mgsalooprand($SGE_TASK_ID,382)
我使用文件Rscript.sh
来调用作业(使用-t
参数我发送对应的值$SGE_TASK_ID)
R CMD BATCH --no-save callmgsa.r
我这样提交工作:
qsub -t 1 -cwd -b y -l vf=1000m /home/users/pegah/Rscript.sh
我既没有收到错误也没有任何输出。作业在我提交时终止,没有任何输出。请你帮助我好吗?
谢谢,佩加