Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Underscore prefix

Rodrigues__Pedro
Beginner
606 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
606 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
606 Views

 

    I already solved that. Thanks anyway.

0 Kudos
Reply