Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PGI compilers on Dual Dual-Core Opteron Segfault!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Garth
n00b
n00b


Joined: 21 Jan 2004
Posts: 35
Location: Michigan

PostPosted: Thu Sep 22, 2005 6:38 pm    Post subject: PGI compilers on Dual Dual-Core Opteron Segfault! Reply with quote

I am struggling with getting PGI (Portland Group Fortran Compilers - pgf90 and pgf77) running on a dual dual-core Opteron box (2x 270's) with a Tyan Mobo (K8SD-Pro --> S2882-D).

I keep getting Signal 6 and Signal 11's (Segfaults). I have tested the crap out of this RAM (I compiled the Gentoo AMD64 install from Stage 1) and have run Memtest86 for like 40hrs straight with no problems reported (I'm running 8 1-Gig Corsair XMS ECC Registerd DDR400 RAM modules)

Anyway, I had the PGI running on this system and compiled a simple fortran program. Then I installed libstdc++-v3 to satisfy another app and now PGI is broke - giving me the signal 6 (pgf90) and signal 11 (pgf77) errors.

Any thoughts would be appreciated.

This is my system:
Code:

uname -a
Linux saturn 2.6.12-gentoo-r10 #2 SMP Mon Sep 19 10:02:00 EDT 2005 x86_64 Dual Core AMD Opteron(tm) Processor 270 AuthenticAMD GNU/Linux
 
gcc -v
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)

/lib/libc.so.6
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8).
Compiled on a Linux 2.6.11 system on 2005-09-17.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        The C stubs add-on version 2.1.2.
        GNU Libidn by Simon Josefsson
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

cat /usr/pgi/linux86-64/6.0/bin/localrc
set LFC=-lg2c;
set LDSO=/lib64/ld-linux-x86-64.so.2;
set GCCDIR=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4;
set GCCINC=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include;
set G77DIR=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4;
set THROW=__THROW=;
# makelocalrc executed by root Mon Sep 19 15:39:31



PS I have also tried
Code:
 echo 0 > /proc/sys/kernel/randomize_va_space

_________________
Garth
Back to top
View user's profile Send private message
Garth
n00b
n00b


Joined: 21 Jan 2004
Posts: 35
Location: Michigan

PostPosted: Tue Oct 04, 2005 6:18 pm    Post subject: Reply with quote

Just in case anyone is interested. The PGI fortran compilers segfault without fail after running pamstamp 2g (the commercial app that needs PGI)

It's crazy, but PGI will work fine on a fresh system, but after I execute the pamstamp solver, they segfault. Reboots do not help. ldconfig does not help. :?:

I've tried this on Red Hat Enterprise 3 AS, RedHat Enterprise 4 AS, and Gentoo. Some results on all.

So the problem is in the pamstamp product, not PGI. They are currently looking into the problem, but so far, no luck. :evil:
_________________
Garth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
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