Hi everyone,I have a problem of running WRF on my Mac pro with Lion (Xcode 4.2). I am using intel fortran composer XE and GCC (4.2).
I am able to run WRF in serial mode or in smpar mode with single thread. But segmentation fault occurs (forrtl: severe (174): SIGSEGV, segmentation fault occurred) when i try to run it with 2 or more threads. After a lot searching, the most possible reason seems to be about the stack size.I did "unlimit" in the command line, which is supposed to free the stack size, but there is hard upper limit in mac (64MB). Then Iadjusted LDFLAGS_LOCAL option in configure.wrf, increasing-stack_sizeto 0x1F0000000 (about 8GB). Thus ifort compile wrf.exe with the adjusted stack size. However, I still cannot make it run with 2+ threads and get the same error.
Any help or advice is truly appreciated.