forrtl: severe (174): SIGSEGV, segmentation fault occurred

Shruti

Shruti Joshi
Member
Hello,

I was trying to run CESM 2.1.2 with INTEL compiler.
I am facing issue with mpirun command.
In run.case file it says " ERROR: RUN FAIL: Command 'mpirun -np 4 failed"
- I have tried running a sample program with mpirun, it works fine.

The above mentioned error is found in cesm log.
PFA the log file.

Also PFA the env_machi_specific.xml file.

Please let me know what changes are required.
 

Attachments

jedwards

CSEG and Liaisons
Staff member
You are only using 4 tasks, you didn't tell me what case you are trying to run but my guess is that you are out of memory.
Reduce the problem size or increase the number of nodes. Check that your user stack limit is as large as possible.
 

Shruti

Shruti Joshi
Member
Hi,

I was running Compset X with resolution f19_g16.
Sorry but i seemed to have missed out attaching the env_mach_specific.xml file.
PFA the same.

It seems that the mpirun command is not being executed.
Also for Intel compilers, I declared MPI_LIBS as "MPICH".
Is that value correct?

Any suggestions would be helpful.
 

Attachments

Shruti

Shruti Joshi
Member
As per your previous comment, I tried increasing the number of nodes. Tried it, but that did not resolve the issue
 

jedwards

CSEG and Liaisons
Staff member
According to your cesm log the mpirun command is working fine. You should be able to run an X compset at f19_g16 on 4 tasks.
Did you check that your stack size is large enough? ulimit -a
 

Shruti

Shruti Joshi
Member
Hello,

This indeed worked for me.
I set "ulimit -s unlimited" in my script.

Thank you for the support.
 

finelocked

bowen liu
New Member
Hello! I just met the same question. May I ask that where should the "ulimit -s unlimited" be added, and in which script? Thank you!
 
Back
Top