You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lfortran is an experimental compiler and it should not, I believe, be prioritized even if it is installed.
However I get this on macOS Sonoma:
-- Check for working Fortran compiler: /opt/local/bin/lfortran
-- Check for working Fortran compiler: /opt/local/bin/lfortran - broken
CMake Error at /opt/local/share/cmake-3.24/Modules/CMakeTestFortranCompiler.cmake:61 (message):
The Fortran compiler
"/opt/local/bin/lfortran"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_math_StarNEig/StarNEig/work/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_5ddb6/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_5ddb6.dir/build.make CMakeFiles/cmTC_5ddb6.dir/build
Building Fortran object CMakeFiles/cmTC_5ddb6.dir/testFortranCompiler.f.o
/opt/local/bin/lfortran -pipe -Os -m64 -c /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_math_StarNEig/StarNEig/work/build/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_5ddb6.dir/testFortranCompiler.f.o
The following arguments were not expected: -m64 -Os -pipe
Run with --help for more information.
make[1]: *** [CMakeFiles/cmTC_5ddb6.dir/testFortranCompiler.f.o] Error 109
make: *** [cmTC_5ddb6/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
src/CMakeLists.txt:32 (project)
-- Configuring incomplete, errors occurred!
Needless to say, gfortran is installed and works perfectly fine.
The text was updated successfully, but these errors were encountered:
lfortran
is an experimental compiler and it should not, I believe, be prioritized even if it is installed.However I get this on macOS Sonoma:
Needless to say,
gfortran
is installed and works perfectly fine.The text was updated successfully, but these errors were encountered: