Available Lizenses: 1
> module load comsol/research > comsol
Available Lizenses: 1
> module load comsol/teaching > comsol
Teaching and Research License are for different purposes. The Research License also contains more simulation modules.
The command
comsol server matlab
does not work when not executed with root privileges.
This one works (Fedora 22)
comsol server matlab -mlroot /opt/apps/matlab/default/ -graphics
The method described below works on the students PC pool (Fedora 22, 12. Aug. 2015).
Start Comsol server and Matlab
comsol server
# /opt/apps/comsol/comsol51_teaching/bin/comsol server
matlab
In Matlab:
addpath('/opt/apps/comsol/comsol51_teaching/mli'); mphstart('localhost', 2036); import com.comsol.model.*; import com.comsol.model.util.*;
The Comsol teaching version is lacking some licence needed for connecting to a remote Comsol server.
To execute a comsol-'simulation' on the Terminal:
comsol batch -inputfile myfile.mph