COMSOL

License Options

Class Kit License (CKL)

For lesson preparation, classroom use, homework, and activities for ordinary courses, you should use the Class Kit License. This license is also available remotely on the Eng-Grid (see On Linux below), as well as on Citrix. Instructions for Citrix can be found here: Citrix. We can run 90 simultaneous instances of COMSOL under the Class Kit License.

Research License (FNL)

For research, BU offers a floating network license which allows us to install COMSOL on any BU owned machine. This license is also available remotely on Eng-Grid (see On Linux below). We can only run 3 simultaneous instances of COMSOL under the Research license. It is important to note that running batch jobs on Eng-Grid uses a separate license pool of 3 batch licenses. See Grid/BatchComsol.

Available Modules

  • AC/DC
  • Acoustics
  • CAD Import
  • CFD
  • Chemical Reaction Engineering
  • ECAD Import
  • Heat Transfer
  • LiveLink for Excel
  • LiveLink for MATLAB
  • MEMS
  • Microfluidics
  • Molecular Flow
  • Multibody Dynamics
  • Nonlinear Structural Materials
  • Optimization
  • Particle Tracing
  • RF
  • Structural Mechanics
  • Wave Optics

On Linux

COMSOL is available on all machines in all of the public Linux labs in the College of Engineering. For remote access to to the default version of COMSOL, you can access it through the Eng-Grid — see the Grid Instructions.

Simply ssh to engineering-grid.bu.edu and run:

$ qlogin
$ comsol

You can also run a non-interactive instance of COMSOL by invoking “batch mode” when starting the program. See Grid/BatchComsol for more information.

For interactive use, run one of these quick commands to launch COMSOL with the appropriate license:

License Type Command
Default (Educational) comsol
Educational license comsol-educational
Research license comsol-research

Specific versions of COMSOL can also be called with shortcuts.

$ comsol52-educational             
$ comsol53-educational             
$ comsol53a-educational       # COMSOL 5.3a with the Educational ClassKit license
$ comsol54-educational
$ comsol54                    # COMSOL Classkit license is the default
               
$ comsol50-research
$ comsol51-research                 
$ comsol52-research                
$ comsol53-research                          
$ comsol54-research

Module System

If you want to do something more complex than run the GUI tool, you want to use Environment Modules. They give you full access to all the COMSOL tools, libs, and paths. For example, to load version 5.3a of COMSOL with the research license:

$ module load comsol/5.3a comsol/research

With Matlab

There are 2 ways of getting Matlab and COMSOL to talk. The first is if you’re working in Comsol and would like to connect Matlab to the running instance. Simply click File > Client/Server/MATLAB > Connect to MATLAB from the menu bar. This will launch matlab if it’s not running, and add the comsol toolboxes to it.

You can also run “comsol server matlab” from the command line, and it will start Matlab with the COMSOL toolboxes already loaded.

$ qlogin
$ module load comsol/5.3a matlab/9.4 comsol/research
$ comsol server matlab
COMSOL Multiphysics server 5.3a (Build: 201) started listening on port 2036
Use the console command 'close' to exit the program

Key is using the research license for LiveLinkĀ for MATLABĀ 

Troubleshooting 3D Rendering Errors

If your remote COMSOL interface crashes with cryptic error messages with “GLX” in the name, it\’s having trouble using hardware graphics rendering over the remote connection. You can try to force hardware (“direct”) rendering with a VNC connection, or can just choose software rendering by appending -3drend sw to your original COMSOL startup command, for example:

$ comsol-research -3drend sw

On Windows

The COMSOL Class Kit License is available on all CAD, ECL, and Ingalls PCs.

Any Engineering undergraduate student or a graduate student who needs COMSOL for a class (NOT research), you can install the software by running setup.exe from the version directory you want within:

 \\ad\eng\support\software\windows\i386\comsol\multiphysics

You\’ll be asked to choose a licensing method, select <port>@<server>.

For the Class Kit License (CKL) enter:

  • 1718@comsollm.bu.edu

If you want to use MATLAB with COMSOL you can point the installer to the MATLAB directory when you get to the \’options\’ stage of the installation (assuming you already have MATLAB installed) in:

  • C:\Program Files\matlab

Via Citrix Workspace

COMSOL is also available via Citrix, by installing Citrix Workspace.

Check Availability of Licenses

If you are experiencing licensing issues, please run these commands to view the license availability on the eng-grid:

$ comsol-educational-license-info
$ comsol-research-license-info

or for any other systems with lmstat:

$ lmstat -a -c 1718@comsollm.bu.edu | less
$ lmstat -a -c 1718@comsolreseaerchlm.bu.edu | less

Questions

If you have questions regarding operation, install, or licensing of COMSOL, please email enghelp@bu.edu. If you have questions regarding using COMSOL or your model, try their professionally moderated forum and tutorials:

In rare situations where the forum is inappropriate, email enghelp@bu.edu to begin the process of submitting a ticket to COMSOL Support.