The computers in C203 are equipped with i7 8-core processors and 8G of total RAM. This occasionally leads to “out of memory” errors. These errors are particularly common during Spartan DFT IR calculations (a typical output error message reads, “Error Occurred: Not enough total memory”).
The error occurs because of a mismatch between the available memory and Spartan’s expectations regarding memory. Spartan normally expects to use all 8 cores and to find 2G/core, but not all Spartan calculations actually demand this much memory. When a Spartan calculation actually demands all of the expected memory, e.g., the situation that occurs in DFT IR calculations of a certain size, Spartan discovers that the memory it expects (16G total) exceeds the memory available (8G or less), and an “out of memory” error is the result.
The solution is to reduce the total amount of RAM memory that Spartan will look for. This can be accomplished by reducing the number of cores that Spartan uses. Here are two different ways to set this up:
- Automatic CPU allocation
- Open Options: Preferences: Jobs and select Automatic. Click OK.
- Open Setup: Calculations, set the calculation parameters you require, and enter either CPUCNT=2 or CPUCNT=3 in the Options box. Click Submit.
- Manual CPU allocation
- Open Options: Preferences: Jobs and select Manual. Set the #Concurrent Molecules/Job to 1 molecule. Set #Cores/Molecule to either 2 cores or 3 cores. Click Expert and set Per Job Limits: Memory Limit to 6000 MB or less. Click OK.
- Open Setup: Calculations, set the calculation parameters you require, and click Submit. (No special options are needed.)
Either approach will reduce the total memory that Spartan expects to 6G or less. It is necessary to set Spartan’s memory allocation to substantially less than 8G because the Windows OS and user applications also require some of the available memory.