PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgf90 segfault
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
richard



Joined: 04 Aug 2004
Posts: 10

PostPosted: Fri Aug 10, 2012 5:13 pm    Post subject: pgf90 segfault Reply with quote

Hello,

When compiling WRF 3.4 on ubuntu 12.04 LTS 64bit with PGI 12.6 I get the following:

Code:

pgf90 -r4 -i4 -O3  -w -Mfree -byteswapio   -o wrf_io.o  -I/admin/software/precise/pgi-12.6/netcdf-fortran-4.2/include -I../ioapi_share -c wrf_io.f
pgf90-Fatal-/nfs/admin/software/precise/pgi-12.6/linux86-64/12.6/bin/pgf901 TERMINATED by signal 11
Arguments to /nfs/admin/software/precise/pgi-12.6/linux86-64/12.6/bin/pgf901
/nfs/admin/software/precise/pgi-12.6/linux86-64/12.6/bin/pgf901 wrf_io.f -opt 3 -terse 1 -inform severe -nohpf -nostatic -x 19 0x400000 -quad -x 59 4 -x 59 4 -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 57 0xfb0000 -x 58 0x78031040 -x 70 0x6c00 -x 47 0x400000 -x 48 4608 -x 49 0x100 -x 120 0x200 -stdinc /nfs/admin/software/precise/pgi-12.6/linux86-64/12.6/include:/usr/local/include:/usr/lib/gcc/x86_64-linux-gnu/4.6/include:/usr/lib/gcc/x86_64-linux-gnu/4.6/include:/usr/include -def unix -def __unix -def __unix__ -def linux -def __linux -def __linux__ -def __NO_MATH_INLINES -def __x86_64 -def __x86_64__ -def __LONG_MAX__=9223372036854775807L -def '__SIZE_TYPE__=unsigned long int' -def '__PTRDIFF_TYPE__=long int' -def __THROW= -def __extension__= -def __amd_64__amd64__ -def __k8 -def __k8__ -def __SSE__ -def __MMX__ -def __SSE2__ -def __SSE3__ -def __STDC_HOSTED__ -idir /admin/software/precise/pgi-12.6/netcdf-fortran-4.2/include -idir ../ioapi_share -nofreeform -i4 -x 125 2 -vect 48 -y 54 1 -y 124 0x8 -freeform -modexport /tmp/pgf90VWvfnHzScsnA.cmod -modindex /tmp/pgf90NWvf1Qfd9XW0.cmdx -output /tmp/pgf903WvfL8P3qeCY.ilm
make[3]: [wrf_io.o] Error 127 (ignored)


Has anyone seen this before? Thanks!
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Aug 13, 2012 9:16 am    Post subject: Reply with quote

Hi Richard,

I tried to recreate this error here, but unfortunately it worked fine for me. Can you tell me a bit more about your build. What configuration are you using (serial, smpar, dmpar)? Are you using NetCDF or PNetCDF?

Thanks,
Mat
Back to top
View user's profile
richard



Joined: 04 Aug 2004
Posts: 10

PostPosted: Mon Aug 13, 2012 9:38 am    Post subject: Reply with quote

Hi Mat,

I'm building serial WRF. NetCDF is netcdf-fortran-4.2. Here's a few other things I've compiled that are also in the LD_LIBRARY_PATH:

Currently Loaded Modulefiles:
1) pgi-12.6/linux86-64 3) pgi-12.6/hdf4-4.2.7-patch1 5) pgi-12.6/szip-2.1 7) pgi-12.6/udunits-2.1.24
2) pgi-12.6/hdf5-1.8.9 4) pgi-12.6/jpeg-8b 6) pgi-12.6/udunits-1.12.11 8) pgi-12.6/netcdf-fortran-4.2

I'm currently downloading 12.8 and I will try to compile WRF again after installing it. Do you think I need to recompile all of the other libraries as well?
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Aug 13, 2012 9:57 am    Post subject: Reply with quote

Quote:
I'm building serial WRF. NetCDF is netcdf-fortran-4.2
That's the same as me. Normally this would be an indication of a UMR but valgrind doesn't show anything. Another possibility is a stack overflow. What's your shell's stack limit?

Quote:
I'm currently downloading 12.8 and I will try to compile WRF again after installing it. Do you think I need to recompile all of the other libraries as well?
12.8 is worth a try but I don't see any related issue in the fixed TPR list. You shouldn't need to recompile the other libraries.

- Mat
Back to top
View user's profile
richard



Joined: 04 Aug 2004
Posts: 10

PostPosted: Mon Aug 13, 2012 12:03 pm    Post subject: Reply with quote

mkcolg wrote:
Quote:
I'm building serial WRF. NetCDF is netcdf-fortran-4.2
That's the same as me. Normally this would be an indication of a UMR but valgrind doesn't show anything. Another possibility is a stack overflow. What's your shell's stack limit?


It was 8192. I tried compiling it again with 12.8, both with stacksize 8192 and unlimited, and it still segfaults in the same place.

Do you think it's NetCDF related? This is the first part in the WRF compile where it attempts to include netcdf.

Thanks,
Richard
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
Goto page 1, 2  Next
Page 1 of 2

 
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