Re: problems with .conf script

From: Brian Bennion (brian_at_youkai.llnl.gov)
Date: Fri Mar 17 2006 - 15:16:24 CST

This may be niave but you might need a space between the two curly braces
at the end of the while line.

Brian

On Fri, 17 Mar 2006, Pedro Borkowski wrote:

> Hey all... ive been trying to run a simulation with the following script
>
> run 10000
> set TEMP 298
> set TARGETTEMP 277
>
> while {$TEMP >= $TARGETTEMP}{
>
> langevinTEMP $TEMP
> langecinPistonTEmp $TEMP
> run 2000
> set TEMP= `expr $TEMP-1`
>
> }
> end
>
> run 10000
>
>
>
> but i keep getting this ERROR
>
>
>
> TCL: extra characters after close-brace
> FATAL ERROR: extra characters after close-brace
> while executing
> "while {$TEMP >= $TARGETTEMP"
> (file "dyn_sol3.conf" line 114)
>
> any thoughts"
> Thanks
> --
> -Pedro Borkowski
>

************************************************
   Brian Bennion, Ph.D.
   Biosciences Directorate
   Lawrence Livermore National Laboratory
   P.O. Box 808, L-448 bennion1_at_llnl.gov
   7000 East Avenue phone: (925) 422-5722
   Livermore, CA 94550 fax: (925) 424-6605
************************************************

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:43:24 CST