Software Archive
Read-only legacy content
17061 Discussions

Segmentation Fault with WRF

Srikanth_Yalavarthi
1,158 Views

I have compiled WRF v3.5 in (dm+sm) par mode with all necessary libraries for Intel MIC.

I am getting the error "APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)" when executed with mpirun as "mpirun -host localhost-mic0 -n 1 ./wrf.exe"

but when run the executable (./wrf.exe) by logging into the card, the executable runs without any problem provided ulimit is set to unlimited.

So, I tried changing the environment variable KMP_STACKSIZE on the host, to different values and i still have the same seg fault issue.

can anyone help me in this regard.

0 Kudos
1 Reply
TimP
Honored Contributor III
1,158 Views

You could make KMP_STACKSIZE effective for each process started on MIC from host by setting a -env option.  Apparently, you need a ulimit setting on MIC, which I've seen done only by putting it in a script which mpirun starts on MIC which in turn runs the application.

0 Kudos
Reply