Environment File Settings¶
Overview¶
The Abaqus execution procedure uses environment parameters to customize the execution of a job. These settings can be changed using one of the Abaqus environment files: custom_v6.env or abaqus_v6.env.
If the same job parameter is defined in more than one environment file or is defined more than once within the same environment file, the last definition encountered will be used.
Environment Settings Hierarchy¶
Abaqus environment settings have the following hierarchy (from lowest to highest priority):
- abaqus_v6.env: Default environment file created during Abaqus installation
- custom_v6.env: User-customized environment file
- Command line arguments: Parameters specified directly on the command line
Syntax¶
Environment files are text files containing a series of environment variable assignments. Each line has the format:
Variable Types¶
- Integer variables: e.g.,
cpus = 4 - Float variables: e.g.,
memory = 80% - String variables: e.g.,
scratch = /tmp/abaqus - Boolean variables: e.g.,
standard_parallel = all
Troubleshooting¶
Checking Environment Settings¶
Use the following command to display current environment settings:
Common Issues¶
- If job behavior is abnormal, check environment file syntax
- Ensure variables are not defined multiple times in the same file
- Use
abaqus information=systemto check system configuration
Command Line Default Parameters¶
cpus¶
Specifies the number of CPUs for analysis. The default is typically 1.
domains¶
Specifies the number of parallel domains in Abaqus/Explicit.
double_precision¶
Specifies double precision execution.
parallel¶
Specifies the parallel method (domain or loop).
run_mode¶
Specifies the run mode (interactive or background).
scratch¶
Specifies the scratch directory.
standard_parallel¶
Specifies the standard parallel option (all or solver).
gpus¶
Specifies the number of GPUs.
unconnected_regions¶
Specifies whether to create sets for unconnected regions.
System Resource Parameters¶
memory¶
Syntax: memory = memory_specification
Description: Specifies the maximum amount of memory or maximum percentage of physical memory that Abaqus can use during analysis.
Example:
System Customization Parameters¶
ask_delete¶
Specifies whether to prompt for confirmation before overwriting existing files.
auto_calculate¶
Enables automatic calculation.
auto_convert¶
Specifies automatic conversion options.
average_by_section¶
Averages output by section.
mp_host_list¶
Specifies the MPI host list.
odb_output_by_default¶
Enables ODB output by default.
output_warnings_level¶
Specifies the warning level.
onCaeStartup¶
Specifies scripts to run at startup.
Export of Environment Variables during Parallel Execution¶
During parallel execution, certain environment variables are exported to child processes.
Co-Simulation Parameters¶
cosimulation_port¶
Specifies the co-simulation port number.
cosimulation_timeout¶
Specifies the co-simulation timeout value in seconds.
cpus_weight_std¶
Specifies the CPU weight for Abaqus/Standard.
cpus_weight_xpl¶
Specifies the CPU weight for Abaqus/Explicit.
portpool¶
Specifies the port pool range.
Environment File Examples¶
Linux Environment File¶
# Linux Environment File Example
cpus = 4
memory = 80%
scratch = /tmp/abaqus
standard_parallel = all
Windows Environment File¶
@REM Windows Environment File Example
set cpus=4
set memory=80%
set scratch=C:\TEMP\abaqus
set standard_parallel=all
Source: Abaqus 2025 FD02 Execution Guide