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

derf function

jun-ya
Beginner
1,236 Views
Error function is often included in the intrinsic function of many compilers. It is 'erf'(or derf in double precision). I got an error termination when I used it.

Undefined reference to `derf_`

Is the 'erf' or 'derf' included in the intrinsic function of efc version 7.0?

Thank you for advance.
Jun-ya
0 Kudos
2 Replies
Steven_L_Intel1
Employee
1,236 Views
No - erf and derf are defined for C but not for Fortran in 7.0. You can call the C version if you like. Just add:

real(8) derf
!dec$ attributes c,alias:"derf" :: derf

to your declarations section.

Steve
0 Kudos
Steven_L_Intel1
Employee
1,236 Views
Oh, you said efc. Sorry - it's not implemented at all on Itanium yet. It should be there for a release late this year.

Steve
0 Kudos
Reply