PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

PGC-S-0000-Internal compiler error. linearize: bad ili #

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Claire Parrish



Joined: 08 May 2012
Posts: 1

PostPosted: Tue May 08, 2012 5:44 am    Post subject: PGC-S-0000-Internal compiler error. linearize: bad ili # Reply with quote

Internal compiler exception:
Code:
-> pgcc --version
pgcc 12.4-0 64-bit target on x86-64 Linux -tp nehalem

-> gcc -v
gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)

-> make
make  all-am
make[1]: Entering directory `/home/claire/ImageMagick-7.0.0-0'
  CC     MagickCore/MagickCore_libMagickCore_la-accelerate.lo
  CC     MagickCore/MagickCore_libMagickCore_la-animate.lo
  CC     MagickCore/MagickCore_libMagickCore_la-annotate.lo
  CC     MagickCore/MagickCore_libMagickCore_la-artifact.lo
  CC     MagickCore/MagickCore_libMagickCore_la-attribute.lo
PGC-S-0000-Internal compiler error. linearize: bad ili #:       0 (MagickCore/attribute.c: 174)
PGC-S-0000-Internal compiler error. gen_aili: unrec. ili opcode:       0 (MagickCore/attribute.c: 174)
PGC/x86-64 Linux 12.4-0: compilation completed with severe errors

The relevant code is

Code:
#if defined(MAGICKCORE_OPENMP_SUPPORT)
  #pragma omp parallel for schedule(static,4) shared(status) \
    dynamic_number_threads(image->columns,image->rows,1)
#endif
  for (y=0; y <ssize_t>rows; y++)
  {

Where MagickCore/thread-private.h/dynamic_number_threads() is:

Code:
#define dynamic_number_threads(columns,rows,expression) \
  if (((((columns) > MinimumWorkLoad()) || \
      ((rows) > MinimumWorkLoad()))) && ((MagickSizeType) \
      ((columns)*(rows)) > (MinimumWorkLoad()*MinimumWorkLoad())) && \
      (expression)) \
    num_threads(GetMagickResourceLimit(ThreadResource))

Reproduce on Redhat / CentOS with

Code:
wget http://www.imagemagick.org/download/alpha/ImageMagick-7.0.0-0.tar.gz
tar xvfz ImageMagick-7.0.0-0.tar.gz
cd ImageMagick-7.0.0-0
export CC=pgcc
export CXX=pgCC
./configure
make
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6208
Location: The Portland Group Inc.

PostPosted: Tue May 08, 2012 4:19 pm    Post subject: Reply with quote

Hi Claire,

Thanks for the report. I was able to recreate the error here and have sent a report (TPR#18688) to our engineers for further investigation.

Best Regards,
Mat
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 445

PostPosted: Tue May 21, 2013 7:38 pm    Post subject: TPR 18688 is fixed in 12.6 Reply with quote

A late update.

TPR 18688 - Development ImageMagick Get ICE: linearize: bad ili

was fixed as of the 12.6 release.

thanks,
dave
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group