#2747: Inclusion of sgrid importer in Einstein Toolkit
Reporter:Samuel Cupp
Status:new
Milestone:ET_2023_11
Version:
Type:enhancement
Priority:major
Component:EinsteinToolkit thorn

Comment (by Samuel Cupp):

When I try to compile, I get errors like

/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(Coordinates.o): in function `xyz_of_AnsorgNS':
Coordinates.c:(.text+0xa48e): undefined reference to `GOMP_critical_name_start'
/usr/bin/ld: Coordinates.c:(.text+0xa4dc): undefined reference to `GOMP_critical_name_end'
/usr/bin/ld: Coordinates.c:(.text+0xac01): undefined reference to `GOMP_critical_name_start'
/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(Coordinates.o): in function `dABphi_dxyz_AnsorgNS':
Coordinates.c:(.text+0xb8cc): undefined reference to `GOMP_critical_name_start'
/usr/bin/ld: Coordinates.c:(.text+0xb91c): undefined reference to `GOMP_critical_name_end'
/usr/bin/ld: Coordinates.c:(.text+0xd14c): undefined reference to `GOMP_critical_name_start'
/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(Coordinates.o): in function `xyz_of_AnsorgNS':
Coordinates.c:(.text+0xac9b): undefined reference to `GOMP_critical_name_end'
/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(Coordinates.o): in function `dABphi_dxyz_AnsorgNS':
Coordinates.c:(.text+0xd27b): undefined reference to `GOMP_critical_name_end'
/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(DNSgrid.o): in function `Interp_Var_From_Grid1_To_Grid2_star._omp_fn.0':
DNSgrid.c:(.text+0x205): undefined reference to `omp_get_num_threads'
/usr/bin/ld: DNSgrid.c:(.text+0x20c): undefined reference to `omp_get_thread_num'

Is ExternalLibraries/SGRID not properly hooking into the OMP in the toolkit?

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2747/inclusion-of-sgrid-importer-in-einstein