Dear all
Dear Bi
when I want to compile the regcm4 on my PC with mpich, pgi7 and netcdf4, I found the following :

make[1]: Entering directory `/home/egydust/new_regcm/RegCM-4.0-rc1/PostNc'
pgCC -fastsse -I. -I/home/egydust/NETCDF/include -D'SVN_REV="1003"'  -c -o rcminp.o rcminp.cpp
"/home/egydust/opt/pgi/linux86/7.0-2/include/bits/byteswap.h", line 21: catastrophic error:
          #error directive: "Never use <bits/byteswap.h> directly; include
          <byteswap.h> instead."
  # error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
    ^

1 catastrophic error detected in the compilation of "rcminp.cpp".
Compilation terminated.
make[1]: *** [rcminp.o] Error 2
make[1]: Leaving directory `/home/egydust/new_regcm/RegCM-4.0-rc1/PostNc'
make: *** [postnc] Error 2
 Can anyone help me?
THanks


Mohamed OMAR
Egyptian Meteorological Authority