In hindsight, the fact that both the C and the Fortran symbols point to the same address should have been a giveaway that all arguments must be pointers (only way that’d work in Fortran), despite what’s written in the documentation.
giordano
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Wraping a MKL handle in julia | 16 | 1735 | October 18, 2020 | |
| Calling c function from julia - segmentation fault | 9 | 633 | August 13, 2021 | |
| Segmentation fault on ccall | 6 | 1683 | November 11, 2017 | |
| Struggling with ccall | 36 | 2420 | September 7, 2019 | |
| Ccall mkl shared library helmholtz solver : problems with gc() safety | 2 | 1059 | April 20, 2017 |