[RegCNET] error in compiling regcm4

zou liwei zouliwei at gmail.com
Sun Jun 20 13:55:46 CEST 2010


It seems that you should use byteswap.h instead of bits/byteswap.h

By the Way, RegCM4 have been released? Would anybody send me a copy?

Thanks.
2010/6/20 mohamad ibrahim <egy_mohamad at yahoo.com>

> 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
>
>
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20100620/581274fb/attachment.html>


More information about the RegCNET mailing list