<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi all, <br><br>I'm trying to run GATE in cluster recently. <br>I met the error : <br><br>terminate called after throwing an instance of 'std::out_of_range'<br> what(): basic_string::substr<br>Aborted<br><br>when I was using ./bin/Linux-g++/gjs -numberofsplits 10 -clusterplatform openPBS -openPBSscript /include/openPBS.script SPECT.mac<br><br><br><br>I modified the openPBS.script at <br><br><br>### Queue to submit to <<<<<<<<<< queue and host name must be adapted to your system<br>#PBS -q default<br>#PBS -l nodes=1:ppn=1<br>#PBS -l walltime=06:00:00<br>#<br>### batch job stderr and stdout<br>#PBS -o localhost:GC_WORKDIR/GC_LOG<br>#PBS -e localhost:GC_WORKDIR/GC_ERR<br>### Job name<br>#PBS -N GC_JOBNAME<br>#<br>### Declare job non-rerunable<br>#PBS -r n<br><br><br># FYI<br>echo<br>echo ---------------------- Job Info ------------------------------<br>echo<br>echo -e "Name of the working queue \t" $PBS_QUEUE<br>echo -e "Job name \t" $PBS_JOBNAME<br>echo -e "Job identifier \t" $PBS_JOBID<br>echo -e "Working directory is \t" $PBS_O_WORKDIR<br>echo -e "Running on host \t" `hostname`<br>echo -e "Start time \t" `date`<br>echo<br>cd $PBS_O_WORKDIR<br>echo $CLUSTERWORKDIR<br><br>echo<br>echo ---------------------- Job Output ----------------------------<br>echo<br><br># H E R E you may set up your environment <<<<<<<<<< see include/my_environment.example<br><br>export GC_DOT_GATE_DIR=/home/danma/gate<br>export GC_GATE_EXE_DIR=/home/danma/gate/bin/Linux-g++/<br><br># executable <br>GC_GATE<br><br>echo<br>echo ----------------------- DONE ---------------------------------<br>echo<br>echo -e "Time after job execution \t" `date`<br><br>exit 0<br><br><br>Do you know what's wrong with it ? <br><br>Thanks, <br><br><br>Dan <br><br><br><br><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>