Advertisement
Guest User

scalapack errors

a guest
Sep 26th, 2012
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.78 KB | None | 0 0
  1. #This compiled and runs a C example just fine
  2. mpif77 -Wall t1.c -o ex1 /usr/lib64/openmpi/lib/libscalapack.a /usr/lib64/openmpi/lib/libmpiblacs.a /usr/lib64/openmpi/lib/libmpiblacsCinit.a /usr/lib64/openmpi/lib/libmpiblacsF77init.a
  3.  
  4. #with C++ , note this is a C++ example from the web and it is not using the depreciated MPI C++ syntax rather the standard C syntax
  5.  
  6. mpif77 -Wall ex3.cpp -o ex3 /usr/lib64/openmpi/lib/libscalapack.a /usr/lib64/openmpi/lib/libmpiblacs.a /usr/lib64/openmpi/lib/libmpiblacsCinit.a /usr/lib64/openmpi/lib/libmpiblacsF77init.a -llapack -lblas -lm -lgfortran /usr/lib64/openmpi/lib/libmpiblacs.a -lstdc++
  7.  
  8. /tmp/ccHwpoGA.o: In function `MPI::Intracomm::Intracomm()':
  9. ex3.cpp:(.text._ZN3MPI9IntracommC2Ev[_ZN3MPI9IntracommC5Ev]+0x14): undefined reference to `MPI::Comm::Comm()'
  10. /tmp/ccHwpoGA.o: In function `MPI::Intracomm::Intracomm(ompi_communicator_t*)':
  11. ex3.cpp:(.text._ZN3MPI9IntracommC2EP19ompi_communicator_t[_ZN3MPI9IntracommC5EP19ompi_communicator_t]+0x19): undefined reference to `MPI::Comm::Comm()'
  12. /tmp/ccHwpoGA.o: In function `MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)':
  13. ex3.cpp:(.text._ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb[_ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb]+0x24): undefined reference to `ompi_mpi_cxx_op_intercept'
  14. /tmp/ccHwpoGA.o:(.rodata._ZTVN3MPI3WinE[_ZTVN3MPI3WinE]+0x48): undefined reference to `MPI::Win::Free()'
  15. /tmp/ccHwpoGA.o:(.rodata._ZTVN3MPI8DatatypeE[_ZTVN3MPI8DatatypeE]+0x78): undefined reference to `MPI::Datatype::Free()'
  16. collect2: error: ld returned 1 exit status
  17.  
  18. #with Mpic++
  19. mpic++ -Wall ex3.cpp -o ex3 /usr/lib64/openmpi/lib/libscalapack.a /usr/lib64/openmpi/lib/libmpiblacs.a /usr/lib64/openmpi/lib/libmpiblacsCinit.a /usr/lib64/openmpi/lib/libmpiblacsF77init.a -llapack -lblas -lm -lgfortran /usr/lib64/openmpi/lib/libmpiblacs.a -lstdc++
  20.  
  21. /usr/lib64/openmpi/lib/libmpiblacs.a(dgesd2d_.oo): In function `Cdgesd2d':
  22. (.text+0x8e): undefined reference to `mpi_type_free_'
  23. /usr/lib64/openmpi/lib/libmpiblacs.a(dgerv2d_.oo): In function `Cdgerv2d':
  24. (.text+0x93): undefined reference to `mpi_type_free_'
  25. /usr/lib64/openmpi/lib/libmpiblacs.a(dgebs2d_.oo): In function `Cdgebs2d':
  26. (.text+0x133): undefined reference to `mpi_type_free_'
  27. /usr/lib64/openmpi/lib/libmpiblacs.a(dgebs2d_.oo): In function `Cdgebs2d':
  28. (.text+0x2ea): undefined reference to `mpi_bcast_'
  29. /usr/lib64/openmpi/lib/libmpiblacs.a(dgebr2d_.oo): In function `Cdgebr2d':
  30. (.text+0x13b): undefined reference to `mpi_type_free_'
  31. /usr/lib64/openmpi/lib/libmpiblacs.a(dgebr2d_.oo): In function `Cdgebr2d':
  32. (.text+0x2fb): undefined reference to `mpi_bcast_'
  33. /usr/lib64/openmpi/lib/libmpiblacs.a(dgsum2d_.oo): In function `Cdgsum2d':
  34. (.text+0x45a): undefined reference to `mpi_reduce_'
  35. /usr/lib64/openmpi/lib/libmpiblacs.a(dgsum2d_.oo): In function `Cdgsum2d':
  36. (.text+0x4e5): undefined reference to `mpi_allreduce_'
  37. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_gridmap_.oo): In function `Cblacs_gridmap':
  38. (.text+0x2dc): undefined reference to `mpi_comm_dup_'
  39. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_gridmap_.oo): In function `Cblacs_gridmap':
  40. (.text+0x2f0): undefined reference to `mpi_comm_rank_'
  41. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_gridmap_.oo): In function `Cblacs_gridmap':
  42. (.text+0x31f): undefined reference to `mpi_comm_split_'
  43. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_gridmap_.oo): In function `Cblacs_gridmap':
  44. (.text+0x33c): undefined reference to `mpi_comm_split_'
  45. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_gridexit_.oo): In function `Cblacs_gridexit':
  46. (.text+0x56): undefined reference to `mpi_comm_free_'
  47. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_gridexit_.oo): In function `Cblacs_gridexit':
  48. (.text+0x64): undefined reference to `mpi_comm_free_'
  49. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_gridexit_.oo): In function `Cblacs_gridexit':
  50. (.text+0x71): undefined reference to `mpi_comm_free_'
  51. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_gridexit_.oo): In function `Cblacs_gridexit':
  52. (.text+0x7f): undefined reference to `mpi_comm_free_'
  53. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_barrier_.oo): In function `Cblacs_barrier':
  54. (.text+0x4a): undefined reference to `mpi_barrier_'
  55. /usr/lib64/openmpi/lib/libmpiblacs.a(Cblacs_barrier_.oo): In function `Cblacs_barrier':
  56. (.text+0x62): undefined reference to `mpi_barrier_'
  57. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Ssend.o): In function `BI_Ssend':
  58. (.text+0x32): undefined reference to `mpi_send_'
  59. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Srecv.o): In function `BI_Srecv':
  60. (.text+0x41): undefined reference to `mpi_recv_'
  61. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Asend.o): In function `BI_Asend':
  62. (.text+0x56): undefined reference to `mpi_isend_'
  63. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Asend.o): In function `BI_Asend':
  64. (.text+0x86): undefined reference to `mpi_error_class_'
  65. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Asend.o): In function `BI_Asend':
  66. (.text+0x101): undefined reference to `mpi_isend_'
  67. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Arecv.o): In function `BI_Arecv':
  68. (.text+0x56): undefined reference to `mpi_irecv_'
  69. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Arecv.o): In function `BI_Arecv':
  70. (.text+0x86): undefined reference to `mpi_error_class_'
  71. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Arecv.o): In function `BI_Arecv':
  72. (.text+0x101): undefined reference to `mpi_irecv_'
  73. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_BeComb.o): In function `BI_BeComb':
  74. (.text+0x17e): undefined reference to `mpi_sendrecv_'
  75. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_BlacsAbort.o): In function `BI_BlacsAbort':
  76. (.text+0x3f): undefined reference to `mpi_abort_'
  77. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_BuffIsFree.o): In function `BI_BuffIsFree':
  78. (.text+0x60): undefined reference to `mpi_waitall_'
  79. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Pack.o): In function `BI_Pack':
  80. (.text+0x76): undefined reference to `mpi_pack_'
  81. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Pack.o): In function `BI_Pack':
  82. (.text+0xe0): undefined reference to `mpi_pack_size_'
  83. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_GetMpiGeType.o): In function `BI_GetMpiGeType':
  84. (.text+0x38): undefined reference to `mpi_type_vector_'
  85. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_GetMpiGeType.o): In function `BI_GetMpiGeType':
  86. (.text+0x47): undefined reference to `mpi_type_commit_'
  87. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_MPI_F77_to_c_trans_comm.o): In function `BI_MPI_F77_to_c_trans_comm':
  88. (.text+0x27): undefined reference to `mpi_comm_size_'
  89. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_MPI_F77_to_c_trans_comm.o): In function `BI_MPI_F77_to_c_trans_comm':
  90. (.text+0x4c): undefined reference to `mpi_comm_group_'
  91. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_MPI_F77_to_c_trans_comm.o): In function `BI_MPI_F77_to_c_trans_comm':
  92. (.text+0x65): undefined reference to `mpi_comm_group_'
  93. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_MPI_F77_to_c_trans_comm.o): In function `BI_MPI_F77_to_c_trans_comm':
  94. (.text+0xa3): undefined reference to `mpi_group_translate_ranks_'
  95. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_MPI_F77_to_c_trans_comm.o): In function `BI_MPI_F77_to_c_trans_comm':
  96. (.text+0xc3): undefined reference to `mpi_group_free_'
  97. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_MPI_F77_to_c_trans_comm.o): In function `BI_MPI_F77_to_c_trans_comm':
  98. (.text+0xd2): undefined reference to `mpi_group_free_'
  99. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_TransUserComm.o): In function `BI_TransUserComm':
  100. (.text+0xab): undefined reference to `mpi_comm_group_'
  101. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_TransUserComm.o): In function `BI_TransUserComm':
  102. (.text+0xc7): undefined reference to `mpi_group_incl_'
  103. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_TransUserComm.o): In function `BI_TransUserComm':
  104. (.text+0xe0): undefined reference to `mpi_comm_create_'
  105. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_TransUserComm.o): In function `BI_TransUserComm':
  106. (.text+0xef): undefined reference to `mpi_group_free_'
  107. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_TransUserComm.o): In function `BI_TransUserComm':
  108. (.text+0xfe): undefined reference to `mpi_group_free_'
  109. /usr/lib64/openmpi/lib/libmpiblacs.a(bi_f77_mpi_attr_get.o): In function `bi_f77_mpi_attr_get_':
  110. (.text+0x13): undefined reference to `mpi_attr_get_'
  111. /usr/lib64/openmpi/lib/libmpiblacs.a(bi_f77_mpi_testall.o): In function `bi_f77_mpi_testall_':
  112. (.text+0x13): undefined reference to `mpi_testall_'
  113. /usr/lib64/openmpi/lib/libmpiblacs.a(dwalltime00_.o): In function `dwalltime00_':
  114. (.text+0x7): undefined reference to `mpi_wtime_'
  115. /usr/lib64/openmpi/lib/libmpiblacs.a(BI_Rsend.o): In function `BI_Rsend':
  116. (.text+0x32): undefined reference to `mpi_rsend_'
  117. /usr/lib64/openmpi/lib/libmpiblacsCinit.a(Cblacs_pinfo.o): In function `Cblacs_pinfo':
  118. (.text+0xda): undefined reference to `mpi_comm_size_'
  119. /usr/lib64/openmpi/lib/libmpiblacsCinit.a(Cblacs_pinfo.o): In function `Cblacs_pinfo':
  120. (.text+0xf6): undefined reference to `mpi_comm_rank_'
  121. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement