[Pw_forum] pain in running example

Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu
Sat Mar 22 05:30:54 CET 2008

On Sat, 22 Mar 2008, sreekar guddeti wrote:

SG> Dear Paolo,

let's see if we can solve this without bothering paolo...

SG> I finally gave up installing v3.2.3, but cvs4.0 seems to have worked (on
SG> executing command i dont get any error message in the end...), but on
SG> editing the environmental variables file in examples folder to
SG> PREFIX=`cd ../.. ; pwd`
SG> BIN_DIR=$/home/colonel/Documents/seminar_project/espresso4.0cvs2/bin
SG> PSEUDO_DIR=$/home/colonel/Documents/seminar_project/espresso4.0cvs2/pseudo
SG> TMP_DIR=$/home/colonel/Documents/seminar_project/espresso4.0cvs2/tmp
why do you put a $ there? if you don't move stuff around,
you actually don't have to modify this file (for serial 
execution that is and if you specify a full path you don't
need a $. the code now tries to expand '$/'

SG> (installation folder is
SG> /home/colonel/Documents/seminar_project/espresso4.0cvs)
SG> on running example01 ./runexample i get the error message...
SG> ../check_failure.sh: 2: Syntax error: "(" unexpected
SG> could u plz help me out

you have to look at what line 2 in check_failue.sh does.


SG> regards,
SG> sreekar guddeti

Axel Kohlmeyer   akohlmey at cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
If you make something idiot-proof, the universe creates a better idiot.

More information about the users mailing list