[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] illegal variable name ?



On Thu, Dec 22, 2005 at 05:57:21PM +0100, Nicolas GUIOT wrote:
> Hi
> 
> I got an error message stating "illegal variable name", but I can't know which : could you please tell me ?
> Here is my shell script I try to run : 
> ___________
> 
> #!/bin/tcsh
> 
> set job=$(Process)

Where do you get Process from? Condor does not automatically set it for you,
you have to tell Condor to put it in the environment of your job.

-Erik

> #set i=1
> set PROT=cut.1ATJ
> set PROTNAME=1ATJ
> set SEPDIR =  /ibpc/merle/sacquin/Proteins
> set Npdb=999
> rm proteins.dat
> rm job.dat
> echo $job > job.dat
> echo "'"$SEPDIR/$PROT.pdb"'">proteins.dat
> echo "'"$PROTNAME.A"'">>proteins.dat
> /ibpc/rhea/sacquin/BDflex/simulmain.out
> tar -zcvf pdb_files/$job.$PROTNAME.sfdyn.tar.gz pdb_files/$PROTNAME.A.dyn*.pdb
> rm pdb_files/$PROTNAME.A.dyn*.pdb
> cp output.$job.dat output.dir/$job.$PROTNAME.sf.output.dat
> echo " " >>energy.dat
> echo ' long BDZach_nico2 done'
> __________
> 
> Which is the variable name it doesn't like ? 
> 
> And by the way, is there somewhere a list (I searched through the condor web site, but didn't find...) of "reserved" words ?
> 
> Thnaks in advance
> Nicolas
> 
> -----------------------------------------------
> CNRS - UPR 9080 : Laboratoire de Biochimie Theorique
> Institut de Biologie Physico-Chimique
> 13 rue Pierre et Marie Curie
> 75005 PARIS - FRANCE
> 
> Tel : +33 158 41 51 70
> Fax : +33 158 41 50 26
> ------------------------------------------------
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users