Run SimSolid on Linux
The Linux version of SimSolid works without any user-interface and is meant to run jobs on HPC clusters.
Note: To access the SimSolid user-interface, use the Windows
version. An SSP is required to submit jobs on Linux clusters.
- Use the installer to install SimSolid on any Linux machine.
-
Once the installation is successful, you can use the command line below to run
SimSolid jobs.
Commands to use in the .js file to execute SimSolid jobs in batch:<installation folder>/altair/scripts/SimSolid -s <Path to .js file>/<filename>.js -p <path to SSP file>/<SSP filename> -l <path to log file>/log.txt
The above script performs a series of actions namely - opens an SSP file, initializes the solution, runs all the analysis, and saves the SSP by appending _solved to the original file name. It is also set to run the jobs using 24 cores.// open project Project.open({ file: '%1%.ssp'}); //Set number of logical cores Project.setOptions({ numOfCoresToUse: 24 }); // initialize solutions Project.initializeSolutions(); // solve all analyses Project.solveAllAnalyses(); // save project Project.save({ file: '%1%_solved.ssp'});
Commands to use in the .js file to execute specific analysis in specific design study in batch:
The above script performs a series of actions namely - opens an SSP file, runs Modal 1 analysis in Design study 1, and saves the SSP by appending _solved to the original file name.// open project Project.open({ file: '%1%.ssp'}); //Set number of logical cores Project.setOptions({ numOfCoresToUse: 24 }); // run specific analysis var analysisSpecific = null; for (var study of Project.getDesignStudies()) { if (study.getName() == 'Design study 1') { for (var analysis of study.getAnalyses()) { if (analysis.getName() == 'Modal 1') { analysisSpecific = analysis; break; } } break; } } if (analysisSpecific) analysisSpecific.solve(); // save project Project.save({ file: '%1%_solved.ssp'});