You are located in service: RWTH High Performance Computing (Linux)

comsol

comsol

 Detailinformation 

1. How to access the software

module load TECHNICS
module load comsol

The comsol GUI can then be started via the command

comsol

2. Example batch script

Serial Job
#!/usr/local_rwth/bin/zsh
 
### Job name
#SBATCH --job-name=COMSOL_SERIAL
 
### File / path where STDOUT will be written, the %J is the job id
#SBATCH --output=comsol-serial-log.%J
 
### Request the time you need for execution. The full format is D-HH:MM:SS
### You must at least specify minutes or days and hours and may add or
### leave out any other parameters
#SBATCH --time=80
 
### Request memory you need for your job in MB
#SBATCH --mem-per-cpu=3900
 
### Change to the work directory
cd $HOME/jobdirectory
 
### load modules and execute
module load TECHNICS
module load comsol
 
export DISPLAY="localhost:0.0"
 
# start non-interactive batch job
comsol batch -tmpdir $TMP -inputfile input -outputfile output -batchlog logfile
Parallel Job
#!/usr/local_rwth/bin/zsh
 
### Job name
#SBATCH --job-name=COMSOL_PARALLEL
 
### File / path where STDOUT will be written, the %J is the job id
#SBATCH --output=comsol-parallel-log.%J
 
### Request the time you need for execution. The full format is D-HH:MM:SS
### You must at least specify minutes or days and hours and may add or
### leave out any other parameters
#SBATCH --time=80
 
### Request memory you need for your job in MB
#SBATCH --mem-per-cpu=3900
 
### Request number of hosts
#SBATCH --nodes=1
   
### Request number of CPUs
#SBATCH --ntasks=8
 
### Change to the work directory
cd $HOME/jobdirectory
 
### load modules and execute
module load TECHNICS
module load comsol
 
export DISPLAY="localhost:0.0"
  
# start non-interactive batch job
comsol batch -mpibootstrap slurm -tmpdir $TMP -inputfile input -outputfile output -batchlog logfile

last changed on 07/14/2022

How did this content help you?

Creative Commons Lizenzvertrag
This work is licensed under a Creative Commons Attribution - Share Alike 3.0 Germany License