- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe that Fortran 90 contained many more functions than previously contained in Fortran 77. These functions would generally be quicker than the subroutines that were needed to perform the same functions in Fortran 77, for example MATMUL can now be used in place of a GMPRD routine. Just wondering if anyone knows any other such functions which could be used in place of old Fortran 77 subroutines.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - briansss
I believe that Fortran 90 contained many more functions than previously contained in Fortran 77. These functions would generally be quicker than the subroutines that were needed to perform the same functions in Fortran 77, for example MATMUL can now be used in place of a GMPRD routine. Just wondering if anyone knows any other such functions which could be used in place of old Fortran 77 subroutines.
Why not list here the F77 functions you are interested in replacing, along with brief description of what each does?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - briansss
I believe that Fortran 90 contained many more functions than previously contained in Fortran 77. These functions would generally be quicker than the subroutines that were needed to perform the same functions in Fortran 77, for example MATMUL can now be used in place of a GMPRD routine. Just wondering if anyone knows any other such functions which could be used in place of old Fortran 77 subroutines.
minval, maxval, minloc, maxloc also may be used frequently.
The most common legacy alternative to MATMUL is BLAS ?GEMM. The Intel Math Kernel Library version of it is updated frequently to optimize for new CPUs, and uses techniques such as tiling and threading to speed up large cases. Possibly on account of some analysis or thought being useful, MATMUL substitution is not so popular, although it may improve maintainability.
It's hard to imagine how one could set limits on which f90 intrinsic functions would be suitable for replacing legacy code.
It seems that when you say "old F77 subroutine" it seems, by your example, you may mean other old libraries with less broad support than BLAS.
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