Harmut, this is a known bug.
in the mean time, can you give a try to 1.8.4rc1 ? http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.4rc1.tar.gz /* if i remember correctly, this is fixed already in the rc1 */ Cheers, Gilles On 2014/11/13 19:48, Hartmut Häfner (SCC) wrote: > Dear developers, > we have compiled OpenMPI 1.8.3 with Intel Compiler in version 13.1.5 (and > 15.0.0). The configure command is: > ./configure CC=icc CXX=icpc FC=ifort F90=ifort CFLAGS="-O2 -fno-strict- > aliasing" CXXFLAGS="-O2" \ > FCFLAGS="-O2" --enable-shared --enable-static --enable-mpi- > fortran=usempif08 --with-verbs --without-psm --with-slurm -- > prefix=/software/all/openmpi > /1.8.3_intel_13.1 > We also tried the configure command without the option --enable-mpi-fortran > and additionally with option -D__INTEL_COMPILER in CFLAGS, CXXFLAGS and > FCFLAGS. > > If you want to use the subroutine MPI_Sizeof within a Fortran program, you > always get a undefined reference. > > We also have tried a test program: > program testbcast > use mpi > implicit none > > logical :: a > integer :: ierror, rank, size > > a = .true. > call mpi_init(ierror) > call mpi_sizeof(a, size, ierror) > print *,size > call mpi_finalize(ierror) > end program testbcast > > Using > mpif90 -o mpi_sizetest mpi_sizetest.f90 > gives > /scratch/ifortahgFcM.o: In function `MAIN__': > mpi_sizetest.f90:(.text+0x4c): undefined reference to `mpi_sizeof0dl_' > > (Environment variable OMPI_FCFLAGS is unset) > > If we use the GNU compiler instead of the Intel compiler, it works!( but then > we run into trouble with the module "mpi" using the Intel compiler for our > application.) > > We did not find any hints on this erroneous behaviour! > > > Sincerly yours > > Hartmut Häfner > > > ------------------------ > Hartmut Häfner > Karlsruhe Institute of Technology (KIT) > University Karlsruhe (TH) > Steinbuch Centre for Computing (SCC) > Scientific Computing and Simulation (SCS) > Zirkel 2 (Campus Süd, Geb. 20.21, Raum 204) > D-76128 Karlsruhe > > Fon +49(0)721 608 44869 > Fax +49(0)721 32550 > hartmut.haef...@kit.edu > > http://www.scc.kit.edu/personen/hartmut.haefner > _______________________________________________ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2014/11/16307.php