As increases # of threads, segmentation fault is occured

General OpenMP discussion

Re: As increases # of threads, segmentation fault is occured

Postby ftinetti » Fri Mar 28, 2014 4:12 am

Hi again,

Thanks for posting the actual code, just checking:
1) KP(K) is also defined in 'common.h'
2) UT(I,J,KP(K)), UT(I,J,K), and UT(I,J,KM(K)) ) have the right values, i.e. not only UT(I,J,K)
3) Idem previous for VIS(I,J,KCM)), VIS(I,J,K), and VIS(I,J,KCM)
4) Idem 2) for SSDT(KCM), SSDT(K)

If everything is fine with the previous definitions, i.e. 1)-4) above are right, then maybe the problem is in CTDMA_T(), where the first check I would do is on static (SAVEd and Common) variables, are there any of those in CTDMA_T()? Does CTDMA_T() call any other subroutine?

HTH,

Fernando.
ftinetti
 
Posts: 575
Joined: Wed Feb 10, 2010 2:44 pm

Previous

Return to Using OpenMP

Who is online

Users browsing this forum: Google [Bot] and 7 guests