PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

hpfnpb sample case report "segmentation violation"

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



Joined: 14 Feb 2012
Posts: 5

PostPosted: Sun May 06, 2012 8:21 am    Post subject: hpfnpb sample case report "segmentation violation" Reply with quote

Hi,
I downloaded the hpfnpb sample case, and compiled it with pghpf.
[c445f1n03][/u/xiachsh/learning/fortran/hpfnpb/is/sp2]> pghpf -c ../src/appis.hpf
[c445f1n03][/u/xiachsh/learning/fortran/hpfnpb/is/sp2]> pghpf -c ../src/init_keys.hpf
[c445f1n03][/u/xiachsh/learning/fortran/hpfnpb/is/sp2]> pghpf -c ../src/mainis.hpf
[c445f1n03][/u/xiachsh/learning/fortran/hpfnpb/is/sp2]> pghpf *.o -o lgl.out.pgi

But when I tried to run it, it will give the following error:
[c445f1n03][/u/xiachsh/learning/fortran/hpfnpb/is]> ./sp2/lgl.out.pgi -unsafe yes -stat mems <src> ulimit -a
address space limit (kbytes) (-M) unlimited
core file size (blocks) (-c) 0
cpu time (seconds) (-t) unlimited
data size (kbytes) (-d) unlimited
file size (blocks) (-f) unlimited
locks (-L) unlimited
locked address space (kbytes) (-l) unlimited
nofile (-n) 1024
nproc (-u) 257684
pipe buffer size (bytes) (-p) 4096
resident set size (kbytes) (-m) unlimited
socket buffer size (bytes) (-b) 4096
stack size (kbytes) (-s) unlimited
threads (-T) not supported
process size (kbytes) (-v) unlimited

Does anybody know why?

Another question. I have a Fortran MPICH2 library. It could support Fortran 77/90/95/99. Could it be able to support HPF as well? Is there any special requirement to make a Fortran MPI library to support HPF?
Thanks in advance for your help.
Back to top
View user's profile
mkcolg



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

PostPosted: Mon May 07, 2012 3:59 pm    Post subject: Reply with quote

Hi guanglei,

There may be some output missing since I don't see an error here. This is just the output from the 'ulimit -a" command. Here's my output:
Code:

% ./sp -pghpf -np 2 -unsafe yes -stat mems < ./src/inputsp.test01
Verification test for SP PASSED

memory    local    global  res size  pag flts  pag flts voluntary  involunt
           heap      heap   (pages)     minor     major  switches  switches
   0*     361KB       1KB         0       527         0       847         5
   1      321KB       1KB         0       504         0      1013         4
total     681KB       1KB         0      1031         0      1860         9

Quote:

Another question. I have a Fortran MPICH2 library. It could support Fortran 77/90/95/99. Could it be able to support HPF as well? Is there any special requirement to make a Fortran MPI library to support HPF?
I believe you can but it's not something I've done myself. Let me do some investigation.

- Mat
Back to top
View user's profile
guanglei



Joined: 14 Feb 2012
Posts: 5

PostPosted: Mon May 07, 2012 7:06 pm    Post subject: Reply with quote

Hi Mat,
Here is the output:

Code:
%ulimit -c
unlimited
%./sp2/lgl.out.pgi -unsafe yes -stat mems < src/inputis.classA
0: segmentation violation
%
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