[CIG-SEISMO] SPECFEM_BASIN code and Intel Fortran 12 compilers?

Dimitri Komatitsch dimitri.komatitsch at univ-pau.fr
Sat Jan 8 02:54:24 PST 2011


Hi Paul,

I've seen numerous problems with new releases of Intel ifort in the 
past. It is probably better to wait for 6 months or even a year before 
switching to version 12. The second bug below probably comes from that
(an error / problem created by the compiler).

The first set of warnings means that temporary arrays are created in the 
calls to some of our subroutines; that usually happens for instance if 
you use a subarray in a call:

call my_routine(my_array(1:5, 2:4)...)

in which case Intel ifort creates a temporary copy of my_array(1:5, 2:4)
(which works fine, but reduces performance and increases total memory 
size because of automatic temporary copies).

Best regards,
Dimitri.


On 01/05/2011 05:43 PM, Paul Friberg wrote:
>
> Hi CIG Seismo group,
>
> Has anyone started using the SPECFEM_BASIN codes with the intel 12 compiler yet? I am trying it
> and getting severe errors on the pangu host at Caltech when the solver runs:
>
> starting solver xspecfem3D
> forrtl: warning (402): fort: (1): In call to GATHER_ALL_I, an array temporary was created for argument #3
>
> forrtl: warning (402): fort: (1): In call to GATHER_ALL_DP, an array temporary was created for argument #3
>
> forrtl: warning (402): fort: (1): In call to GATHER_ALL_DP, an array temporary was created for argument #3
>
> ---->  lots of above deleted, but this is the more disturbing error:
>
> forrtl: severe (168): Program Exception - illegal instruction
> Image              PC                Routine            Line        Source
> xspecfem3D         000000000042D2D7  specfem3d_               3120  specfem3D.f90
> xspecfem3D         000000000040A848  MAIN__                     31  program_specfem3D.f90
> xspecfem3D         000000000040A7AC  Unknown               Unknown  Unknown
> libc.so.6          0000003BF021D994  Unknown               Unknown  Unknown
> xspecfem3D         000000000040A6B9  Unknown               Unknown  Unknown
> forrtl: severe (168): Program Exception - illegal instruction
> Image              PC                Routine            Line        Source
> xspecfem3D         000000000042D2D7  specfem3d_               3120  specfem3D.f90
> xspecfem3D         000000000040A848  MAIN__                     31  program_specfem3D.f90
> xspecfem3D         000000000040A7AC  Unknown               Unknown  Unknown
> libc.so.6          0000003BF021D994  Unknown               Unknown  Unknown
> xspecfem3D         000000000040A6B9  Unknown               Unknown  Unknown
>
>
> So, the question is has anybody run the code succesfully with the intel 12 compiler and how do I
> find out more details about which code is blowing up.
>
> Cheers,
>
> Paul
>
>
>
>
>
>
>
> _______________________________________________
> CIG-SEISMO mailing list
> CIG-SEISMO at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
>

-- 
Dimitri Komatitsch - dimitri.komatitsch aT univ-pau.fr
Professor, University of Toulouse and Institut universitaire de France,
CNRS UMR 5563 GET, Bureau F144, France http://www.univ-pau.fr/~dkomati1


More information about the CIG-SEISMO mailing list