
Since COMSOL can be strongly memory bound, the sweet spot might be to use 4 cores (see scaling study below). If you plan to run parallel COMSOL jobs, then we strongly recommend to first do a small scaling study to find out the sweet spot for the parallel efficiency of your model. Please be careful to not use the -clustersimple option for shared memory jobs as this would make COMSOL start MPI processes instead of using threads.

Please make sure that the -n option ob bsub and the -np option of COSMOL always have the same value. Please find a documentation about the parameters of bsub on the wiki page about the batch system.įor using the COMSOLBATCH licenses, you would need to add the -usebatchlic option:īsub comsol batch -usebatchlic -inputfile infile.mph -outputfile outfile.mphįor parallel jobs using shared memory, you can specify the number of cores to be used with the -np option of COMSOL:īsub -n 4 comsol batch -np 4 -inputfile infile.mph -outputfile outfile.mph Here you need to replace with LSF parameters for the resource requirements of the job. For a single processor calculation a typical command could look likeīsub comsol batch -inputfile infile.mph -outputfile outfile.mph
#COMSOL 5.3 A INSTALLER HOW TO#
How to submit a jobYou need to submit your COMSOL jobs through the batch system. Don't start the COMSOL GUI on a login node, as login nodes only have few resources and are shared by many users. If the COMSOL GUI runs slow through X11, then please have a look at the troubleshooting section of this wiki page. Please follow the description from the wiki page about batch interactive jobs with X11 forwarding to start an interactive job.Īfterwards, you can load one of the COMSOL modulesĪnd finally start the GUI with the comsol command. This can be useful to change your COMSOL preferences or to prepare a model or check the result of a COMSOL job. Interactive sessionYou can start the graphical user interface (GUI) of COMSOL in a batch interactive job with X11 forwarding.
#COMSOL 5.3 A INSTALLER SOFTWARE#
Newer versions of software are found in the new software stack. Please note that this page refers to installations from the old software stack. Environment modules (Euler, old software stack) Version Available versions (Euler, old software stack) Legacy versions The PDEs can be entered directly or using the so-called weak form.

In addition to conventional physics-based user interfaces, COMSOL Multiphysics also allows entering coupled systems of partial differential equations (PDEs). 6.2 Parallel jobs using distributed memoryĬategoryPhysics DescriptionCOMSOL Multiphysics is a finite element analysis, solver and simulation software / FEA software package for various physics and engineering applications, especially coupled phenomena, or multiphysics.4 Environment modules (Euler, old software stack).3 Available versions (Euler, old software stack).
