# Running COMSOL with MATLAB using LiveLink on SLURM cluster

**URL:** <https://ask.cyberinfrastructure.org/t/running-comsol-with-matlab-using-livelink-on-slurm-cluster/281>\
**Category:** Q&A\
**Tags:** matlab, slurm, computational-chemistry, connection, qow, researcher\
**Created:** [July 12, 2018, 10:25pm UTC](https://ask.cyberinfrastructure.org/t/running-comsol-with-matlab-using-livelink-on-slurm-cluster/281 "2018-07-12T22:25:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toreliza](https://ask.cyberinfrastructure.org/user_avatar/ask.cyberinfrastructure.org/toreliza/32/157_2.png) [@toreliza](https://ask.cyberinfrastructure.org/u/toreliza)\
**Post date:** [July 12, 2018, 10:25pm UTC](https://ask.cyberinfrastructure.org/t/running-comsol-with-matlab-using-livelink-on-slurm-cluster/281/1 "2018-07-12T22:25:25Z")

</div>

A few years ago, I was working with a researcher trying to run a calculation in Matlab while executing a job in COMSOL, and to use the results of the Matlab calculation in the running COMSOL job. Much effort was put into various installations, document consult (LiveLink, COMSOL, Matlab), command variations; without really ever finding a satisfactory workflow. We were successful running on the head node, but not in an MPI environment and on multiple compute nodes. I have an instance of a similar situation, and am wondering if anyone has experience with COMSOL, Matlab and Livelink who would like to share any tips or offer direction on successfully implementing this software combination.

Thank you!

---

<div class="post-metadata">

**Author:** ![jma](https://ask.cyberinfrastructure.org/user_avatar/ask.cyberinfrastructure.org/jma/32/303_2.png) [@jma](https://ask.cyberinfrastructure.org/u/jma)\
**Post date:** [June 14, 2024, 3:39pm UTC](https://ask.cyberinfrastructure.org/t/running-comsol-with-matlab-using-livelink-on-slurm-cluster/281/2 "2024-06-14T15:39:36Z")

</div>


