Version 2 (modified by 12 years ago) ( diff ) | ,
---|
Segmentation fault on an Intel Processor
Compiler: Intel 11.1
Library: MPI-CH or OpenMPI
Processor: Intel
Problem: When mpibear
is compiled on an Intel processor, the Intel compiler crashes with a segmentation fault for certain problem domain array sizes, or differing conditions of resolution vs. domain decomposition size.
Cause: This is usually caused by a problem with memory allocation - specifically not enough memory is assigned for the problem.
Solutions: Edit your .bashrc (or .cshrc) file to include the line 'ulimit -s unlimited' for a Bash Shell or 'limit stacksize unlimited' for a CShell. If this does not help, another solution may be to put the line '-heap-array 0' in your Makefile.inc Intel optimization flag section, in order to ensure memory allocation is not limited.