ACES Namelist Properties

last modified: 1 April 2003


It is easier to explain the namelist as a group of patterns instead of as a group of distinct keywords. Every key token (the name of a keyword or ACES State Variable) has an associated value token of a known type. Currently, the allowed types are: handle, string, long integer, and double.
Version 2.3 introduced environment variable awareness for value tokens. It is now possible to enter a value token as "${VARNAME}" and have xjoda pull the value from the shell environment. The most practical application of this would be to loop over variables in a shell script that define various keywords. Here is an example:

#!/bin/sh

cat <<. >ZMAT
envvar test job
H
H 1 R

R=0.7

*ACES2
calc=\${CALC}
basis=\${BASIS}

.

for CALC in scf ccsd
do export CALC
   for BASIS in DZP TZP TZ2P
   do export BASIS
      clean # or other cleaning script
      xaces2 > $CALC.$BASIS.out
   done
done
clean

exit