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

problems with parallel fortran programs (openmp)

Jesper_C_
Beginner
785 Views
I have problems with fortran programs (weather forecast models) parallized with openmp. When the programs are run for some period the threads hangs. The threads exists, but are using no cpu time. I am using fortran version 7.0. It is 2cpu 2.4 ghz Xeon on a 7500 chipset with hyperthreading. the problem is both when hyperthreading are enabled or not. the linux kernel is 2.4.18-3smp from the Red Hat Linux 7.3 2.96-110. When I using the portland compiler there no problem (but the programs are slower, up to 33%), or on other platforms as True64unix (alpha) or SGI. The programs does not hang at the same place. Sometimes they can run for long period before they hangs.
0 Kudos
5 Replies
one_glen
Beginner
785 Views
i'd suggest go out and get bert, if the code is less that 8000 lines there is a free version for linux that analyses codz and find out where the threads are hanging. sounds like the openmp implementation is hosed, or what version of openmp does pgcc use 1.1? 2? ifc v7 uses 2?
0 Kudos
Martyn_C_Intel
Employee
785 Views
This sounds like an issue which should be reported to Intel Premier Support at https://premier.intel.com for follow up.

I do know of weather codes such as MM5 that have been run successfully with OpenMP using the Intel compiler.

Martyn
0 Kudos
Jesper_C_
Beginner
785 Views
thanks for then replies: pgf77 is using Openmp version 1.1
ifc is using version 2. I will try to use bert and see the results.

It is the workstation version of ETA from NCEP and MM5 model, I have problems with. I have at MM5's homepage seen compiler options for ifc, but only for version 6, and without openMP parallelization. I have not seen it for version 7 and with openMP.
0 Kudos
madstynx
Beginner
785 Views
Hello Wurzel, and others.
I really want to know if you are succesfull in finding what causes this behavior.
Running into the same problem, Redhat 7.3/Suse8.0) kernel 2.4.18-SMP, Intel Xeon 2cpu'smachines, not hyperthreaded, Intel compiler 7.0 (patched).
Solver program, programmed with Fortran and C, with OpenMP.
Exactly the same behavior Wurzel has, parallel runs kan go for days (30/40/50 hours), but they alway's stop(not at the same place). The processes are still there, but no cpu use or whatever.
Are here people with more idea's and/or clues?
Thanks in advance
0 Kudos
misty12
Beginner
785 Views
Hello,
Have anyone found out what causes this problem, because I ran into the same problem but under Windows on 2Xeon processors 2.4GHz. My program can ran for 20 or more hours and than stops calculating though the process is still here. This error occurs often but each time on the different place. Can anyone help me with it, please?
Olga
0 Kudos
Reply