Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Underscore prefix

Rodrigues__Pedro
Beginner
839 Views

 

    Hello

           I am trying to build a fortran project with a 'c' library named PETSc. During compilation some functions are missing, and they appear as    unresolved externals after linking. It seems that the problem is the underscore prefix inside the 'c' funtions. How can I turn off that option to avoid these errors?

 

   thanks

 

0 Kudos
2 Replies
Lorri_M_Intel
Employee
839 Views

I googled PETSc and their website has instructions on how to use PETSc from Fortran.  In fact, they have 4 different ways to use PETSc from Fortran.

Which one did you use?

             --Lorri

0 Kudos
Rodrigues__Pedro
Beginner
839 Views

 

    I already solved that. Thanks anyway.

0 Kudos
Reply