Search Docs by Keyword

Table of Contents

Comsol

NOTE: 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 do not have seas group membership please fill out a RT Help Ticket.

Please follow the instructions located on the SEAS Comsol wiki for running Comsol on the FASRC cluster.

To check if you are part of the seas group when logged in to the cluster, use the id command:
[jharvard@holylogin01 ~]$ id
uid=21442(jharvard) gid=10483(jharvard_lab) groups=10483(jharvard_lab),40227(mcfee_lab),403212(cluster_users_2),34739(seas)

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

How to launch Comsol

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

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

 

Bookmarkable Section Links

© 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.