Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

saving in batch mode

Gábor János Tóth-Molnár

Please login with a confirmed email address before reporting spam

Hello,

how can I save the model file regularly in batch mode on Linux? Which option should I use in the command line?

Thank you!

1 Reply Last Post 27 ott 2014, 11:58 GMT-4
Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 27 ott 2014, 11:58 GMT-4
Here is the batch script I regularly use on my cluster for large models:

#!/bin/sh
#
# run comsol 4.4 in client-cluster mode
#
ulimit -v 130000000
CS_NH=1
CS_NN=6
CS_NP=16
CS_ROOT=/usr/local/COMSOL44/bin
RUN_ROOT=/home/uid/comsol/v4.4/
MODEL_FILE=run_example
STUDY=std10
#
# start the new run
#
$CS_ROOT/comsol batch \
-blas auto -64 \
-nnhost $CS_NH -nn $CS_NN -np $CS_NP \
-autosave on -3drend sw \
-f /home/uid/ib.hosts \
-inputfile $RUN_ROOT/$MODEL_FILE.mph \
-outputfile $RUN_ROOT/batch_jobs/$MODEL_FILE.mph \
-study $STUDY \
-batchlog $RUN_ROOT/batch_jobs/$MODEL_FILE.log
Here is the batch script I regularly use on my cluster for large models: #!/bin/sh # # run comsol 4.4 in client-cluster mode # ulimit -v 130000000 CS_NH=1 CS_NN=6 CS_NP=16 CS_ROOT=/usr/local/COMSOL44/bin RUN_ROOT=/home/uid/comsol/v4.4/ MODEL_FILE=run_example STUDY=std10 # # start the new run # $CS_ROOT/comsol batch \ -blas auto -64 \ -nnhost $CS_NH -nn $CS_NN -np $CS_NP \ -autosave on -3drend sw \ -f /home/uid/ib.hosts \ -inputfile $RUN_ROOT/$MODEL_FILE.mph \ -outputfile $RUN_ROOT/batch_jobs/$MODEL_FILE.mph \ -study $STUDY \ -batchlog $RUN_ROOT/batch_jobs/$MODEL_FILE.log

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.