phantom
phantom copied to clipboard
moddump build failure with SETUP=tde
make SETUP=tde moddump SYSTEM=ifort on Mac OS fails with:
ifort -O3 -inline-factor=500 -mcmodel=medium -shared-intel -warn uninitialized -warn unused -warn truncated_source -no-wrap-margin -fPIC -qopenmp -r8 -o ../bin/phantommoddump prompting.o set_Bfield.o density_profiles.o moddump_tidal.o phantom_moddump.o ../bin/libphantom.a ../bin/libphantomsetup.a
ifort: command line warning #10152: option '-mcmodel medium' not supported
Undefined symbols for architecture x86_64:
"_omputils_mp_ipart_omp_lock_", referenced from:
_ptmass_mp_ptmass_accrete_ in libphantom.a(ptmass.o)
_ptmass_mp_ptmass_create_ in libphantom.a(ptmass.o)
ld: symbol(s) not found for architecture x86_64
make[1]: *** [phantom_moddump] Error 1
make: *** [moddump] Error 2
the mystery is why this is not failing using ifort on linux/in the GitHub actions ...