OpenFOAM: Difference between revisions

no edit summary
(try to clarify module naming and .org/.com fork)
No edit summary
Line 69: Line 69:
<!--T:13-->
<!--T:13-->
Mesh preparation (<code>blockMesh</code>) may be fast enough to be done at the command line (see [[Running jobs]]).  The solver (<code>icoFoam</code> and others) is usually the most expensive step and should always be submitted as a Slurm job except in very small test cases or tutorials.
Mesh preparation (<code>blockMesh</code>) may be fast enough to be done at the command line (see [[Running jobs]]).  The solver (<code>icoFoam</code> and others) is usually the most expensive step and should always be submitted as a Slurm job except in very small test cases or tutorials.
=== Segfaults with OpenMPI 3.1.2 ===
Users have reported random segfaults on Cedar when using OpenFOAM versions compiled for OpenMPI 3.1.2 in single-node jobs (shared memory communication). These issues seem not to happen with other versions of OpenMPI. If you experience such problems, first try to use an OpenMPI 2.1.1-based toolchain. For example:
{{Commands
|module load gcc/5.4.0
|module load openmpi/2.1.1
|module load openfoam/7
}}


===Performance=== <!--T:14-->
===Performance=== <!--T:14-->
cc_staff
127

edits