1. Error message:
Following error message was encountered while compiling a code with mpif90 (underlying fortran compiler being ifort)
relocation truncated to fit: R_X86_64_PC32 against symbol
Solution that worked out:
use compiler flag "-mcmodel=large -shared-intel" while compiling and linking the code.
Programming Errors Log
Wednesday, December 22, 2010
MPI
1. Error-message:
Following error message was obtained while compiling a code with mpif90 from openmpi-1.5:
error #6285: There is no matching specific subroutine for this generic subroutine call. [MPI_TYPE_GET_EXTENT]
call MPI_TYPE_GET_EXTENT(MPI_COMPLEX,ab,sofcomplex,ierr)
Solution that worked out:
Code was using module mpi. The statement 'use mpi' was removed and was replaced with include"mpif.h".
Following error message was obtained while compiling a code with mpif90 from openmpi-1.5:
error #6285: There is no matching specific subroutine for this generic subroutine call. [MPI_TYPE_GET_EXTENT]
call MPI_TYPE_GET_EXTENT(MPI_COMPLEX,ab,sofcomplex,ierr)
Solution that worked out:
Code was using module mpi. The statement 'use mpi' was removed and was replaced with include"mpif.h".
Subscribe to:
Posts (Atom)