[Users] Compiling ET Using PGI

Haas, Roland rhaas at illinois.edu
Thu Nov 29 10:01:22 CST 2018


Hello Chris,

I cannot say much about the Fortran stuff (warnings it seems, but
disconcerting). My usual guess for Fortran errors of this type is that
the compiler does not support eg the complex datatype that Cactus uses. 

The 4 errors that abort are all 

"/home/ram0311/Cactus/src/piraha/Call.cc", line 513: error: namespace "std" has
          no member "lrint"

and those can be fixed by making sure that the C++ compiler allows
C++11 code (see http://www.cplusplus.com/reference/cmath/lrint/)
typically by an option similar to -std=c++11

Yours,
Roland

> Hello,
> Sorry for reopening this ticket but I've run into some further errors.
> I've since passed this issue but have been getting further issues while
> trying to compile with PGI. I've noted the config available for franklin (
> https://svn.cct.lsu.edu/repos/numrel/simfactory/trunk/optionlists/franklin.cfg
> )
> and have modeled my config file after this but I still see the attached
> errors.
> 
> For background, I'm working on some code that will utilize a combination of
> openacc and cuFFT(cuda), hence the need for PGI.
> 
> I've redirected stderr to a file and have attached it and my config file
> here.
> 
> Thanks and best regards,
> 
> Chris
> 
> On Fri, Sep 21, 2018 at 12: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
> >
> >



-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20181129/d1ca203e/attachment.bin 


More information about the Users mailing list