I'm having some problems with OpenMP. I tried to compile a code with OpenMP support and it crashes.
In my code there are these lines
integer,dimension(:),pointer :: element_id
integer,dimension(:),pointer :: local_node
end type concurrent_elements_list_type
When I compile with OpenMP support and run the code, it tries to deallocate concurrent_list%element_id even if the pointer is not associated, thus giving an error:
Deallocate error 493: Array was not created by ALLOCATE
I use the following compiler/linker flags:
-O3 -tpp7 -cm -w -xW -ipo -openmp
The error appears on a completely serial code (still no OpenMP directives). The code works well with
-O3 -tpp7 -cm -w -xW -ipo
Does anyobody have a similar problem?