Compilation error when running command ./simfactory/bin/sim build --mdbkey make 'make -j2' --thornlist ../einsteintoolkit.th | cat

Create issue
Issue #2196 closed
anonymous created an issue

I'm trying to compile Einstein Toolkit for the first time using the above command. I keep getting compilation errors. I am using Ubuntu 16.04.5 LTS on VMWare. I will post the errors that I am getting below. Any tips on how to solve these errors? I tried getting the components again, uninstalling and reinstalling all of toolkit. home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxPsi.cc:90:111: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_Copy(CCTK_PASS_CTOC, "CT_MultiLevel::ct_residual[0]", "CT_MultiLevel::ct_residual_copy[0]", nequation); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxPsi.cc:90:111: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxPsi.cc:33:29: warning: unused variable ‘tmpnorm’ [-Wunused-variable] CCTK_REAL norm = 1e+03, tmpnorm; ^ COMPILING configs/sim/bindings/build/CT_MultiLevel/cctk_ThornBindings.c Checking status of thorn CarpetEvolutionMask COMPILING arrangements/Carpet/CarpetEvolutionMask/src/evolution_mask.cc COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc: In function ‘void CT_RelaxError(cGH, CCTK_INT4, CCTK_INT4, CCTK_INT4, CCTK_INT4, CCTK_INT4, CCTK_INT4, CCTK_INT4, CCTK_INT4, CCTK_INT4)’: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:70:123: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_Copy(CCTK_PASS_CTOC, "CT_MultiLevel::ct_residual_above[0]", "CT_MultiLevel::ct_residual_above_copy[0]", nequation); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:70:123: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:78:78: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] if (rset_psi) CT_Reset(CCTK_PASS_CTOC, "CT_MultiLevel::ct_err", zero, 0); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:93:101: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_Copy(CCTK_PASS_CTOC, "CT_MultiLevel::ct_err[0]", "CT_MultiLevel::ct_err_copy[0]", nequation); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:93:101: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:101:111: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_Copy(CCTK_PASS_CTOC, "CT_MultiLevel::ct_residual[0]", "CT_MultiLevel::ct_residual_copy[0]", nequation); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:101:111: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:108:101: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_Copy(CCTK_PASS_CTOC, "CT_MultiLevel::ct_psi[0]", "CT_MultiLevel::ct_psi_copy[0]", nequation); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:108:101: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_RelaxError.cc:33:29: warning: unused variable ‘tmpnorm’ [-Wunused-variable] CCTK_REAL norm = 1e+03, tmpnorm; ^ COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_Boundaries.cc /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_Boundaries.cc: In function ‘void CT_Boundaries(cGH, const char)’: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_Boundaries.cc:65:25: warning: unused variable ‘pvarx’ [-Wunused-variable] CCTK_REAL pvarx = idx * (c1 * pvar[i1] + c2 * pvar[i2] + c3 * pvar[i3]); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_Boundaries.cc:66:25: warning: unused variable ‘pvary’ [-Wunused-variable] CCTK_REAL pvary = idy * (c1 * pvar[j1] + c2 * pvar[j2] + c3 * pvar[j3]); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_Boundaries.cc:67:25: warning: unused variable ‘pvarz’ [-Wunused-variable] CCTK_REAL pvarz = idz * (c1 * pvar[k1] + c2 * pvar[k2] + c3 * pvar[k3]); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_Boundaries.cc:95:25: warning: unused variable ‘pvarx’ [-Wunused-variable] CCTK_REAL pvarx = idx * (c1 * pvar[i1] + c2 * pvar[i2] + c3 * pvar[i3]); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_Boundaries.cc:96:25: warning: unused variable ‘pvary’ [-Wunused-variable] CCTK_REAL pvary = idy * (c1 * pvar[j1] + c2 * pvar[j2] + c3 * pvar[j3]); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_Boundaries.cc:97:25: warning: unused variable ‘pvarz’ [-Wunused-variable] CCTK_REAL pvarz = idz * (c1 * pvar[k1] + c2 * pvar[k2] + c3 * pvar[k3]); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_Boundaries.cc:23:18: warning: unused variable ‘npoints’ [-Wunused-variable] CCTK_INT npoints = cctk_lsh[0] * cctk_lsh[1] * cctk_lsh[2]; ^ COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_SolvePsiEquation.cc /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_SolvePsiEquation.cc: In function ‘void CT_SolvePsiEquation(cGH, CCTK_REAL8, CCTK_INT4)’: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_SolvePsiEquation.cc:34:19: warning: unused variable ‘twothirds’ [-Wunused-variable] CCTK_REAL twothirds = 2.0/3.0; ^ COMPILING arrangements/Carpet/CarpetEvolutionMask/src/evolution_mask_init.c COMPILING arrangements/Carpet/CarpetEvolutionMask/src/evolution_mask_enforce.c COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_SolveErrorEquation.cc COMPILING configs/sim/bindings/build/CarpetEvolutionMask/cctk_ThornBindings.c Creating /home/dvogel3/Cactus/configs/sim/lib/libthorn_CarpetEvolutionMask.a COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_AddErrorToPsi.cc COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_Reset.cc COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_EnforceInt.cc In file included from /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_EnforceInt.cc:25:0: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/Lump.cc: In function ‘void CT_EnforceInt(cGH, CCTK_REAL8)’: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/Lump.cc:34:51: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_WriteTimeSeries(Carpet::reflevel, Kfin, "k.asc"); ^ In file included from /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_EnforceInt.cc:29:0: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLat.cc:51:51: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_WriteTimeSeries(Carpet::reflevel, Kfin, "k.asc"); ^ In file included from /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_EnforceInt.cc:33:0: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLatNewt.cc:50:48: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_WriteTimeSeries(Carpet::reflevel, A, "A.asc"); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLatNewt.cc:2:12: warning: unused variable ‘K’ [-Wunused-variable] CCTK_REAL K = (CCTK_REAL ) CCTK_VarDataPtr(cctkGH, 0, "CT_Analytic::testK"); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLatNewt.cc:3:12: warning: unused variable ‘dxK’ [-Wunused-variable] CCTK_REAL dxK = (CCTK_REAL ) CCTK_VarDataPtr(cctkGH, 0, "CT_Analytic::testdxK"); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLatNewt.cc:4:12: warning: unused variable ‘dyK’ [-Wunused-variable] CCTK_REAL dyK = (CCTK_REAL ) CCTK_VarDataPtr(cctkGH, 0, "CT_Analytic::testdyK"); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLatNewt.cc:5:12: warning: unused variable ‘dzK’ [-Wunused-variable] CCTK_REAL dzK = (CCTK_REAL ) CCTK_VarDataPtr(cctkGH, 0, "CT_Analytic::testdzK"); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLatNewt.cc:6:12: warning: unused variable ‘c1’ [-Wunused-variable] CCTK_REAL c1 = (CCTK_REAL ) CCTK_VarDataPtr(cctkGH, 0, "CT_Analytic::testc1"); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLatNewt.cc:7:12: warning: unused variable ‘c2’ [-Wunused-variable] CCTK_REAL c2 = (CCTK_REAL ) CCTK_VarDataPtr(cctkGH, 0, "CT_Analytic::testc2"); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLatNewt.cc:8:12: warning: unused variable ‘W’ [-Wunused-variable] CCTK_REAL W = (CCTK_REAL ) CCTK_VarDataPtr(cctkGH, 0, "CT_Analytic::testW"); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/integral/ExpLatNewt.cc:11:11: warning: unused variable ‘Kini’ [-Wunused-variable] CCTK_REAL Kini = Kfac[CCTK_GFINDEX3D(cctkGH,0,0,0)]; ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_EnforceInt.cc:21:18: warning: unused variable ‘npoints’ [-Wunused-variable] CCTK_INT npoints = cctk_lsh[0] * cctk_lsh[1] * cctk_lsh[2]; ^ Checking status of thorn CarpetIOASCII COMPILING arrangements/Carpet/CarpetIOASCII/src/ioascii.cc COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_OutputWalk.cc /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_OutputWalk.cc: In function ‘void CT_OutputWalk(cGH)’: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_OutputWalk.cc:42:49: warning: ‘r_value’ may be used uninitialized in this function [-Wmaybe-uninitialized] CT_WritePairs(c_value, r_value, fname); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_OutputWalk.cc:42:49: warning: ‘c_value’ may be used uninitialized in this function [-Wmaybe-uninitialized] COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_RestoreError.cc COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_CalcPsiResidual.cc /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_CalcPsiResidual.cc: In function ‘void CT_CalcPsiResidual(cGH, CCTK_INT4, CCTK_INT4, CCTK_REAL8)’: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_CalcPsiResidual.cc:114:81: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_Norm(CCTK_PASS_CTOC, "CT_MultiLevel::ct_residual[0]", &eqnnorm, nequation); ^ COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_CalcErrResidual.cc /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_CalcErrResidual.cc: In function ‘void CT_CalcErrResidual(cGH, CCTK_INT4, CCTK_INT4, CCTK_REAL8)’: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_CalcErrResidual.cc:116:81: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_Norm(CCTK_PASS_CTOC, "CT_MultiLevel::ct_residual[0]", &eqnnorm, nequation); ^ COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_CompareToExact.cc /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_CompareToExact.cc: In function ‘void CT_CompareToExact(cGH, CCTK_INT4)’: /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_CompareToExact.cc:104:74: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_Norm(CCTK_PASS_CTOC, "CT_MultiLevel::ct_terr[0]", &norm, nequation); ^ /home/dvogel3/Cactus/arrangements/CTThorns/CT_MultiLevel/src/CT_CompareToExact.cc:110:75: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] CT_Norm(CCTK_PASS_CTOC, "CT_MultiLevel::ct_trunc[0]", &norm, nequation); ^ COMPILING configs/sim/bindings/build/CarpetIOASCII/cctk_ThornBindings.c Creating /home/dvogel3/Cactus/configs/sim/lib/libthorn_CarpetIOASCII.a COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_UpdateBoundaries.cc COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_CopyResidual.cc COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_PopulatePointerStruct.cc COMPILING arrangements/CTThorns/CT_MultiLevel/src/CT_Utils.cc Checking status of thorn CarpetIOBasic COMPILING arrangements/Carpet/CarpetIOBasic/src/iobasic.cc /home/dvogel3/Cactus/arrangements/Carpet/CarpetLib/src/typecase.hh: In function ‘void CarpetIOBasic::OutputVar(const cGH, int, const char)’: /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOBasic/src/iobasic.cc:454:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] T const &val = (T const )result; \ ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetLib/src/typecase.hh:144:1: note: in expansion of macro ‘TYPECASE’ TYPECASE(CCTK_VARIABLE_INT4, CCTK_INT4) ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOBasic/src/iobasic.cc:454:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] T const &val = (T const )result; \ ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetLib/src/typecase.hh:172:1: note: in expansion of macro ‘TYPECASE’ TYPECASE(CCTK_VARIABLE_REAL8, CCTK_REAL8) ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOBasic/src/iobasic.cc:454:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] T const &val = (T const )result; \ ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetLib/src/typecase.hh:195:1: note: in expansion of macro ‘TYPECASE’ TYPECASE(CCTK_VARIABLE_COMPLEX16, CCTK_COMPLEX16) ^ Creating /home/dvogel3/Cactus/configs/sim/lib/libthorn_CT_MultiLevel.a COMPILING configs/sim/bindings/build/CarpetIOBasic/cctk_ThornBindings.c Checking status of thorn CarpetIOHDF5 COMPILING arrangements/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc Creating /home/dvogel3/Cactus/configs/sim/lib/libthorn_CarpetIOBasic.a Checking status of thorn CarpetIOScalar COMPILING arrangements/Carpet/CarpetIOScalar/src/ioscalar.cc /home/dvogel3/Cactus/arrangements/Carpet/CarpetLib/src/typecase.hh: In function ‘int CarpetIOScalar::OutputVarAs(const cGH, const char, const char, const char)’: /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOScalar/src/ioscalar.cc:453:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] file << (T const )result; \ ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetLib/src/typecase.hh:144:1: note: in expansion of macro ‘TYPECASE’ TYPECASE(CCTK_VARIABLE_INT4, CCTK_INT4) ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOScalar/src/ioscalar.cc:453:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] file << (T const )result; \ ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetLib/src/typecase.hh:172:1: note: in expansion of macro ‘TYPECASE’ TYPECASE(CCTK_VARIABLE_REAL8, CCTK_REAL8) ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOScalar/src/ioscalar.cc:461:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] file << real((T const )result) << " " << imag((T const )result); \ ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetLib/src/typecase.hh:195:1: note: in expansion of macro ‘TYPECASE’ TYPECASE(CCTK_VARIABLE_COMPLEX16, CCTK_COMPLEX16) ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOScalar/src/ioscalar.cc:461:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] file << real((T const )result) << " " << imag((T const )result); \ ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetLib/src/typecase.hh:195:1: note: in expansion of macro ‘TYPECASE’ TYPECASE(CCTK_VARIABLE_COMPLEX16, CCTK_COMPLEX16) ^ COMPILING configs/sim/bindings/build/CarpetIOScalar/cctk_ThornBindings.c Creating /home/dvogel3/Cactus/configs/sim/lib/libthorn_CarpetIOScalar.a COMPILING configs/sim/bindings/build/CarpetIOHDF5/cctk_ThornBindings.c Checking status of thorn CarpetIntegrateTest COMPILING arrangements/Carpet/CarpetIntegrateTest/src/Local.cc COMPILING arrangements/Carpet/CarpetIntegrateTest/src/Global.cc COMPILING arrangements/Carpet/CarpetIOHDF5/src/Input.cc COMPILING configs/sim/bindings/build/CarpetIntegrateTest/cctk_ThornBindings.c Creating /home/dvogel3/Cactus/configs/sim/lib/libthorn_CarpetIntegrateTest.a COMPILING arrangements/Carpet/CarpetIOHDF5/src/Output.cc Checking status of thorn CarpetInterp COMPILING arrangements/Carpet/CarpetInterp/src/interp.cc COMPILING arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc: In instantiation of ‘static int CarpetIOHDF5::IOHDF5<outdim>::WriteHDF5(const cGH, hid_t&, hid_t&, std::vector<gdata>, const bbox<int, 3>&, int, const vect<int, 3>&, const vect<int, outdim>&, int, int, int, int, int, int, CCTK_REAL8, const vect<double, 3>&, const vect<double, 3>&) [with int outdim = 0; cGH = _cGH; hid_t = int; CCTK_REAL8 = double]’: /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc:1607:16: required from here /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc:1394:17: warning: unused variable ‘lc’ [-Wunused-variable] const int lc = vhh.at(m)->get_local_component(rl, c); ^ /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc: In instantiation of ‘static int CarpetIOHDF5::IOHDF5<outdim>::WriteHDF5(const cGH, hid_t&, hid_t&, std::vector<gdata>, const bbox<int, 3>&, int, const vect<int, 3>&, const vect<int, outdim>&, int, int, int, int, int, int, CCTK_REAL8, const vect<double, 3>&, const vect<double, 3>&) [with int outdim = 1; cGH = _cGH; hid_t = int; CCTK_REAL8 = double]’: /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc:1608:16: required from here /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc:1394:17: warning: unused variable ‘lc’ [-Wunused-variable] /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc: In instantiation of ‘static int CarpetIOHDF5::IOHDF5<outdim>::WriteHDF5(const cGH, hid_t&, hid_t&, std::vector<gdata>, const bbox<int, 3>&, int, const vect<int, 3>&, const vect<int, outdim>&, int, int, int, int, int, int, CCTK_REAL8, const vect<double, 3>&, const vect<double, 3>&) [with int outdim = 2; cGH = _cGH; hid_t = int; CCTK_REAL8 = double]’: /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc:1609:16: required from here /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc:1394:17: warning: unused variable ‘lc’ [-Wunused-variable] /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc: In instantiation of ‘static int CarpetIOHDF5::IOHDF5<outdim>::WriteHDF5(const cGH, hid_t&, hid_t&, std::vector<gdata>, const bbox<int, 3>&, int, const vect<int, 3>&, const vect<int, outdim>&, int, int, int, int, int, int, CCTK_REAL8, const vect<double, 3>&, const vect<double, 3>&) [with int outdim = 3; cGH = _cGH; hid_t = int; CCTK_REAL8 = double]’: /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc:1610:16: required from here /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/OutputSlice.cc:1394:17: warning: unused variable ‘lc’ [-Wunused-variable] COMPILING configs/sim/bindings/build/CarpetInterp/cctk_ThornBindings.c Creating /home/dvogel3/Cactus/configs/sim/lib/libthorn_CarpetInterp.a COMPILING arrangements/Carpet/CarpetIOHDF5/src/GetAllActive.cc g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. /home/dvogel3/Cactus/configs/sim/config-data/make.config.rules:278: recipe for target 'OutputSlice.cc.o' failed make[3]: [OutputSlice.cc.o] Error 4 make[3]: Waiting for unfinished jobs.... Checking status of thorn CarpetInterp2 COMPILING arrangements/Carpet/CarpetInterp2/src/fasterp.cc /home/dvogel3/Cactus/arrangements/Carpet/CarpetIOHDF5/src/GetAllActive.cc:207:13: warning: ‘void CarpetIOHDF5::assert_error(const char, const char, int, int, int, int, int, const char)’ defined but not used [-Wunused-function] static void assert_error(char const restrict const checkstring, ^ /home/dvogel3/Cactus/lib/make/make.thornlib:112: recipe for target 'make.checked' failed make[2]: [make.checked] Error 2 /home/dvogel3/Cactus/lib/make/make.configuration:181: recipe for target '/home/dvogel3/Cactus/configs/sim/lib/libthorn_CarpetIOHDF5.a' failed make[1]: [/home/dvogel3/Cactus/configs/sim/lib/libthorn_CarpetIOHDF5.a] Error 2 make[1]: Waiting for unfinished jobs.... COMPILING configs/sim/bindings/build/CarpetInterp2/cctk_ThornBindings.c COMPILING arrangements/Carpet/CarpetInterp2/src/interp2.cc Creating /home/dvogel3/Cactus/configs/sim/lib/libthorn_CarpetInterp2.a Makefile:256: recipe for target 'sim' failed make: [sim] Error 2

Keyword: compile
Keyword: error

Comments (5)

  1. anonymous reporter
    • removed comment

    Most of the lines are warnings and can be ignored. However there is one line

    g++: internal compiler error: Killed (program cc1plus)
    

    which is an actual error. The output suggest filing a bug report with the gcc team. However giving that you are running this in a VM my first suspicion would be that you are running out of memory (in which case the OS will kill one process more or less at random).

    So I would try two things:

    provide the VM with more memory (at least 2GB, better 3GB)

    compile serially ie use --mdbkey make 'make -j1' which will also reduce memory consumption since only one g++ process (g++ is the most memory hungry of gcc, g++ and gfortran) will run in parallel

  2. Steven R. Brandt
    • removed comment

    I would try:

    ./simfactory/bin/sim build --thornlist ../einsteintoolkit.th

    on the theory that your compiler ran out of memory.

  3. Roland Haas
    • removed comment

    Did this solve your issue? If not, please let us know (either in ticket or by sending an email to users@einsteintoolkit.org), otherwise I will close the ticket after Sun Oct 7th.

  4. Log in to comment