概述
http://hpcc.stanford.edu/clusters/biomonkey/matlab_pbs.html
#!/bin/bash
#PBS -N MATLAB
#PBS -e ../pbsfiles/MATLAB.err
#PBS -o ../pbsfiles/MATLAB.out
#PBS -m aeb
### PBS -M alice@domain.edu
#PBS -l nodes=1:ppn=1
#PBS -l walltime=30:00:00
PBS_O_WORKDIR=$PATHTOWORKINGDIRECTORY
export PBS_O_WORKDIR
### ---------------------------------------
### BEGINNING OF EXECUTION
### ---------------------------------------
echo The master node of this job is `hostname`
echo The working directory is `echo $PBS_O_WORKDIR`
echo This job runs on the following nodes:
echo `cat $PBS_NODEFILE`
### end of information preamble
cd $PBS_O_WORKDIR
cmd="nohup matlab -nodisplay -nojvm -r $SCRIPTNAME >> $FILENAME"
echo "running $cmd in directory "`pwd`
$cmd >> $PBS_O_WORKDIR/log.$FILENAME
最后
以上就是鲜艳小猫咪为你收集整理的Matlab pbs script的全部内容,希望文章能够帮你解决Matlab pbs script所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复