software:comsol:caviness

This is an old revision of the document!


Comsol on Caviness

Comsol requires user(s) to use purchase a license in order to gain access to the license server to actually use the software. This requires some amount of setup for each workgroup to do in order to use Comsol on Caviness. One can define an environment variable that can be set to the license server "path" (<port>@<hostname>). However, there's a shortcut discussed at the top of Comsol's VALET package definition on Caviness as shown 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 has 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. By putting the above file in the directory specified above, it is locked-down to the workgroup only and all members in the workgroup have access to Comsol, and it doesn't require any modification to the workgroup members login files or job scripts. See Workgroup Software Installs on Caviness for help in understanding how to create the necessary workgroup directories referred to above.

vpkg_require comsol

The VALET package for Comsol is available to everyone on Caviness, and will load as expected. However, in order to use Comsol, it will only work if the above file exists in the proper directory location with the appropriate license server <port>@<hostname> information which is only provided upon purchasing a license.

  • software/comsol/caviness.1539275423.txt.gz
  • Last modified: 2018-10-11 12:30
  • by anita