IBM Support

Module symbol file for module mpi is in a format not recognized by this compiler error message

Troubleshooting


Problem

Compilation of Fortran code that uses Parallel Environment (PE) Fortran 90 type-checking module mpi.mod (via USE MPI statement) fails with XL Fortran Enterprise Edition for AIX, V11.1 and earlier versions.

Symptom

Consider Fortran source code that includes Parallel Environment (PE) Fortran 90 type-checking module mpi.mod:

      program test          
      use mpi                
      print *, 'testing mpi'  
      stop                  
      end program test      

Compiling this source code with XL Fortran Enterprise Edition for AIX, V11.1 or earlier version will cause compile time error:

1514-220 (S) Module symbol file for module mpi is in a format not recognized by this compiler. Please compile the module with this compiler.

Cause

The problem is caused by older version of XL Fortran compiler.

Resolving The Problem

For new programs:

Compile the program with XL Fortran compiler Version 12.1 or later.

For existing programs:

Recompile the program with XL Fortran compiler Version 12.1 or later. Note that if you have an existing Fortran MPI program that is running without errors, there is no need to recompile it. Since the program is already running correctly, compiling it with the Fortran 90 module would provide no benefit.

[{"Product":{"code":"SSGH4D","label":"XL Fortran for AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Compiler","Platform":[{"code":"PF002","label":"AIX"}],"Version":"10.1;11.1","Edition":"All Editions;Not Applicable","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
08 August 2018

UID

swg21500619