I have found that when linking a fortran library in C/C++, the subroutine name has changed to ALL uppercase when compiled by Intel Fortran Compiler.
For example, the subroutine in fortran
subroutine setulb(n, m, x, l, u, nbd, f, g, factr, pgtol, wa, iwa,
+ task, iprint, csave, lsave, isave, dsave)
has changed to SETULB when called in C/C++.
However, when compiled the fortran code by gfortran, it is setulb_ and the name can be handled by the instructions, such as -fno-underscore, fsource-case-lower.
I would like to know, if there are equivalent instructions in ifort to change the name in the exported lib file, so I can use the same calling for them.