since run-directories are created, entries like "pgrid/pot0" contain file references that thus have to be properly relative, or absolute.
a directory name cannot contain an equals sign
runcmhog run001
runcmhog run002 aob=3.0
runcmhog run003 aob=2.0
runcmhog run004 aob=3.0 qm=5.5e4
runcmhog run005 aob=3.0 qm=3.5e4
runcmhog run101 ggen2/nbl=200
For following snippet of c-shell code shows how easy it is to keep your
CPU busy for months and months... foreach a (1 1.5 2 2.5 3 3.5)
foreach b (10 20 30 40 50)
foreach c (1 3 10 30 100 300 1000)
set dir=run1/$a/$b/$c
mkdir -p $dir
runcmhog -n cmhogin $dir a=$a b=$b c=$c >& $dir/cmhog.log
end
end
end
$hycon idiff=1,ifltn=1,tlim=2.0 $end $ggen2 nbl=37,ymin=0.1,ymax=16.0,yrat=1.15708,igrid=1,lgrid=.true. $end $ggen3 nbl=20,zmin=-1.5708,zmax=1.5708,igrid=1,lgrid=.true. $endbut some compilers will expect/produce a comma at the end of each line. Also, for example in RAMSES (uses fortran90) you can see this type:
&OUTPUT_PARAMS noutput=1 tout=0.4 / &HYDRO_PARAMS gamma=1.6666667 courant_factor=0.8 slope_type=2 riemann=’roe’ /
NEMO/src/image/hdf/cmhog cmhog utility tools CMHOG2 cmhog2 code (may be out of date)
15-Jun-96 man written PJT 19-feb-97 implemented -e and -n flags PJT 29-jun-02 documented some more flags PJT 14-may-03 rundir can be in a hierarchy now PJT 21-jul-03 fix documentation bug about namelist specification PJT