- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
I'm a new user of Fortran and only started programming recently. I'm working on an older program coded in Fortran 77. There the statement sortqx which performs indexed sorting is used. I'm currently working with Intel Fortran 10 with IMSL and cannot find any statement which does indexed sorting. What can I do?
Best,
Peter
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My guess is that "sortqx" was a library routine and not a statement. It is not standard Fortran. I can find a reference to a routine by that name in the old Compaq Extended Math Library, but that is not available to you. Intel MKL does not appear to have such a routine.
Intel Visual Fortran provides QSORT and SORTQQ library routines which does ordinary sorting, but not an index sort. IMSL also has a collection of sorting routines, but none of them appear to be index sorts (also known as "tag sort".)
Unless you can find a compatible routine source somewhere, you will probably have to rewrite that part of the code to use a normal sort.
Intel Visual Fortran provides QSORT and SORTQQ library routines which does ordinary sorting, but not an index sort. IMSL also has a collection of sorting routines, but none of them appear to be index sorts (also known as "tag sort".)
Unless you can find a compatible routine source somewhere, you will probably have to rewrite that part of the code to use a normal sort.

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