Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

openmp problem

help_please
Начинающий
784Просмотр.

Ipreviously had a program compiled with intel 9.?. that ranwith openmp.Recently our server has been updated with the intel 11.1.046 compiler. I didNOT change any of my compilingoptions.It's able to compileok but....when I run theprogramit crashes and gives me an error:
----------------------------------------------------------------------------------

forrtl: severe (174): SIGSEGV, segmentation fault occurred

Image PC Routine Line Source

libpthread.so.0 00000034C1A0E38D Unknown Unknown Unknown

ww3_shel 00000000005569CF Unknown Unknown Unknown

libpthread.so.0 00000034C1A06367 Unknown Unknown Unknown

libc.so.6 00000034C0ED2F7D Unknown Unknown Unknown
--------------------------------------------------------------------------
If I run the code in serial, it works fine. Again I did NOT change anything in the program or the setup procedure. What do I need to change?? I checked this link and nothing seems to work orbe related to openmp:
http://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors/

I'm not much of a programmer so details would help. I don't know all the required details but I'm using Intel64/11.1/046/ compiler on a linux server.

0 баллов
2 Ответы
jimdempseyatthecove
Почетный участник III
784Просмотр.
Compile the program in Debug mode with checks for

use of uninitialized variables
subscript out of bounds
gen-interfaces + warn:interfaces

Then run the program from the debugger.

The above will catch most programming errors.

Your program may have run before, more by accident than by design.

Jim Dempsey


TimP
Почетный участник III
784Просмотр.
Also, check your stack limit settings.
Ответить