software:comsol:caviness

This is an old revision of the document!


Comsol on Caviness

Since Comsol require the user(s) to use a license, there's some amount of setup each such workgroup would have to do in order to use Comsol on Caviness. There's an environment variable that can be set to the license server "path" (<port> @<hostname>). But there's a shortcut discussed at the top of Comsol's VALET package definition as below.

#
# You MUST set LMCOMSOL_LICENSE_FILE in your environment to point
# to your Comsol license server.  Workgroups can create the file
#
#   ${WORKDIR}/sw/comsol/license-server
#
# containing the FLEXlm license path they use for Comsol, and
# this package will set LMCOMSOL_LICENSE_FILE to the contents of
# that file.
#

Comsol VALET package have a scripted component to their VALET actions. It checks for the file mentioned above and sets the appropriate license environment variable to that file's content.

The file is locked-down to the workgroup only, users aren't propagating a bunch of stuff to their login files, and there's no need to have each workgroup define their own VALET package for the Comsol.

  • software/comsol/caviness.1539106250.txt.gz
  • Last modified: 2018-10-09 13:30
  • by ssunkara