Will produce symbols in the compiled file that look like this (‘man nm’ for more information on symbol lookup): In general, without user intervention of any kind (such as typdefs) expect the C frontend to preserve the routine symbols in the form defined in the source file (plus a leading underscore). This is almost always due to name mangling of the routines that occurs at compile time. I’ll cover more of Accelerate when I resume that tutorial series.Ĭalling functions/subroutines across C and Fortran can be a mixed bag. ![]() ![]() ![]() In this mini-tutorial I’m going to cover some of the basics of mixed C and Fortran using LAPACK (really the clapack interface) from the Accelerate framework. A recent question in one of the discussion forum led to the general question of using some of the performance libraries in Mac OS X with a specific emphasis on mixing C and Fortran, as well as implied data types in LAPACK.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |