Run calculations on Windows
Select simple calculation, multi-parameter custom calculation, MCNP calculation or command-line calculation by task. Continue reading "Recognizing Calculation Output" when you are ready to check the output file.
Start regular calculations
- After completing the model and parameter settings, click "simple calculation" on the toolbar.
- Select a location to save the results and the program automatically converts the model and starts the calculation.
- After completion, go to the specified directory to view the input files and output results.
The file name should not contain spaces or special characters. Do not start the same task again before the last calculation is completed.
Check the status or save and exit
Only applicable to serial simple calculation: Press Ctrl+C in the calculation window, enter s as prompted to view the status, or enter k to save the current results and continued calculation files and exit.
Parallel calculation cannot use this interactive method, Ctrl+C will directly abort the calculation. For further calculation methods, see Save and restart calculation.
Set up parallel or existing input files
Click "multi-parameter custom calculation" to set the output directory. When parallelism is required, check MPI and set the number of nodes, calculation programs and processes; the number of processes should be selected based on computer performance.
Check "Use existing file for calculation" to select an existing input file; otherwise, use the currently opened model. Please complete the Windows environment configuration before using it for the first time.
FAQ
- xsdir cannot be opened: Check whether the calculation directory has xsdir.
- Nuclide is not in xsdir: check the data library path and whether the data library contains the nuclide.
- MPI cannot start or connect: Check MPI installation, mpiexec.exe, registration status and node IP.
- Large files are not copied to the output directory: Go to
Program\Calculationto find the corresponding result directory.
Command line and MCNP calculation
Command line
Place the input file into Program\Calculation, switch to this directory in the command prompt, and execute:
mpiexec -n 14 topmc xxx.fxmlChange 14 to the actual number of processes, and change xxx.fxml to the input file name. You can also modify start.bat in the same directory, set the actual path and calculation command and run it.
MCNP
Select "Calculate → MCNP Calculation", fill in the MCNP executable file, input file and output directory, and then click "OK".
TopMC®