Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* A Problem of Porting Programs from Sun Solaris 2.x to OSF1
@ 1998-10-18  4:00 Yingwei Peng
  1998-10-19  4:00 ` Niel Markwick
  1998-10-19  4:00 ` Finnbarr P. Murphy
  0 siblings, 2 replies; 7+ messages in thread
From: Yingwei Peng @ 1998-10-18  4:00 UTC (permalink / raw)


I just wonder whether there is any body who has this experience or
not.

Recently, I tried to port my programs to OSF1 V3.2 62 alpha.
The programs run well on Sun Solaris 2.x. I can compile them on OSF1.
However, when I run them, I got "System terminating: bad address".
I traced the problem and it seemed that the problem was caused by
a function call where the function accepts an argument double **var.
I couldn't figure out what's wrong with this call or why it doesn't
on OSF1.

I heard that OSF1 is a full 64-bit system while others are not. Is
this related to my problem? I would appreciate for your advice. I am
a new user of OSF1. Thanks.

Paul.



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: A Problem of Porting Programs from Sun Solaris 2.x to OSF1
@ 1998-10-24  4:00 Yingwei Peng
  0 siblings, 0 replies; 7+ messages in thread
From: Yingwei Peng @ 1998-10-24  4:00 UTC (permalink / raw)


A few days ago I posted a question with regard to port programs
from Solaris to OSF1. I have got two replies and both directed me
to a document "Sun Solaris to DIGITAL UNIX Porting Guide".
I have checked my programs following the guidelines in the
document. However my problem is still there.

I found that the problem relates to the following function.

int cholesky(double **matrix, int n)
{
... ...
}

Whenever this function is called, my program stops and prints
a message "System terminating: bad address". I can print values
stored in "matrix" and "n" variables before the function call.
So I couldn't see why the program stops. Is there any body who
has experience with this type of problem? Please give me a clue
to help me out. Thanks a lot.

Paul.

Note: the program runs well on Solaris and Intel-based PCs.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-10-24  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-18  4:00 A Problem of Porting Programs from Sun Solaris 2.x to OSF1 Yingwei Peng
1998-10-19  4:00 ` Niel Markwick
1998-10-21  4:00   ` Niel Markwick
1998-10-21  4:00     ` Timo Felbinger
1998-10-21  4:00       ` Niel Markwick
1998-10-19  4:00 ` Finnbarr P. Murphy
  -- strict thread matches above, loose matches on Subject: below --
1998-10-24  4:00 Yingwei Peng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox