Comsol

From arccwiki
Jump to: navigation, search

Comsol

<SOFTWARE_PACKAGE_NAME>

  • Description: <SOFTWARE_DESCRIPTION>
  • Vendor: <SOFTWARE_VENDOR>
  • Application: <APPLICATION_NAME> <OPTIONAL if software has subcommands>
  • Version: <SOFTWARE_VERSION
  • Website: <SOFTWARE_VENDOR_WEBSITE>
  • License: <SOFTWARE_VENDOR_LICENSE_DETAILS>

Module Load Command

Use the following command to setup access to the <SOFTWARE_PACKAGE_NAME> software:

module load <SOFTWARE_MODULE_NAME>

Running <SOFTWARE_PACKAGE_NAME>

Do not run <SOFTWARE_PACKAGE_NAME> on a login node it will be killed.

<SOFTWARE_PACKAGE_NAME> should be run from the /gscratch directory. The standard output, standard error, and by default all generated data from the job will be placed in the directory where the sbatch command was issued. Running <SOFTWARE_PACKAGE_NAME> from the /home directory can quickly exhayst a users' home quota.

Batch <SOFTWARE_PACKAGE_NAME>

Here is an example batch script. For more information on submitting batch scripts, see the documentation on running jobs.

To run <SOFTWARE_PACKAGE_NAME> in batch mode using an <SOFTWARE_PACKAGE_NAME>, create a text file called fluent.sh or something to your liking containing:

#!/bin/bash
### This is a general SLURM script. You'll need to make modifications for this to 
### work with the ansus/fluent software. Remember that the .bashrc 
### file will get executed on each node upon login and any settings in this script
### will be in addition to, or will override, the system bashrc file settings. Users will
### find it advantageous to use only the specific modules they want or 
### specify a certain PATH environment variable, etc. If you have questions,
### please contact the ARCC at arcc-info@uwyo.edu for help.
### Informational text is usually indicated by "###". Don't uncomment these lines.
### Lines beginning with "#SBATCH" are SLURM directives. They tell SLURM what to do. ### For example, #SBATCH --job-name my_job tells SLURM that the name of the job is "my_job". ### Don't remove the "#SBATCH".
### Job Name #SBATCH --job-name=<your job name>
### Declare an account for the job to run under #SBATCH --account=<your project name>
### Standard output stream files have a default name of: ### "slurm_<jobid>.out" However, this can be changed using the options ### below. If you would like stdout and stderr to be combined, ### omit the "SBATCH -e" option below. ###SBATCH -o stdout_file ###SBATCH -e stderr_file
### mailing options #SBATCH --mail-type=BEGIN,END,FAIL #SBATCH --mail-user=jrlang@uwyo.edu
### Specify Resources ### 2 nodes, 16 processors (cores) each node #SBATCH --nodes=2 #SBATCH --ntasks-per-node=16
### Set max walltime (days-hours:minutes:seconds) #SBATCH --time=0-01:00:00
### Load needed modules module load ansys/fluent
### Change to the /gscratch directory cd /gscratch/<your userid>
### Command normally given on command line <SOFTWARE_RUN_COMMAND>



Back to HPC Installed Software