Index: palm/trunk/SCRIPTS/subjob
===================================================================
--- palm/trunk/SCRIPTS/subjob	(revision 1235)
+++ palm/trunk/SCRIPTS/subjob	(revision 1255)
@@ -23,5 +23,5 @@
 # Current revisions:
 # ------------------
-# 
+# further adjustments for lccrayb
 #
 # Former revisions:
@@ -142,5 +142,5 @@
      (bicegate2)             local_addres=130.73.232.103; local_host=lcsgib;;
      (blizzard1)             local_addres=136.172.40.15;  local_host=ibmh;;
-     (blogin*)               local_addres=130.73.233.1;   local_host=lccrayb;;
+     (blogin*|bxc*)          local_addres=130.73.233.1;   local_host=lccrayb;;
      (breva)                 local_addres=130.75.105.98;  local_host=lcmuk;;
      (buran)                 local_addres=130.75.105.58;  local_host=lcmuk;;
@@ -203,5 +203,5 @@
      (*.cc.kyushu-u.ac.jp)   local_addres=133.5.4.129;    local_host=ibmku;;
      (*)                     printf "\n  +++ \"$local_host\" unknown";
-                             printf "\n      please inform S. Raasch!";
+                             printf "\n      please contact the PALM group at IMUK";
                              locat=parameter; exit;;
  esac
@@ -783,5 +783,5 @@
     then
        cat > $job_to_send << %%END%%
-#!/bin/bash --login
+#!/bin/bash
 #PBS -N $job_name
 #PBS -l walltime=$timestring
@@ -793,6 +793,4 @@
 
 $module_calls
-export ATP_ENABLED=0
-export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
 
 %%END%%
@@ -1341,5 +1339,5 @@
     echo "trap '"                               >>  $job_to_send
     echo "set +vx"                              >>  $job_to_send
-    if [[ $(echo $remote_host | cut -c1-3) = ibm  ||  $(echo $remote_host | cut -c1-5) = lcsgi  ||  $(echo $remote_host | cut -c1-3) = nec  ||  $remote_host = lcflow  ||  $remote_host = lckiaps  ||  $remote_host = lckyu* ]]
+    if [[ $(echo $remote_host | cut -c1-3) = ibm  ||  $remote_host = lccrayb  ||  $(echo $remote_host | cut -c1-5) = lcsgi  ||  $(echo $remote_host | cut -c1-3) = nec  ||  $remote_host = lcflow  ||  $remote_host = lckiaps  ||  $remote_host = lckyu* ]]
     then
        if [[ $remote_host = ibmh ]]
@@ -1364,4 +1362,7 @@
        then
           return_queue=SP
+       elif [[ $remote_host = lccrayb ]]
+       then
+          return_queue=dataq
        elif [[ $remote_host = lckiaps ]]
        then
@@ -1487,4 +1488,20 @@
           echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
           echo "%%END%%"                           >>  $job_to_send
+
+       elif [[ $remote_host = lccrayb ]]
+       then
+          echo "cat > scpjob.$kennung << %%END%%"        >>  $job_to_send
+          echo "#!/bin/bash"                             >>  $job_to_send
+          echo "#PBS -N job_protocol_transfer"           >>  $job_to_send
+          echo "#PBS -l walltime=00:30:00"               >>  $job_to_send
+          echo "#PBS -l mppwidth=1"                      >>  $job_to_send
+          echo "#PBS -l mppnppn=1"                       >>  $job_to_send
+          echo "#PBS -o \$HOME/job_queue/last_job_transfer_protocol"      >>  $job_to_send
+          echo "#PBS -j oe"                              >>  $job_to_send
+          echo " "                                       >>  $job_to_send
+          echo "set -x"                                  >>  $job_to_send
+          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_addres  ${job_catalog}/$remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
+          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
+          echo "%%END%%"                                 >>  $job_to_send
 
        elif [[ $remote_host = lcflow ]]
@@ -1541,4 +1558,7 @@
        then
           echo "llsubmit  scpjob.$kennung"      >>  $job_to_send
+       elif [[ $remote_host = lccrayb ]]
+       then
+          echo "qsub -q $return_queue  scpjob.$kennung"               >>  $job_to_send
        elif [[ $(echo $remote_host | cut -c1-5) = lcsgi ]]
        then
