Stack overflow when using OpenMP in Intel Fortran in Windows

General OpenMP discussion

Re: Stack overflow when using OpenMP in Intel Fortran in Win

Postby ftinetti » Fri Sep 07, 2012 3:44 am

Hi,

I do not have enough time to make a program from your code, my idea is to strip code from subprograms and leave data declarations. Anyway, from a quick look:
1) There is a problem in
Code: Select all
!$omp parallel
!id = omp_get_thread_num()
print *, id,'Hello World'
!$omp end parallel

(id would be undefined).

Also, about
For example, If I inserd a "hello world" test code in front of "call homonic(r,ram,jar)", and stop. No problem, it works.
Without "stop", stack overflow!!

where is the stack overflow produced (in homonic, after the call, etc.)?

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

Previous

Return to Using OpenMP

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 4 guests