- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
real(8) derf
!dec$ attributes c,alias:"derf" :: derf
to your declarations section.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page