Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
habrok:examples:gaussian [2025/06/11 12:10] – Use bash syntax highlighting pedrohabrok:examples:gaussian [2026/03/29 22:07] (current) pedro
Line 23: Line 23:
 srun g16 inputfile.inp outputfile.out srun g16 inputfile.inp outputfile.out
 </code> </code>
-Gaussian can only do shared memory parallel calculations, i.e. using processors within the same node, so %%--nodes%% should always be 1. Furthermore, it is important to start only one Gaussian process/task, which itself will make use of the available cores. This is achieved by settings %%--ntasks%% to 1, while %%--cpus-per-task%% can vary: srun will then launch only one Gaussian process.+Gaussian can only do shared memory parallel calculations, i.e. using processors within the same node, so ''%%--nodes%%'' should always be 1. Furthermore, it is important to start only one Gaussian process/task, which itself will make use of the available cores. This is achieved by settings ''%%--ntasks%%'' to 1, while ''%%--cpus-per-task%%'' can vary: ''srun'' will then launch only one Gaussian process.
  
 Finally, make sure to use the same number of requested cores and same amount of memory in your Gaussian input file, e.g.: Finally, make sure to use the same number of requested cores and same amount of memory in your Gaussian input file, e.g.: