[Users] Compiling ET Using PGI

Erik Schnetter eschnetter at perimeterinstitute.ca
Thu Nov 29 10:16:52 CST 2018


These warnings indicate that the symbol CCTK_REAL8 is not defined.
Most likely, something went wrong in the configure stage, and Cactus
didn't realize that CCTK_REAL8 should be "double".

Very old C allowed defining functions without specifying a result
type, and the function would then be assumed to return "int". The PGI
compiler still supports this, hence this is a warning, not an error.

-erik


On Fri, Sep 21, 2018 at 1:16 PM Christopher Ramirez
<c.ramirez01 at gmail.com> wrote:
>
> Hello,
>
> I've been getting the following errors when trying to compile using PGI compilers and am wondering if were any additional steps needed to compile successfully.
>
> COMPILING arrangements/CactusBase/Boundary/src/ScalarBoundary.c
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cGH.h: 41)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cGH.h: 41)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cGH.h: 42)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cGH.h: 42)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cGH.h: 45)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cGH.h: 45)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cGH.h: 71)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cGH.h: 71)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Coord.h: 29)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Coord.h: 29)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Coord.h: 30)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Coord.h: 30)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Coord.h: 60)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Coord.h: 60)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Coord.h: 61)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Coord.h: 61)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Coord.h: 67)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Coord.h: 67)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Coord.h: 68)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Coord.h: 68)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Misc.h: 43)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Misc.h: 43)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Interp.h: 39)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Interp.h: 39)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Interp.h: 40)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Interp.h: 40)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Interp.h: 76)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Interp.h: 76)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/cctk_Interp.h: 77)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/cctk_Interp.h: 77)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/util_Table.h: 216)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/util_Table.h: 216)
> PGC-S-0040-Illegal use of symbol, CCTK_COMPLEX16 (/home/ramirez/Cactus/src/include/util_Table.h: 228)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/util_Table.h: 228)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/util_Table.h: 301)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/util_Table.h: 301)
> PGC-S-0040-Illegal use of symbol, CCTK_COMPLEX16 (/home/ramirez/Cactus/src/include/util_Table.h: 321)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/util_Table.h: 321)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/util_Table.h: 381)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/util_Table.h: 381)
> PGC-S-0040-Illegal use of symbol, CCTK_COMPLEX16 (/home/ramirez/Cactus/src/include/util_Table.h: 393)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/util_Table.h: 393)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/src/include/util_Table.h: 467)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/util_Table.h: 467)
> PGC-S-0040-Illegal use of symbol, CCTK_COMPLEX16 (/home/ramirez/Cactus/src/include/util_Table.h: 487)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/src/include/util_Table.h: 487)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/arrangements/CactusBase/Boundary/src/Boundary.h: 40)
> PGC-W-0156-Type not specified, 'int' assumed (/home/ramirez/Cactus/arrangements/CactusBase/Boundary/src/Boundary.h: 40)
> PGC-S-0040-Illegal use of symbol, CCTK_REAL8 (/home/ramirez/Cactus/arrangements/CactusBase/Boundary/src/Boundary.h: 42)
> PGC-F-0008-Error limit exceeded (/home/ramirez/Cactus/arrangements/CactusBase/Boundary/src/Boundary.h: 42)
> PGC/x86-64 Linux 17.10-0: compilation aborted
> make[3]: *** [ScalarBoundary.c.o] Error 2
> make[2]: *** [make.checked] Error 2
>
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users



-- 
Erik Schnetter <eschnetter at perimeterinstitute.ca>
http://www.perimeterinstitute.ca/personal/eschnetter/


More information about the Users mailing list