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
The error stems from the steps to regenerate superlu_config.fh. Specifically, the CMake-generate sed command in the Makefile:
cd /d C:\superlu\build64\FORTRAN && sed '/^\// d' < superlu_config.h > temp.fh
Testing the sed command, you'll see that it specifically strips the line:
#endif /* SUPERLU_CONFIG_H */
out of the file entirely since it has a C comment on it. The problem originates from FORTRAN/CMakeLists.txt:96 for reference.
Also, somewhat related, but generating a file in the source tree seems highly problematic as well. I would argue that superlu_config.fh should really be generated in the build directory (probably in the FORTRAN subdirectory).
The text was updated successfully, but these errors were encountered:
Fortran works for me on Linux with CMake. The header contains the #endif. Probably a Windows issues. That's why it got unnoticed.
Anyway, should be fixed!
When I build with CMake and -Denable_fortran=YES, the build will fail with
The error stems from the steps to regenerate superlu_config.fh. Specifically, the CMake-generate sed command in the Makefile:
Testing the sed command, you'll see that it specifically strips the line:
out of the file entirely since it has a C comment on it. The problem originates from FORTRAN/CMakeLists.txt:96 for reference.
Also, somewhat related, but generating a file in the source tree seems highly problematic as well. I would argue that superlu_config.fh should really be generated in the build directory (probably in the FORTRAN subdirectory).
The text was updated successfully, but these errors were encountered: