Set up TopMC on Linux
Prepare the operating environment, configure the data library, apply for a license and check the authorization in order to start using the Linux version of TopMC.
Prepare programs and operating environment
Prepare the Linux version of TopMC package and matching nuclear data library, and install and configure MPI according to the installation instructions of the release package. If you have not obtained the file, please contact technical support.
The Linux version runs calculations via the command line. Please complete the modeling and prepare the input file in Windows first, and then copy it to the Linux computer.
Specify data library location
Open the xsdir file used by the calculation program and change datapath in the first line to the absolute path of the local data library. For example, when the data library is stored in /home/user/TopMCData, fill in:
datapath=/home/user/TopMCData
Please replace with actual path. When using other supporting data libraries, use the xsdir file of the data library at the same time, and then modify the path.
The data library configuration follows the requirements of the Windows wizard: the path should be as short as possible, avoid Chinese characters, and fill in the actual absolute path of the local data library in xsdir. For specific data library types, see the program and data library descriptions.
Apply for and import license
Generate application documents
Enter License_Manager/gcc directory of the package. When using it for the first time, first run the mk script in the same directory, recompile the License Manager, and then execute:
./hasp_update f request.c2v
Send the generated request.c2v to [email protected] to apply for authorization.
Import authorization file
After receiving the *.v2c file, execute the following command in the same directory and replace license.v2c with the received file name (or full path):
./hasp_update u license.v2c
Make sure the computer date and time are correct before importing; restart TopMC after importing to make the new authorization effective.
Check and start calculating
Open http://localhost:1947 in the browser of the Linux computer and check whether the license is valid. Once completed, follow Run the calculation on Linux to start the study.
Parallel calculation and hardware license instructions
When multiple computers participate in parallel calculation, the TopMC installation path and data library path of each computer should be consistent. After Linux MPI has been configured according to the installation instructions, there is no need to repeat the settings.
When using a U disk hardware license, please insert the license U disk first and then start TopMC.
TopMC®