Difference between revisions of "Installing and running Serpent"
(→Running Serpent) |
(→Running Serpent) |
||
Line 27: | Line 27: | ||
|- | |- | ||
| ''-checkvolumes N'' | | ''-checkvolumes N'' | ||
− | | : calculate Monte Carlo estimates for material volumes by sampling ''N'' random points in the geometry | + | | : calculate Monte Carlo estimates for material volumes by sampling ''N'' random points in the geometry (see [[#Monte Carlo volume calculation routine|detailed description]]) |
|- | |- | ||
| ''-checkstl N M | | ''-checkstl N M | ||
− | | : check for holes and errors in STL geometries by sampling ''M'' directions in ''N'' points | + | | : check for holes and errors in STL geometries by sampling ''M'' directions in ''N'' points (see [[#Checking for holes in STL geometries|detailed description]]) |
|- | |- | ||
| ''-mpi N'' | | ''-mpi N'' | ||
Line 39: | Line 39: | ||
|- | |- | ||
| ''-disperse'' | | ''-disperse'' | ||
− | | : generate random particle or pebble distribution files for HTGR calculations | + | | : generate random particle or pebble distribution files for HTGR calculations (see [[#Particle disperser routine|detailed description]]) |
|- | |- | ||
| ''-rdep'' | | ''-rdep'' | ||
Line 48: | Line 48: | ||
|- | |- | ||
| ''-comp MAT'' [ ''ID'' ] | | ''-comp MAT'' [ ''ID'' ] | ||
− | | : print standard material composition of listed material ''MAT'' that can be copy-pasted into the inputfile | + | | : print standard material composition of listed material ''MAT'' that can be copy-pasted into the inputfile (see [[#Standard compositions|detailed description]]) |
|- | |- | ||
| ''-elem SYM DENS'' [ ''ID'' ] | | ''-elem SYM DENS'' [ ''ID'' ] | ||
− | | : decomposes natural element identified by symbol ''SYM'' at density ''DENS'' into its constituent isotopes | + | | : decomposes natural element identified by symbol ''SYM'' at density ''DENS'' into its constituent isotopes (see [[#Elemental decomposition|detailed description]]) |
|- | |- | ||
| ''-qp'' | | ''-qp'' |
Revision as of 19:31, 15 September 2016
Compiling the source code
Compiler options
Running Serpent
Serpent is run from the Linux command line interface. The general syntax is:
sss2 INPUT [ options ]
Where INPUT is the input file name and the available options are:
-version | : print version information and exit |
-replay | : run simulation using random number seed from a previous run |
-his | : run only burnup history in coefficient calculation |
-coe | : run only restarts in coefficient calculation |
-plot | : stop after geometry plot |
-checkvolumes N | : calculate Monte Carlo estimates for material volumes by sampling N random points in the geometry (see detailed description) |
-checkstl N M | : check for holes and errors in STL geometries by sampling M directions in N points (see detailed description) |
-mpi N | : run simulation in MPI mode using N parallel tasks |
-omp N | : run simulation in OpenMP mode using N parallel threads |
-disperse | : generate random particle or pebble distribution files for HTGR calculations (see detailed description) |
-rdep | : read binary depletion file from previous calculation and print new output according to inventory list |
-tracks N | : draw N particle tracks in the geometry plots or invoke track plot animation |
-comp MAT [ ID ] | : print standard material composition of listed material MAT that can be copy-pasted into the inputfile (see detailed description) |
-elem SYM DENS [ ID ] | : decomposes natural element identified by symbol SYM at density DENS into its constituent isotopes (see detailed description) |
-qp | : quick plot mode (ignore overlaps) |
-nofatal | : ignore fatal errors |
Most of the input options are self-explanatory, the rest are described below.