Re: can somebody verify this C program which calls dsaupd_ ? (longish)



Apparently, _Madhusudan Singh_, on 03/04/05 14:44,typed:

As I said, you have to test your C code in some fashion first. You might be
passing the wrong data type to the fortran (see glen's post on this thread)
for all we know.


hmm .. alright, let me have a look at it in gdb. Hopefully I will be able to decide one way or the other.


Thanks,
->HS


--
Please remove the underscores ( the '_' symbols) from my email address to obtain the correct one. Apologies, but the fudging is to remove spam.
.




Relevant Pages

  • Re: how to use %val() ???
    ... Fortran passes by reference the same way, by passing an address. ... Does this mean that passing by reference is in the standard? ...
    (comp.lang.fortran)
  • Re: How do use Pointer to reduce "type" size in the operation?
    ... that you said (The pointer/reference itself might be a smaller size), ... in C++ parameters (arguments in Fortran) ... Argument passing does not typically depend on the size of the arrays... ... If you are actually seeing large time spent in argument passing, ...
    (comp.lang.fortran)
  • protected attribute
    ... the class, in proper objcet-oriented programming,the data type should ... modify the instance variables of data type from outside of the module. ... we often do not declare ... the components of data type to be private, if a fortran object is to ...
    (comp.lang.fortran)
  • Re: Passing C++ array to Fortran function? (SOLVED! Thank you all for trying to help)
    ... >> ERROR DETECTEDIN ROUTINE ITPLBV ... because of the C->Fortran argument passing. ... I was dealing with C++ and Fortran, so I assumed there was another ... calling mistake I had made somewhere. ...
    (comp.lang.fortran)
  • Re: how to use %val() ???
    ... Fortran passes by reference the same way, by passing an address. ... Does this mean that passing by reference is in the standard? ... reason I know this is because the compiler tells me where a copy will be ...
    (comp.lang.fortran)