che358w@vaxc.cc.monash.edu.au (05/31/91)
I have compiled a large fortran program with xlf on the RISC 6000. If I us xlf -cC <filename> and then link everything is fine (except the program doesn't give the right answers). However, if I use xlf -cC -qextchk <filname> and then link I get an error number and then type mis matches detected by RESOLVE. see error messages under RESOLVE for more information. What is RESOLVE ? Where can I find documentaion on it ? Can I make it give more specific information like where the type mismatch occurs ? Thanks in advance for any advice. Samantha Lane
mcampbel@community-chest.mitre.org (Matt Campbell) (05/31/91)
I am in the process of converting VAX/FORTRAN to RS/6000 xlf FORTRAN. If there is anybody that knows of any tools that may aide in thi s job I would be glad to hear from them!!!
rcg@lpi.liant.com (Rick Gorton) (06/03/91)
In article <1991May31.164029.86816@vaxc.cc.monash.edu.au> che358w@vaxc.cc.monash.edu.au writes: > > I have compiled a large fortran program with xlf on the RISC 6000. If I >us xlf -cC <filename> and then link everything is fine (except the program >doesn't give the right answers). However, if I use xlf -cC -qextchk <filname> >and then link I get an error number and then type mis matches >detected by RESOLVE. See error messages under RESOLVE for more information. > >What is RESOLVE ? > >Where can I find documentaion on it ? > >Can I make it give more specific information like where the type mismatch occurs >? > >Thanks in advance for any advice. > >Samantha Lane The -qextchk switch is the one that gets thrown when you want to detect link-time datatype mismatches. Which means to me that look at the interface to the routine RESOLVE (your code) and all the places it is called. Somebody probably called it with one kind of parameter, and it is really a different datatype. It could also be that it is a function, and is returning a datatype that conflicts with what is being specified by the left hand side of the expression: Example: CONJG(RESOLVE(<parameters to RESOLVE>)) when RESOLVE returns INTEGER. Hope this helps. -- Richard Gorton rcg@lpi.liant.com (508) 626-0006 Language Processors, Inc. Framingham, MA 01760 USA Hey! This is MY opinion. Opinions have little to do with corporate policy.
shair@ux1.cso.uiuc.edu (Bob Shair) (06/05/91)
To find the RESOLVE error messages, run the compile with the -bloadmap:some.file.name then look in some.file.name for the RESOLVE errors, which are near the bottom. Someday I really ought to figure out what the rest of the stuff in there means! -- Bob Shair shair@chgvmic1.vnet.ibm.com Scientific Computing Specialist SHAIR@UIUCVMD (bitnet) IBM Champaign