顯示具有 COMSOL 標籤的文章。 顯示所有文章
顯示具有 COMSOL 標籤的文章。 顯示所有文章

2010/04/05

How to run script in batch mode or background

 

comsol matlab -ml -nodesktop -ml -nosplash -mlr "myscript, exit"

Note: add a line at the beginning of the script

flreport('off')

in background

nohup comsol matlab –ml –nodesktop –ml –nosplash < myscript.m >& nohup.log &

2008/11/29

How to use MATLAB and COMSOL on the cluster

You can launch COMSOL or MATLAB on the cluster from everywhere as long as you can access internet.
Open cygwin and keyin:


ssh -X11 yourCCID@masternode.eche.ualberta.ca
qsub -l nodes=1,walltime=20:00:00 -I

image

Remember the number of the node, in this case node14.

Open the other cygwin and start XWin by using "startx"

ssh -Y CCID@masternode.eche.ualberta.ca
ssh nodeN

 

image

image image