Privacy and Security Notice

Archived Messages for EGN_CALCOM_1996@cebaf.gov: magnetic field

magnetic field

BROOKSW@CEBAF.GOV
Thu, 09 May 1996 13:48:57 -0500 (EST)

Hi Alan,

There are (at least) two ways to control what GSIM does. One way
is to use command line flags (manual pg. 6 lists allowable ones) and
the other way is to use an "FFREAD" file (page 8 and 9 of the manual
lists the allowable ones). You seem to be trying to use the FFREAD
flags as command line flags: the "magtype" command and the "magscale"
command are FFREAD keys, not command line flags. If you put them in
an FFREAD file and use a command line flag to tell GSIM which file
that is, it should work; it worked for me in the following files:

Between the first two dashed lines is the contents of a file (script)
I execute to start gsim. Note this has to be made executable (via
the chmod command or otherwise).

The second pair of dashed lines is my ffread file, which I called
"ffread.in". As you can see I specified the whole path.

Hope this clears the situation up, let me know how it works.

- Will

------------------------------------------------------------------------
mv /scratch2/brooksw/gsim.out.old /scratch2/brooksw/gsim.out.old.old
mv /scratch2/brooksw/gsim.out /scratch2/brooksw/gsim.out.old

$CTEST_EXE/gsim_bat \
-ffread /usr/user3/brooksw/gsim/gsim_int/hpf77.plt/pics/ffread.in \
-lizin /usr/user3/brooksw/gsim/gsim_int/hpf77.plt/pics/lizin.txt \
-kine 2 \
-bosout /scratch2/brooksw/calsoft/current.bfp \
-trig 10000 \
> /scratch2/brooksw/gsim.out
------------------------------------------------------------------------

---------------------------------------
NOGEOM 'MINI'
CCCUTS 1.e-4 1.e-4 1.e-4 1.e-4 1.e-4
DCCUTS 1.e-4 1.e-4 1.e-4 1.e-4 1.e-4
ECCUTS 1.e-4 1.e-4 1.e-4 1.e-4 1.e-4
SCCUTS 1.e-4 1.e-4 1.e-4 1.e-4 1.e-4
STCUTS 1.e-4 1.e-4 1.e-4 1.e-4 1.e-4
CUTS 1.e-4 1.e-4 1.e-4 1.e-4 1.e-4
MAGSCALE 0.25 1.0
STOP
---------------------------------------