Difference between revisions of "COMSOL"

From UFRC
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
<!--CONFIGURATION: OPTIONAL (|1}} means it's ON)-->
 
<!--CONFIGURATION: OPTIONAL (|1}} means it's ON)-->
 
|{{#vardefine:conf|}}          <!--CONFIGURATION-->
 
|{{#vardefine:conf|}}          <!--CONFIGURATION-->
|{{#vardefine:exe|}}            <!--ADDITIONAL INFO-->
+
|{{#vardefine:exe|1}}            <!--ADDITIONAL INFO-->
 
|{{#vardefine:job|}}            <!--JOB SCRIPTS-->
 
|{{#vardefine:job|}}            <!--JOB SCRIPTS-->
 
|{{#vardefine:policy|}}        <!--POLICY-->
 
|{{#vardefine:policy|}}        <!--POLICY-->
Line 34: Line 34:
 
{{#if: {{#var: exe}}|==Additional Information==
 
{{#if: {{#var: exe}}|==Additional Information==
  
WRITE_ADDITIONAL_INSTRUCTIONS_ON_RUNNING_THE_SOFTWARE_IF_NECESSARY
+
'''COMSOL is a licensed software and available only to authorized groups or users with a valid license.'''
  
 +
If you are using COMSOL GUI to run your analyses make sure to specify the number of CPU cores in your gui session when starting COMSOL. Otherwise, COMSOL will attempt to use all physical cpu cores on the compute node, which will result in terrible performance.
 +
 +
You can specify the number of available CPU cores in the job automatically using the SLURM_CPUS_ON_NODE environment variable, so the comsol startup command should be
 +
comsol -np ${SLURM_CPUS_ON_NODE}
 +
 +
At this time we don't know if loading the 'mkl' environment module to make the Intel MKL Math library available to COMSOL helps speed up the analyses. Please try both with mkl and without it (COMSOL uses OpenBLAS by default) and let us know.
 
|}}
 
|}}
 
<!--Job Scripts-->
 
<!--Job Scripts-->

Latest revision as of 19:40, 20 February 2024

Description

comsol website  

COMSOL Multiphysics® is a general-purpose simulation software for modeling designs, devices, and processes in all fields of engineering, manufacturing, and scientific research. In addition to using multiphysics modeling for your own projects, you can also turn your models into simulation applications and digital twins for use by other design teams, manufacturing departments, test labs, customers, and more.

Environment Modules

Run module spider comsol to find out what environment modules are available for this application.

System Variables

  • HPC_COMSOL_DIR - installation directory
  • HPC_COMSOL_BIN - executable directory


Additional Information

COMSOL is a licensed software and available only to authorized groups or users with a valid license.

If you are using COMSOL GUI to run your analyses make sure to specify the number of CPU cores in your gui session when starting COMSOL. Otherwise, COMSOL will attempt to use all physical cpu cores on the compute node, which will result in terrible performance.

You can specify the number of available CPU cores in the job automatically using the SLURM_CPUS_ON_NODE environment variable, so the comsol startup command should be

comsol -np ${SLURM_CPUS_ON_NODE}

At this time we don't know if loading the 'mkl' environment module to make the Intel MKL Math library available to COMSOL helps speed up the analyses. Please try both with mkl and without it (COMSOL uses OpenBLAS by default) and let us know.