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
While trying to install CalculiX and the adapter on the computer cluster ITO using Intel's OneAPI, we faced some issues I would like to summarize here. We used the GCC standard library v9.2 and the Intel OneAPI v2021.3.
First of all, the adapter was only compatible with libyaml-cpp-0.7.0. Our documentation proposes to download and install version 0.6.2, which lead to link-time errors. Installing v0.7.0 worked fine.
After installing the dependencies, building the adapter lead to a link-time error undefined reference to MAIN__. As described in this Intel forum post the solution was to add an additional flag to the Fortran compiler
in order to " link Fortran objects with a C main program".
Lastly, we ended up with issues originating from the multi-threading of SPOOLES (similar to the one described on Discourse). We tried a few things to get the multi-threading module work, but eventually disabled the multi-threading (enabled by default) in CalculiX by removing the USE_MT flag.
The CI script has always been reliant on libyaml-cpp-0.7.0, so I guess we should update the documentation to recommend building that one from source.
Now there are quite a few flags that might be optional: USE_MT, -fallow-argument-mismatch (for GCC >= 10) and this -no-for-main. Maybe we should update the doc with a list of useful flags instead of putting them (or not) by default and hoping for the best
While trying to install CalculiX and the adapter on the computer cluster ITO using Intel's OneAPI, we faced some issues I would like to summarize here. We used the GCC standard library v9.2 and the Intel OneAPI v2021.3.
undefined reference to MAIN__
. As described in this Intel forum post the solution was to add an additional flag to the Fortran compilercalculix-adapter/Makefile
Line 65 in 6fdce48
in order to " link Fortran objects with a C main program".
USE_MT
flag.Maybe reading a bit more in detail through the SPOOLES documentation might help to resolve this issue in the future.
The text was updated successfully, but these errors were encountered: