Dear all,
When I ran the wrf.exe with the following command:
mpiexec --hostfile ${PBS_NODEFILE} -np 32 -ppn 32 ./wrf.exe
I got the segmentation fault (11) as soon as wrf.exe starts. The real.exe works without any problems. I compiled WRF with the followings options, compiler, and library:
- Option: 54. (dmpar) PGI (pgf90/pgcc)
- compiler pgi-19.5
- Netcdf-3.6.1
- Mpich-3.0.4
export FC=pgf90
export F90=pgf90
export F77=pgf90
export CC=pgcc
export CXX=pgc++
export FFLAGS="-O2 -w -V"
export CFLAGS="-O2 -Msignextend -V"
export CPPFLAGS="-DNDEBUG -DpgiFortran"
Before compiling WRF I have taken all the tests suggested in the following link:
https://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php
And confirm that my system has passed all the tests required and both WRF and WPS have been compiled successfully
When I used intel-compiler and intel-mpi to compile WRF, the segmentation fault did not occur. So, I think the problem was because of the pgi-compiler but I am not sure what it is exactly. I would appreciate it very much if you could help me on how to solve the problem. If you need any other information, please let me know.
Thank you in advance.