[Pw_forum] Running examples in espresso-4.0

Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu
Sun Jun 22 23:05:26 CEST 2008


On Sat, 21 Jun 2008, Paul M. Grant wrote:

PG> BTW, it seems the "bug" in check_failure.sh still remains in espresso-4.0
PG> ...at least re the version of bash included in the ubuntu distros.

paul,

to the best of my knowledge, the syntax in check_failure.sh is
correct and the problem is most likely a "feature" in ubuntu.

are you certain that /bin/sh is actually pointing to bash?

unfortunately, there is no good solution. you could make 
/bin/sh a symlink to /bin/bash, but that will probably break 
other scripts, e.g., those that control your startup.
that reminds be a lot of the situation way back when i 
had an IBM RS/6000 320h as desktop. the proper bourne shell
was in /bin/bsh, but if you put that in your shell scripts,
they become non-portable, and you couldn't change use /bin/bsh
as /bin/sh as it would break the many and elaborate shell
scripts that controlled the machine. <sigh>.

cheers,
    axel.

PG> 
PG> Paul M. Grant, PhD
PG> Principal, W2AGZ Technologies
PG> Visiting Scholar, Applied Physics, Stanford (2005-2008)
PG> EPRI Science Fellow (Retired)
PG> IBM Research Staff Member Emeritus
PG> w2agz at pacbell.net
PG> http://www.w2agz.com
PG>  
PG>  
PG> 
-- 
=======================================================================
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 Pw_forum mailing list