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
I am trying to run a simple case which has no user coding but code_saturne fails to do so during the compilation step of two user coding files created automatically by the system. The log is the following:
The problem for this is the fact that libsaturne-8.0.dylib, which is the dynamic library of code_saturne, contains no symbols
nm -g libsaturne-8.0.dylib
libsaturne-8.0.dylib: no symbols
which means that it is not created properly. The problem can be resolved if I change the configuration settings with the flags:
--enable-static
--disable-shared
in which case the static version of this library is created (libsaturne.a) and this file is correctly made. Note that this way of working on macOS is preferable when the SIP (System Integrity Protection) option is enabled and user coding is present for a case since SIP does not allow the bypassing of the application's code with other code dynamically which is needed for the user coding to bypass the empty user functions. Nevertheless, there is a problem with the linking process of this library.
Regarding the symbols in the dylib, if any Mac user finds the correct options for building the library, I will be happy to integrate it (though it is a pain the Apple breaks compatibility every other version).
I am trying to run a simple case which has no user coding but code_saturne fails to do so during the compilation step of two user coding files created automatically by the system. The log is the following:
The text was updated successfully, but these errors were encountered: