Closed GijsVermarien closed 1 year ago
Works fine for me on M1 with macports GCC… Yet another case of conda issues?
Which version of fortran do you use with macports? I can try and see if I can isolate the error a bit further. It just seems that the compiler cleans up the .mod files during/after compilation...
Gcc/gfortran 12. It's not supposed to do any cleaning of mod files in any case, unless you do a make clean
!
Yes, so the problem might be that we use clang here as well, and it probably does some cleaning
Describe the bug I am trying to build Fi on a M2 macbook, but it seems that the compiler is not creating the
stoppingconditions.mod
file that is needed for FiSo it crashes:
It seems that unlike on x86_64 systems, the stoppingsconditions.mod is removed by the compiler during/after compilation (
make stopcond.code
). Causing it to not be able to link (AFAIK the .mod files are similar to .h files)To Reproduce Here are the installation steps to reproduce this error on a M1/M2 macbook:
Expected behavior Fi to compile just like on x86_64 architectures, tested with gfortran 11.3.0 (don't have access to a newer fortran on an x86_64 machine).
Logs
Environment (please complete the following information):