source: issm/trunk-jpl/externalpackages/petsc-dev/src/bin/maint/petscgoto@ 11896

Last change on this file since 11896 was 11896, checked in by habbalf, 13 years ago

petsc-dev : Petsc development code in external packages. Mercurial updates

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1#! /bin/csh
2#
3#
4set LOC=$PETSC_DIR
5set CONF=$1
6set SSH=ssh
7set SCP=scp
8set DASHN=-n
9set day=`date | cut -f1 -d" "`
10if ( -f ${PETSC_DIR}/bin/maint/confignightly/${CONF} ) then
11
12else
13 set machines=`grep CONF ${PETSC_DIR}/bin/maint/confignightly/* | grep -i ${CONF} | sed "s?:? ?g" | sed "s?=? ?g" | cut -d" " -f1`
14 set arches=`grep CONF ${PETSC_DIR}/bin/maint/confignightly/* | grep -i ${CONF} | sed "s?:? ?g" | sed "s?=? ?g" | cut -d" " -f4`
15 if ( ${#machines} == 1 ) then
16 set CONF = `basename ${machines[1]}`
17 else if ( ${#machines} == 0 ) then
18 echo "No machines with this property"
19 exit
20 else
21 set i=1
22 while ( $i <= ${#machines} )
23 echo $i `basename ${machines[$i]}` ${arches[$i]}
24 @ i=$i + 1
25 end
26 set choice=$<
27 set CONF = `basename ${machines[$choice]}`
28 endif
29endif
30
31source ${PETSC_DIR}/bin/maint/confignightly/${CONF}
32
33echo "****************** Connecting to $USR@$MACH in $LOC ************************************"
34ssh -A -X -t petsc@login.mcs.anl.gov $SSH -t -A -X $USR@$MACH ${LOC}/bin/maint/runremote $LOC $CONF $USER
35echo "**************Ending connection to $USR@$MACH in $LOC **********************************"
36
37#$SSH barrysmith@localhost ssh barrysmith@localhost $USR@$MACH $DASHN "cd $LOC ; bk pull; $LOC/bin/maint/buildtest $CONF" &
38
Note: See TracBrowser for help on using the repository browser.