Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- From: Steve Lionel <Steve.Lionel@xxxxxxxxxxxxxxxxx>
- Date: Fri, 27 May 2005 14:05:11 -0400
On Fri, 27 May 2005 09:59:30 -0600, "James Van Buskirk"
<not_valid@xxxxxxxxxxx> wrote:
>"Steve Lionel" <Steve.Lionel@xxxxxxxxxxxxxxxxx> wrote in message
>news:5g7e911o6e6246umqhi4r5t8e0jc8cs4et@xxxxxxxxxx
>
>> It's not a compiler bug, but rather a bug in the IMSL declarations. VNI
>had
>> described all character string arguments as:
>
>> character, dimension(*) :: title
>
>> rather than
>
>> character(*) :: title
>
>Oog. This possibility didn't occur to me because there
>would be no way for the calling program to communicate the
>length of the TITLE string. Did VNI write WRCRN in some
>other language like F77 or C and then just make up
>INTERFACE blocks for the F90 version?
Yes, WRCRN (and all of IMSL in that version) was written in F77 (as far as I
know) and they made up interface blocks for F90 users.
Prior to CVF 6.6B, the compiler would let you pass a scalar to an array, and
since the bounds information isn't passed, it would just take the string
length of the argument and it would work.
In IMSL Fortran Library 5.0, included with IVF Pro, there is a new set of
modules, one per routine class, that provide generic interfaces. There's also
a LOT of real F95 code in the library. The old NUMERICAL_LIBRARIES (module
IMSL was just a USE of that) was just explicit interfaces to the F77-style
routines. Now you have optional arguments and generics. The downside is that
you may need to add several USE lines to your code, because of the way they
broke it out. (For example, USE WRCRN_INT). The old NUMERICAL_LIBRARIES
module is still there. (But there is not a module IMSL anymore - that's easy
to deal with if necessary.) The documentation tells you the module name to
use, but after a while, you can figure it out on your own.
I suppose while I'm here, I'll point out that, unlike for CVF Pro, you get
technical support (from Intel) on IMSL if you buy IVF Pro.
Steve Lionel
Software Products Division
Intel Corporation
Nashua, NH
User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://developer.intel.com/software/products/support/
.
- Follow-Ups:
- Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- From: Boo, hoo!
- Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- From: James Van Buskirk
- Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- References:
- Troubles with some IMSL routines (eg EVLRG, and some other)
- From: Gojko Magazinovic
- Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- From: Dave Seaman
- Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- From: Gojko Magazinovic
- Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- From: James Van Buskirk
- Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- From: Gojko Magazinovic
- Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- From: Steve Lionel
- Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- From: James Van Buskirk
- Troubles with some IMSL routines (eg EVLRG, and some other)
- Prev by Date: Re: implementation of DACOSD
- Next by Date: Re: question about efficiency of fortran in parallel environments
- Previous by thread: Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- Next by thread: Re: Troubles with some IMSL routines (eg EVLRG, and some other)
- Index(es):
Relevant Pages
|