@echo off :: :: Delft FEWS :: Copyright (c) 2003-2008 Deltares. All Rights Reserved. :: :: Developed by: :: Tessella Support Services plc :: Tauro Kantorencentrum :: President Kennedylaan 19 :: 2517 JK Den Haag :: The Netherlands :: email: info@tessella.com :: web: www.tessella.com :: :: Project Ref: Tessella/NPD/5431 :: :: File history :: Version Date Author :: $Revision: 18767 $ $Date: 2008-05-07 14:09:48 +0200 (Wed, 07 May 2008) $ $Author: broek_f $ :: :: :: Wrapper for the bash script run_condor_topkapi.sh to do a :: Forecast run for an ensemble on the Condor Cluster :: This batch file starts run_condor_topkapi.sh in a Cygwin bash shell :: and passes on all the command line arguments. This scripts needs :: the environment variable CYGWIN_ROOT to contain the Windows :: directory where the root of the cygwin tree resides. :: :: Invocation : run_condor_topkapi.bat :: Arguments : Any arguments to be passed on to run_condor_topkapi.sh :: Return : none :: Variables : none :: :: Check CYGWIN_ROOT IF [%CYGWIN_ROOT%] == [] GOTO CygwinRootError :: Explain syntax if asked IF [%1] ==[/?] GOTO Syntax IF [%1] ==[/help] GOTO Syntax IF [%1] ==[--help] GOTO Syntax :: Make the environment variables local to this batch file SETLOCAL :: Set the PATH variable to include the cygwin /bin and /usr/bin directories SET PATH=%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\bin;%PATH% :: Start run_condor_topkapi.sh from a bash shell with all the script parameters %CYGWIN_ROOT%\bin\bash run_condor_topkapi.sh %* :: And finish this script GOTO Endscript :CygwinRootError ECHO. ECHO %0: ECHO ERROR: Environment variable CYGWIN_ROOT is not set ECHO. GOTO Endscript :Syntax :: Explain the syntax to the user ECHO. ECHO %0 ECHO. ECHO Wrapper for the bash script remote_run_lisflood.sh to do a ECHO Forecast run for an ensemble on the Condor Cluster ECHO This batch file starts run_condor_topkapi.sh in a Cygwin bash shell ECHO and passes on all the command line arguments. This scripts needs ECHO the environment variable CYGWIN_ROOT to contain the Windows ECHO Directory where the root of the cygwin tree resides. ECHO. ECHO Invocation : run_condor_topkapi.bat ^[ARG1^] ^[ARG2^] ... ECHO Arguments : Any arguments to be passed on to run_condor_topkapi.sh ECHO Return : none ECHO Variables : none ECHO. GOTO Endscript :Endscript @echo on