pro64-support
[Top] [All Lists]

Using OpenMP on IA64

To: sgi <pro64-support@xxxxxxxxxxx>
Subject: Using OpenMP on IA64
From: Wayne Vieira <wavieira@xxxxxxxxxxx>
Date: Mon, 26 Mar 2001 14:37:27 -0800
Cc: chan1@xxxxxxxx
Importance: Normal
In-reply-to: <3ABF64B3.EBB47BAC@sgi.com>
Sender: owner-pro64-support@xxxxxxxxxxx
We have an application that used OpenMP and has been crashing on IA64.  The
code looks something like this:

  printf(" befor OMP \n");
  fflush();
   #pragma omp parallel for ....etc
      for (....) {
   printf("inside OMP \n");
   fflush();
}

  The code will crash AFTER it print "before OMP" and never goes to the
"inside OMP".  My experience for other platform is that it usually indicate
the stack size is too small because it does not even do any work at all and
the OMP lib crash.  The MP_SLAVE_STACKSIZE is an env variable.  All the
other unix platforms that we know of use env variable to set the stack size
for THREAD. We've tried to set MP_SLAVE_STACKSIZE and it does NOT help.  We
also tried to lower my opt level from -O3 to nothing(i.e. default) and it
does not help either.

Is there something obvious to using OMP on IA64 that we're missing?


Thanks,
Wayne


<Prev in Thread] Current Thread [Next in Thread>