[Users] M1 Mac Compiling error

Garrison, David Garrison at uhcl.edu
Wed May 4 15:35:09 CDT 2022


Hello,

I keep getting the errors below when I try to compile my ETK code on my M1 Macs.  Any ideas on how to correct this?

Updating /Users/garrison/Applications/Cactus/configs/specgrmhd/lib/libthorn_CactusBindings.a
Creating cactus_specgrmhd in /Users/garrison/Applications/Cactus/exe from CactusBase/Boundary CactusBase/CartGrid3D CactusBase/CoordBase CactusBase/Fortran CactusBase/IOASCII CactusBase/IOBasic CactusBase/IOUtil CactusBase/InitBase CactusNumerical/InterpToArray CactusNumerical/LocalInterp2 CactusNumerical/LocalReduce SpecCosmo/MHD_Analysis SpecCosmo/MHD_INIT ExternalLibraries/MPI SpecCosmo/MoL CactusUtils/NaNChecker CactusUtils/Nice CactusNumerical/Noise CactusNumerical/Norms CactusPUGH/PUGH CactusPUGH/PUGHInterp CactusPUGH/PUGHReduce CactusPUGH/PUGHSlab CactusNumerical/Periodic CactusNumerical/Slab SpecCosmo/SpecGRMHD CactusBase/SymBase CactusUtils/SystemStatistics CactusBase/Time CactusUtils/TimerReport CactusUtils/Vectors ExternalLibraries/zlib
Undefined symbols for architecture arm64:
  "_analysis1_", referenced from:
      _CCTKi_BindingsSchedule_MHD_Analysis in ScheduleMHD_Analysis.c.o
  "_analysis2_", referenced from:
      _CCTKi_BindingsSchedule_MHD_Analysis in ScheduleMHD_Analysis.c.o
  "_analysis3_", referenced from:
      _CCTKi_BindingsSchedule_MHD_Analysis in ScheduleMHD_Analysis.c.o
  "_analysis4_", referenced from:
      _CCTKi_BindingsSchedule_MHD_Analysis in ScheduleMHD_Analysis.c.o
  "_checkfortranparameters_", referenced from:
      _CCTKi_BindingsSchedule_Fortran in ScheduleFortran.c.o
  "_grmhd_initial_", referenced from:
      _CCTKi_BindingsSchedule_MHD_INIT in ScheduleMHD_INIT.c.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/garrison/Applications/Cactus/exe/cactus_specgrmhd] Error 1
make[1]: *** [specgrmhd] Error 2
make: *** [specgrmhd-rebuild] Error 2

-DG

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20220504/0883d2fc/attachment.html 


More information about the Users mailing list