[ET Trac] #2547: Compilation failure: "invalid type" errors in Vectors vmask code
Bernard Kelly
trac-noreply at einsteintoolkit.org
Fri Aug 6 06:44:27 CDT 2021
#2547: Compilation failure: "invalid type" errors in Vectors vmask code
Reporter: Bernard Kelly
Status: new
Milestone: ET_2021_05
Version: ET_2021_05
Type: bug
Priority: blocker
Component: EinsteinToolkit thorn
Fresh download & first compilation of latest ETK release: compilation fails during Vectors thorn because of issues with “vmask” code:
`In file included from /gpfs/scratch/bjk0015/codes/Cactus_ET_2021_05/arrangements/CactusUtils/Vectors/src/vectors.cc(1):
/gpfs/scratch/bjk0015/codes/Cactus_ET_2021_05/arrangements/CactusUtils/Vectors/src/vectors.h(1228): error: invalid type for defaulted constructor
vmask(vmask &&) = default;
^
In file included from /gpfs/scratch/bjk0015/codes/Cactus_ET_2021_05/arrangements/CactusUtils/Vectors/src/vectors.cc(1):
/gpfs/scratch/bjk0015/codes/Cactus_ET_2021_05/arrangements/CactusUtils/Vectors/src/vectors.h(1230): error: invalid type for defaulted assignment operator
vmask &operator=(vmask &&) = default;`
I can fix this issue by commenting out the definition of the “vmask” structure, and the following code that calls it – which is apparently not used in the rest of the code anyway. git diff is attached here.
Further notes:
The compilation is on the WVU machine Spruce Knob, using the Intel 17.0.1 compiler. I’m using the following configuration options:
CC=icc
CFLAGS=-Ofast -qopenmp -xHost -align -std=gnu99
CPP=cpp
CPPFLAGS=-DMPICH\_IGNORE\_CXX\_SEEK
CPP\_DEBUG\_FLAGS=-DCARPET\_DEBUG
CPP\_OPENMP\_FLAGS=-fopenmp
CROSS\_COMPILE=yes
CXX=icpc
CXXFLAGS=-Ofast -qopenmp -xHost -align -std=gnu\+\+11
CXX\_DEBUG\_FLAGS=-O0
CXX\_NO\_OPTIMISE\_FLAGS=-O0
CXX\_OPENMP\_FLAGS=-fopenmp
CXX\_OPTIMISE\_FLAGS=-Ofast
CXX\_PROFILE\_FLAGS=-pg
C\_DEBUG\_FLAGS=-O0
C\_LINE\_DIRECTIVES=yes
C\_NO\_OPTIMISE\_FLAGS=-O0
C\_OPENMP\_FLAGS=-fopenmp
C\_OPTIMISE\_FLAGS=-Ofast
C\_PROFILE\_FLAGS=-pg
attachment: git_diff_vectors_dot_h.txt (https://api.bitbucket.org/2.0/repositories/einsteintoolkit/tickets/issues/2547/attachments/git_diff_vectors_dot_h.txt)
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2547/compilation-failure-invalid-type-errors-in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20210806/091e39aa/attachment.html
More information about the Trac
mailing list