As for SAFARI, filenames are passed to the code via environmental parameters. In Unix systems a typical command file oasp (in $HOME/oases/bin) is:
# the number sign invokes the C-shell
setenv FOR001 $1.dat # input file
setenv FOR002 $1.src # Source array input file
setenv FOR015 $1.strf # Source array trf file
setenv FOR019 $1.plp # plot parameter file
setenv FOR020 $1.plt # plot data file
setenv FOR028 $1.cdr # contour plot parameter file
setenv FOR029 $1.bdr # contour plot data file
setenv FOR045 $1.rhs # mean field amplitudes at rough interface
setenv FOR046 $1.vol # mean field in volume scattering layer
oasp2 # executable
After preparing a data file with the name input.dat, OASP is executed by the command:
> oasp input