locked
problem with ifort RRS feed

  • Question

  • I am working under fedora 20, i using MULTI code, when i write this command
    "make mul23luc_3d.x" appear this message
    ifort mul23_l_3d.o mul23_bconst_3d.o mul23_subl_3d.o mul23_sub_noscratch_3d.o mul23_opacu.o mul23_writeidl.o transp_23.o var_3d.o -fast -fpe0 -vec_report0 -o mul23luc_3d.x
    ipo: warning #11021: unresolved mpi_bcast_
    Referenced in /tmp/ipo_ifortbUHHFK.o
    ipo: warning #11021: unresolved mpi_barrier_
    Referenced in /tmp/ipo_ifortbUHHFK.o
    ipo: warning #11021: unresolved mpi_send_
    Referenced in /tmp/ipo_ifortbUHHFK.o
    ipo: warning #11021: unresolved mpi_recv_
    Referenced in /tmp/ipo_ifortbUHHFK.o
    ipo: warning #11021: unresolved mpi_finalize_
    Referenced in /tmp/ipo_ifortbUHHFK.o
    ipo: warning #11021: unresolved mpi_allreduce_
    Referenced in /tmp/ipo_ifortbUHHFK.o
    ipo: warning #11021: unresolved mpi_comm_rank_
    Referenced in /tmp/ipo_ifortbUHHFK.o
    ipo: warning #11021: unresolved mpi_comm_size_
    Referenced in /tmp/ipo_ifortbUHHFK.o
    ipo: warning #11021: unresolved mpi_init_
    Referenced in /tmp/ipo_ifortbUHHFK.o
    ipo: remark #11000: performing multi-file optimizations
    ipo-1: remark #11006: generating object file /tmp/ipo_ifortbUHHFK1.o
    ipo-2: remark #11006: generating object file /tmp/ipo_ifortbUHHFK2.o
    ipo-3: remark #11006: generating object file /tmp/ipo_ifortbUHHFK3.o
    ipo-4: remark #11006: generating object file /tmp/ipo_ifortbUHHFK4.o
    /tmp/ipo_ifortbUHHFK1.o: In function `MAIN__':
    ipo_out1.f:(.text.hot00001+0x91): undefined reference to `mpi_init_'
    ipo_out1.f:(.text.hot00001+0xb3): undefined reference to `mpi_comm_size_'
    ipo_out1.f:(.text.hot00001+0xd5): undefined reference to `mpi_comm_rank_'
    ipo_out1.f:(.text.hot00001+0x4ad4): undefined reference to `mpi_barrier_'
    ipo_out1.f:(.text.hot00001+0x4b29): undefined reference to `mpi_allreduce_'
    ipo_out1.f:(.text.hot00001+0x4b6b): undefined reference to `mpi_allreduce_'
    ipo_out1.f:(.text.hot00001+0x4eee): undefined reference to `mpi_barrier_'
    ipo_out1.f:(.text.hot00001+0x5263): undefined reference to `mpi_finalize_'
    /tmp/ipo_ifortbUHHFK1.o: In function `wb3d_':
    ipo_out1.f:(.text.hot00001+0x74ad): undefined reference to `mpi_bcast_'
    /tmp/ipo_ifortbUHHFK1.o: In function `gather_3d_':
    ipo_out1.f:(.text.hot00001+0x8023): undefined reference to `mpi_recv_'
    ipo_out1.f:(.text.hot00001+0x86b8): undefined reference to `mpi_send_'
    ipo_out1.f:(.text.hot00001+0x8764): undefined reference to `mpi_barrier_'
    /tmp/ipo_ifortbUHHFK1.o: In function `rout3d0_.':
    ipo_out1.f:(.text.hot00001+0x9133): undefined reference to `mpi_bcast_'
    ipo_out1.f:(.text.hot00001+0x9169): undefined reference to `mpi_bcast_'
    ipo_out1.f:(.text.hot00001+0x9183): undefined reference to `mpi_barrier_'
    /tmp/ipo_ifortbUHHFK1.o: In function `ratmos3d_':
    ipo_out1.f:(.text.hot00003+0x63): undefined reference to `mpi_bcast_'
    ipo_out1.f:(.text.hot00003+0xe03): undefined reference to `mpi_bcast_'
    ipo_out1.f:(.text.hot00003+0x29d4): undefined reference to `mpi_bcast_'
    /tmp/ipo_ifortbUHHFK1.o: In function `scatter_3d_':
    ipo_out1.f:(.text.hot00003+0x4ca3): undefined reference to `mpi_send_'
    ipo_out1.f:(.text.hot00003+0x5000): undefined reference to `mpi_recv_'
    ipo_out1.f:(.text.hot00003+0x50af): undefined reference to `mpi_barrier_'
    /tmp/ipo_ifortbUHHFK1.o: In function `scatter_3d_atmos_':
    ipo_out1.f:(.text.hot00003+0x55b3): undefined reference to `mpi_send_'
    ipo_out1.f:(.text.hot00003+0x5910): undefined reference to `mpi_recv_'
    ipo_out1.f:(.text.hot00003+0x59bf): undefined reference to `mpi_barrier_'
    /tmp/ipo_ifortbUHHFK1.o: In function `gather_iv_':
    ipo_out1.f:(.text.hot0001b+0x5e70): undefined reference to `mpi_recv_'
    ipo_out1.f:(.text.hot0001b+0x64cf): undefined reference to `mpi_send_'
    ipo_out1.f:(.text.hot0001b+0x657e): undefined reference to `mpi_barrier_'
    /tmp/ipo_ifortbUHHFK1.o: In function `wn3d_':
    ipo_out1.f:(.text.hot0001b+0x74ed): undefined reference to `mpi_bcast_'
    /tmp/ipo_ifortbUHHFK2.o: In function `stop_.':
    ipo_out2.f:(.text.hot0002b+0x88): undefined reference to `mpi_finalize_'
    make: *** [mul23luc_3d.x] Error 1
    ...............................................
    any help please
    Monday, May 26, 2014 1:26 PM

All replies

  • Hi Ali,

    MS-MPI only runs on the Windows platform so we don't have much experience  building things in Fedora. If I have to guess, you're missing the MPI library on the ifort command. Which MPI implementations are you trying to compile/link against? You might also have better success asking your question in the mpich-discuss mailing list (http://www.mpich.org/support/mailing-lists/)

    Let me know if I can be of further help

    --Anh

    Wednesday, May 28, 2014 4:45 PM