Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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

  • cesm.log.178.200504-182548.txt
    11.6 KB · Views: 50

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

  • env_mach_specific.txt
    1.7 KB · Views: 29

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!
 

jedwards

CSEG and Liaisons
Staff member
Typically you would set this in your login dot files. Check with your system administrator.
 
Top