PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Error with 12.3, not with 12.2. Bug?
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
fspiga



Joined: 21 Feb 2012
Posts: 16

PostPosted: Mon May 28, 2012 3:13 am    Post subject: Reply with quote

mkcolg wrote:

I downloaded espresso-5.0 and was able to recreate the segv in iotk_scan.f90. The error occurs with or without optimization in a call to a non-advancing read. I did notice that if I add "-D__IOTK_WORKAROUND1" and use the alternate advancing read, then the program runs correctly.
- Mat



Dear Mat,
the workaround works on my workstation and Linux cluster but it does not solve another problem that (honestly) it is not clear if it is related directly to PGI or to the CRAY environment.

In fact, the compiler crashes at this point:
Quote:
make[2]: Entering directory `/ufs/home/users/xxxxxx/espresso-PRACE/S3DE/iotk/src'
ftn -fast -Mcache_align -r8 -Mpreprocess -mp -D__PGI -D__FFTW -D__CUDA -D__GPU_NVIDIA_20 -D__PHIGEMM -D__CUDA_QE_TIMING -D__OPENMP -D__IOTK_WORKAROUND1 -I../include -I/home/users/xxxxxx/espresso-PRACE/phiGEMM/include -I/opt/nvidia/cuda/4.0.17a/include -c iotk_print_kinds.f90
pgf90-Fatal-/opt/pgi/12.3.0/linux86-64/12.3/bin/pgf901 TERMINATED by signal 11
Arguments to /opt/pgi/12.3.0/linux86-64/12.3/bin/pgf901
/opt/pgi/12.3.0/linux86-64/12.3/bin/pgf901 iotk_print_kinds.f90 -opt 2 -terse 1 -inform warn -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 /opt/pgi/12.3.0/linux86-64/12.3/include:/usr/local/include:/usr/lib64/gcc/x86_64-suse-linux/4.3/include:/usr/lib64/gcc/x86_64-suse-linux/4.3/include:/usr/include -def unix -def __unix -def __unix__ -def linux -def __linux -def __linux__ -def __NO_MATH_INLINES -def __x86_64__ -def __LONG_MAX__=9223372036854775807L -def '__SIZE_TYPE__=unsigned long int' -def '__PTRDIFF_TYPE__=long int' -def __THROW= -def __extension__= -def __amd64__ -def __SSE__ -def __MMX__ -def __SSE2__ -def __SSE3__ -def __SSE4A__ -def __ABM__ -idir ../include -idir /home/users/xxxxxx/espresso-PRACE/phiGEMM/include -idir /opt/nvidia/cuda/4.0.17a/include -idir /opt/nvidia/cuda/4.0.17a/include -idir /opt/cray/udreg/2.3.1-1.0400.4264.3.1.gem/include -idir /opt/cray/ugni/2.3-1.0400.4374.4.88.gem/include -idir /opt/cray/dmapp/3.2.1-1.0400.4255.2.159.gem/include -idir /opt/cray/gni-headers/2.1-1.0400.4351.3.1.gem/include -idir /opt/cray/xpmem/0.1-2.0400.31280.3.1.gem/include -idir /opt/cray/pmi/3.0.1-1.0000.8917.33.1.gem/include -idir /opt/acml/4.4.0/pgi64_fma4_mp/include -idir /usr/include/alps -def __PGI -def __FFTW -def __CUDA -def __GPU_NVIDIA_20 -def __PHIGEMM -def __CUDA_QE_TIMING -def __OPENMP -def __IOTK_WORKAROUND1 -def __CRAYXE -def __CRAYXT_COMPUTE_LINUX_TARGET -def __TARGET_LINUX__ -freeform -preprocess -vect 48 -y 54 1 -mp -x 69 0x200 -x 69 0x400 -x 53 2 -quad -x 119 0x10000000 -quad -x 119 0x10000000 -x 124 0x8 -x 124 0x80000 -mp -x 69 0x200 -x 69 0x400 -modexport /tmp/pgf90aHSdanmMFMVc.cmod -modindex /tmp/pgf90aHSda1T3AEc3.cmdx -output /tmp/pgf90aHSdaLpKZHL8.ilm
make[2]: *** [iotk_print_kinds.o] Error 127
make[2]: Leaving directory `/ufs/home/users/xxxxxx/espresso-PRACE/S3DE/iotk/src'
make[1]: *** [libiotk] Error 2
make[1]: Leaving directory `/ufs/home/users/xxxxxx/espresso-PRACE/extlibs'
make: *** [libiotk] Error 2


The CRAY system is a XK6. These modules are loaded:
Quote:
Currently Loaded Modulefiles:
1) modules/3.2.6.6
2) nodestat/2.2-1.0400.31264.2.5.gem
3) sdb/1.0-1.0400.32124.7.19.gem
4) MySQL/5.0.64-1.0000.5053.22.1
5) lustre-cray_gem_s/1.8.6_2.6.32.45_0.3.2_1.0400.6453.5.1-1.0400.32127.1.90
6) udreg/2.3.1-1.0400.4264.3.1.gem
7) ugni/2.3-1.0400.4374.4.88.gem
8) gni-headers/2.1-1.0400.4351.3.1.gem
9) dmapp/3.2.1-1.0400.4255.2.159.gem
10) xpmem/0.1-2.0400.31280.3.1.gem
11) hss-llm/6.0.0
12) Base-opts/1.0.2-1.0400.31284.2.2.gem
13) xtpe-network-gemini
14) PrgEnv-pgi/4.0.46
15) xt-mpich2/5.5.0.6
16) atp/1.4.4
17) xt-asyncpe/5.11.13
18) pmi/3.0.1-1.0000.8917.33.1.gem
19) xt-totalview/8.10.0
20) totalview-support/1.1.3
21) pgi/12.3.0
22) pbs/10.4.0.101257
23) xtpe-interlagos
24) cuda/4.0.17a
25) acml/4.4.0


I already notify the CRAY User Support about this issue but I suspect they will forward to PGI because it looks like a compiler issue. Do you have any idea about how tweak the FTN wrapper to (maybe) change or remove some options that screw up the compilation?

Many thanks in advance again!
Back to top
View user's profile
fspiga



Joined: 21 Feb 2012
Posts: 16

PostPosted: Sun Jun 17, 2012 9:25 am    Post subject: Reply with quote

Dear Mat,

this is just a follow up you can eventually close internally this issue. I discovered that the problem was one of the component of the CRAY environment.

After unloading "atp" and "hss-llm" PGI does not complain anymore and the code compiles without problems!

Cheers,
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 Previous  1, 2, 3
Page 3 of 3

 
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