Search Docs by Keyword

Table of Contents

Comsol

Please follow the instructions located on the SEAS Comsol wiki for running Comsol on the FASRC cluster. There are a limited number of licenses, see the wiki for more information.

NOTE: The COMSOL license is provided by SEAS for its users. You must belong to a SEAS PI lab to use the COMSOL license on the cluster (i.e. – being in enrolled in one or more SEAS classes is not sufficient – you must be a member of a SEAS lab group). If you are sponsored by a faculty member listed on the SEAS Faculty page but still do not have seas group membership please submit a ticket to FASRC to investigate.

To check if you are part of the seas group when logged in to the cluster, use the id command:

How to launch Comsol

For how to launch Comsol GUI (graphical user interface), refer to How to Open Software documentation.

NOTE: FASRC and SEAS do not provide or support the desktop version of COMSOL.

Troubleshooting

Comsol, by default, writes large temporary files to your home directory ($HOME). This default setting may fill up your home directory that has a 100GB of quota. To avoid filling up your home directory, you can set the temporary directory to, for example, local /scratch .

Example to launch Comsol GUI and set temporary files to local /scratch:

comsol -3drend sw -np $SLURM_CPUS_PER_TASK -tmpdir /scratch -configuration /scratch/configuration/comsol_@process.id -data /scratch/data/comsol_@process.id -prefsdir /scratch/preferences/comsol_@process.id

Example to launch Comsol batch job:

comsol batch -np $SLURM_CPUS_PER_TASK -tmpdir /scratch -configuration /scratch/configuration/comsol_@process.id -data /scratch/data/comsol_@process.id -prefsdir /scratch/preferences/comsol_@process.id -inputfile infile.mph -outputfile outfile.mph

 

© The President and Fellows of Harvard College
Except where otherwise noted, this content is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.