IBM Release 1.93 manual Randomseed, Set, Simulator

Page 18

 

Syntax: PRINT <"string"> <expression> ....

 

 

 

 

RANDOMSEED

Supply a seed to the pseudorandom number generator.

 

Pseudorandom numbers are used only to choose starting points for

 

the optimizer. The points visited by the optimizer for a given

 

problem can be changed by choosing a different seed.

 

Syntax: RANDOMSEED <expression>

 

The value of <expression> must be in [0, 999,999,999], and its value

 

is rounded to an integer before use. Thus values must round to

 

different integers for them to be distinct for this purpose.

 

Example: RANDOMSEED 314159265

 

 

 

 

SET

Defines a variable and sets its initial value. The expression may

 

contain literals, arithmetic and logical operators, predefined

 

functions, and user functions.

 

Syntax: SET name = <expression>

 

Example: set hypot=sqrt(a*a+b*b)

 

 

 

 

SIMULATOR

Give POEMS a simulator command line to use (no default). For

 

single-host simulations, this is just the simulator executable, but for

 

clusters, it should consist of a command processor, script name, and

 

any additional variables expected by the cluster script. To make

 

this easier, POEMS defines two special variables, as follows.

 

Name

Expands To

 

$h

Name of a file containing a list of all hosts actually used in

 

 

the simulation, one host per line

 

$f

Name of a file containing a list of all files that need to be

 

 

distributed to the compute hosts for the current simulation.

POEMS constructs the command line by appending an at-sign (@) and the name of a file containing the input parameters expected by FIDO, then passes the resulting command line to the current shell. The script blocks until the simulation returns.

Syntax: SIMULATOR <filename> [ <special variable> [<special variable> ]]

14

Image 18
Contents IBM T. J. Watson Research Center Yorktown Heights, NY Page IBM T. J. Watson Research Center Yorktown Heights, NY Using Poems HOW Poems WorksChapter Introduction MotivationPhilosophy Structure OptimizationPage Poems system organization Program Organization Front-End Script poems.cmdScript Operation Fdtd Engine FIDO/TEMPEST Postprocessor EmpostVisualization System VIS5D Cluster ControlParallel Processing Command Reference Poems Command-Line OptionsGlobal Group Function FreqLambda HostsWhich means that the host’s predefined hostname is not used MacdefMacro PrintRandomseed SETSimulator Verbose World GroupTitle BoundaryXrange Yrange Material GroupBasicstep DefineParameters epsReal epsImag muReal muImag Object Group BlockFAN Grating HollowboxTiledplane Curve 3DCURVECylinder Source Group Command Group Output GroupCAD Postprocess GroupField WebpageFarfield FluxIntegral List ModematchMovie MOVIE3DDissipation SliceOptimize Group VariablesGuess Limit StorePenalty Merit Schedule Group ParametersRange Computational Domain SymmetryObjects Perfectly-Matched Layers MaterialsPlane Waves Page Beam Sources Optimization Merit FunctionsPhase uniformity across a plane Worked Example Optimizing a V Antenna 10 Optimized V antenna refractivePage Worked Example Doped Silica Waveguide Mode Worked Example Glass Ridge Waveguide to Free Space CouplerPredefined Constants Reserved Names ConfinePredefined Mathematical Functions Arithmetic OperatorsAcos Logical OperatorsABS AcoshCOS ATAN2Ceil ElintkMAX Integral20. LN MINRound RandomROOT1D SignAnalytical Pupil Functions Material Parameter FunctionsFlattop Tempest and General Fdtd Information Startup and Steady StateTime step Page Appendix A. V-Antenna Optimization Run Poems Input DIPOLE2I.PAR END Material END World Subdomain ALL END ObjectEND Command END SourceEND Output END Optimize Phaseex END Postprocess AmplexPage Page Page END Tempest Input File DIPOLE2I.PAR.IN Written by Phil Hobbs Pages of pointsource statements omitted DIPOLE2IEXI Postprocessor orders DIPOLE2I.ORDERSALL DIPOLE2IEXQDIPOLE2IEZI DIPOLE2IEYIDIPOLE2IEYQ DIPOLE2IEZQArray Amplex MiddlefluxPOSTPROC.1.NAME POSTPROC.1.PARMSTRINGPOSTPROC.2.PARMSTRING DIPOLE2IPHASEEXArray FF2Array Poyntingz DIPOLE2IPXPOSTPROC.6.NAME DIPOLE2IPZPOSTPROC.11.NAME POSTPROC.9.PARMSTRINGPOSTPROC.10.PARMSTRING Slice IndexnDIPOLE2IPZXY0.BMP Slice PoyntingzPOSTPROC.13.COMPARISONDOMAIN POSTPROC.14.NAMEPOSTPROC.17.NAME POSTPROC.16.COMPARISONDOMAINDIPOLE2IPXZX0.BMP Slice AmplexPOSTPROC.20.COMPARISONDOMAIN DIPOLE2IPHASEEXXY0.BMPDIPOLE2IPHASEEXZX0.BMP DIPOLE2IDISSZX0.BMPPOSTPROC.24.COMPARISONDOMAIN DIPOLE2IEXQZX0.BMPRun Results DIPOLE2I.SIMPLEX Page Page Page Page Page Fdtd and Tempest Tempest patchesAdvice common to all or most Fdtd programs Tempest limitationsWindow System Configuration Sample X11 ConfigurationRunning Vis5D Release NotesWish list Beta Release Limitations Page Page Index Emdenormal EmunderflowMatlab Maxordersources 81 Maxpointsources