#974: Compilation problem in LoopControl with xlc compiler
Reporter: Wolfgang Kastaun
Status: new
Milestone:
Version: development version
Type: bug
Priority: minor
Component: Carpet
Changes (by Roland Haas):
assignee: Roland Haas (was Erik Schnetter)
responsible: [] (was [])
I was trying to compile ET on MareNostrum (BSC) using the xlc/xlC/xlf compiler suite version 10.01 and failed. The first relevant error reads:
"/gpfs/home/uv08/uv08986/source/Cactus/configs/z4pisky_std/build/LoopControl/loopcontrol.c", line 1371.1: 1506-343 (S) Redeclaration of lc_statmap_init differs from previous declaration on line 631 of "/gpfs/home/uv08/uv08986/source/Cactus/configs/z4pisky_std/build/LoopControl/loopcontrol.c".
"/gpfs/home/uv08/uv08986/source/Cactus/configs/z4pisky_std/build/LoopControl/loopcontrol.c", line 1371.1: 1506-376 (I) Redeclaration of lc_statmap_init has a different number of fixed parameters than the previous declaration.
"/gpfs/home/uv08/uv08986/source/Cactus/configs/z4pisky_std/build/LoopControl/loopcontrol.c", line 1371.1: 1506-377 (I) The type "char*" of parameter 3 differs from the previous type "const char* restrict const".
The fist declaration reads:
630 void
631 lc_statmap_init (int * restrict const initialised,
632 lc_statmap_t * restrict const lm,
633 char const * restrict const name)
634 {
while the second is
1374 CCTK_FCALL
1375 void
1376 lc_statmap_init (int * restrict const initialised,
1377 lc_statmap_t * restrict const lm,
1378 ONE_FORTSTRING_ARG)
1379 {
>From the compiler message, I guess ONE_FORTSTRING_ARG expanded to something of type char*
It seems the idea here is to provide a version of a C function callable from Fortran. However, it ends up having the same name and argument types (apart from const-ness), which is forbidden. From the Cactus manual I would guess one needs to wrap the second declaration inside a CCTK_FNAME macro, like
void CCTK_FCALL CCTK_FNAME(lc_statmap_init)(int * restrict const initialised, lc_statmap_t * restrict const lm, ONE_FORTSTRING_ARG) {
**Keyword:**
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/974/compilation-proble…
#2543: Consolidate data formats to simplify postprocessing
Reporter: Wolfgang Kastaun
Status: open
Milestone:
Version: development version
Type: enhancement
Priority: minor
Component:
Changes (by Roland Haas):
assignee: Erik Schnetter (was )
responsible: [] (was )
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2543/consolidate-data-…
#2543: Consolidate data formats to simplify postprocessing
Reporter: Wolfgang Kastaun
Status: open
Milestone:
Version: development version
Type: enhancement
Priority: minor
Component:
Changes (by Roland Haas):
status: open (was new)
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2543/consolidate-data-…
#2530: Thorn Vectors fails to compile using gcc 8.X on POWER9
Reporter: Roland Haas
Status: open
Milestone:
Version: development version
Type: bug
Priority: minor
Component: EinsteinToolkit thorn
Comment (by Roland Haas):
Unless objected I will apply this after 2021-08-20.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2530/thorn-vectors-fai…
#2539: Unable to compile on Ubuntu 20.04 or run executable
Reporter: Jason Kodish
Status: open
Milestone:
Version: ET_2021_05
Type: bug
Priority: minor
Component: SimFactory
Comment (by Roland Haas):
Unless objected, since there is no activity in this ticket I will close it as “invalid” after 2021-08-13.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2539/unable-to-compile…
#2540: Unexpected Hamiltonian violation from Carpet boundaries, using CCZ4
Reporter: KennethZen
Status: new
Milestone: ET_2020_05
Version: ET_2020_05
Type: bug
Priority: major
Component: Carpet
Comment (by Roland Haas):
In the ET call from 2021-08-05 Peter reported on having looked further into this and it seems that the issue was eventually tracked down to missing dissipation setting in the parameter file.
Unless objected I will close this ticket as “resolved” after 2021-08-13.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2540/unexpected-hamilt…
#2549: inlcude FLRWSolver in ET
Reporter: Roland Haas
Status: new
Milestone:
Version: development version
Type: enhancement
Priority: major
Component:
Comment (by Roland Haas):
Reviewer: @{557058:a2800088-fc6e-4fbe-9a1e-663271f736bd}
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2549/inlcude-flrwsolve…