A signal 9 means the process was killed by a user or by the OS. I’ve seen the OS kill processes that use too much memory but pgf901 only uses about 170Mb when compiling this file.
Does this error occur consistently? Do you have other processes running? What are your limits (in csh ‘limit’)?
And the building progress lasts a very long time about 12-24 hours
Your limits look ok, though you may want to increase your stack size to unlimited else WRF may get a stack overflow at runtime.
While WRFv3 does takes some time to build, 12-24 hours seems a bit much. On my 64-bit Core2 system it only takes about an hour. My guess is that you don’t have a lot of memory on this system and the compilers are swapping in memory (or just running out in the case of the signal 9). Do you have access to another system you could build on?
PGF90-F-0007-Subprogram too large to compile at this optimization level (module_comm_dm.f90: 41502)
This is a general message which basically means that the compiler ran out of memory.
Although you have “-O0” on the compile line, it appears that your mpif90 script automatically sets the “-fast” flag. Edit your mpif90 script and remove “-fast”. This should help reduce the amount of memory the compiler needs.
I will suggest you do the following it might help to solve the problem
try to use the older version of PGI 7.0.X has proved to compile WRF much better than 7.1.X
to reduce time while compiling …, after run ./configure and before compiling edit the configure.wrf file and go to the line “FCOPTIM = -02 -fast” (in my pc is line Number 106) and remove the “-02 -fast” so as it will read " FCOPTIM = " (without ") this will somehow helps to reduce compilation time