[mpich-discuss] Segmentation fault (signal 11) and Exit code 139
Jeff Hammond
jeff.science at gmail.com
Tue Jul 9 21:07:08 CDT 2013
You compiled with Intel Fortran? That compiler puts static arrays on
the stack, unlike GNU Fortran, which puts them on the heap. You can
either use ulimit to make the stack huge or you can look up the
compiler option for Intel that puts these arrays on the heap.
Only ancient, poorly designed Fortran 77 codes have this problem, by the way.
Jeff
On Tue, Jul 9, 2013 at 8:49 PM, Zheng Li <seraphzl at gmail.com> wrote:
> ulimit -s 262140
> By setting the stack size to 256M, this issue was solved.
>
> Lee
>
>
> 2013/7/9 Jeff Hammond <jeff.science at gmail.com>
>>
>> Not an MPICH problem. Contact WRF support.
>>
>> Jeff
>>
>> Sent from my iPhone
>>
>> On Jul 9, 2013, at 2:09 AM, Zheng Li <seraphzl at gmail.com> wrote:
>>
>> Dear All,
>>
>> I tried to run the default January 2000 Case (the East Coast Winter Storm
>> of January 24-25, 2000) in WRF v3.5, and failed when running wrf.exe. The
>> error is as follows:
>>
>> [sl at sl0 em_real]$ mpirun -np 4 ./wrf.exe
>> starting wrf task 0 of 4
>> starting wrf task 1 of 4
>> starting wrf task 2 of 4
>> starting wrf task 3 of 4
>>
>>
>> ===================================================================================
>> = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
>> = EXIT CODE: 139
>> = CLEANING UP REMAINING PROCESSES
>> = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
>>
>> ===================================================================================
>> YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault
>> (signal 11)
>> This typically refers to a problem with your application.
>> Please see the FAQ page for debugging suggestions
>>
>> Does someone have idea of resolving this issue? Thanks in advance.
>>
>> Lee
>>
>> _______________________________________________
>> discuss mailing list discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>>
>> _______________________________________________
>> discuss mailing list discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>
>
>
>
> --
> Dr. Zheng Li
> Research Assistant
> State Key Laboratory of Environmental Aquatic Chemistry
> Research Center for Eco-Environmental Sciences
> Chinese Academy of Sciences
> P. O. Box 2871, Beijing, 100085 China
> seraphzl at gmail.com
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
--
Jeff Hammond
jeff.science at gmail.com
More information about the discuss
mailing list