I’m having trouble getting Abinit 9.0.2 to work on Mac OS 10.15 - Catalina. I can compile the code, but every test segfaults with the message
Code: Select all
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Code: Select all
with_mpi="no"
with_hdf5="/usr/local/"
with_netcdf="/usr/local"
with_netcdf_fortran="/usr/local"
with_libxc="/usr/local"
with_optim_flavor="none"
with_debug_flavor="paranoid"
Edit: I tried to build the required fallbacks and use those instead of the ones from homebrew, but got the same result, which suggests that the external dependencies might not be the problem. I also tried doing everything with gcc-7 instead of gcc-9, still with the same result.
If anyone managed to run Abinit 9 on a mac, please let me know of a configuration that works.