<div dir="ltr"><div><div><div>Hi Neks!<br><br></div>How to compile new version of Nek with mpiifort and mpiicc?<br><br></div>When i try to do that a catch errors like:<br><br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(gs.o): In function `cr_exec':<br>gs.c:(.text+0x322): undefined reference to `ompi_mpi_unsigned_char'<br>gs.c:(.text+0x388): undefined reference to `ompi_mpi_unsigned_char'<br>gs.c:(.text+0x3d5): undefined reference to `ompi_mpi_unsigned_char'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(gs.o): In function `pw_exec':<br>gs.c:(.text+0x56f): undefined reference to `ompi_mpi_unsigned_char'<br>gs.c:(.text+0x629): undefined reference to `ompi_mpi_unsigned_char'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(gs.o):gs.c:(.text+0x1f8b): more undefined references to `ompi_mpi_unsigned_char' follow<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(gs.o): In function `gs_setup_pick_':<br>gs.c:(.text+0x3a1b): undefined reference to `MPI_Comm_f2c'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(crystal.o): In function `gslibcrystal_router':<br>crystal.c:(.text+0x30e): undefined reference to `ompi_mpi_unsigned_char'<br>crystal.c:(.text+0x34a): undefined reference to `ompi_mpi_unsigned_char'<br>crystal.c:(.text+0x3e0): undefined reference to `ompi_mpi_unsigned_char'<br>crystal.c:(.text+0x4d3): undefined reference to `ompi_mpi_unsigned_char'<br>crystal.c:(.text+0x51b): undefined reference to `ompi_mpi_unsigned_char'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(crystal.o):crystal.c:(.text+0x585): more undefined references to `ompi_mpi_unsigned_char' follow<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(comm.o): In function `gslibcomm_allreduce.part.4':<br>comm.c:(.text+0x4b): undefined reference to `ompi_mpi_float'<br>comm.c:(.text+0xf1): undefined reference to `ompi_mpi_unsigned_char'<br>comm.c:(.text+0x163): undefined reference to `ompi_mpi_unsigned_char'<br>comm.c:(.text+0x18c): undefined reference to `ompi_mpi_unsigned_char'<br>comm.c:(.text+0x243): undefined reference to `ompi_mpi_op_max'<br>comm.c:(.text+0x297): undefined reference to `ompi_mpi_int'<br>comm.c:(.text+0x2a7): undefined reference to `ompi_mpi_op_prod'<br>comm.c:(.text+0x2b3): undefined reference to `ompi_mpi_long'<br>comm.c:(.text+0x2c3): undefined reference to `ompi_mpi_long_long_int'<br>comm.c:(.text+0x2d3): undefined reference to `ompi_mpi_double'<br>comm.c:(.text+0x2e3): undefined reference to `ompi_mpi_op_min'<br>comm.c:(.text+0x2f3): undefined reference to `ompi_mpi_op_sum'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(comm.o): In function `gslibcomm_scan':<br>comm.c:(.text+0x441): undefined reference to `ompi_mpi_unsigned_char'<br>comm.c:(.text+0x468): undefined reference to `ompi_mpi_unsigned_char'<br>comm.c:(.text+0x4ed): undefined reference to `ompi_mpi_unsigned_char'<br>comm.c:(.text+0x51b): undefined reference to `ompi_mpi_unsigned_char'<br>comm.c:(.text+0x56b): undefined reference to `ompi_mpi_unsigned_char'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(comm.o):comm.c:(.text+0x600): more undefined references to `ompi_mpi_unsigned_char' follow<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(fcrystal.o): In function `crystal_setup_':<br>fcrystal.c:(.text+0x59): undefined reference to `MPI_Comm_f2c'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(fcrs.o): In function `crs_setup_':<br>fcrs.c:(.text+0x3e): undefined reference to `MPI_Comm_f2c'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(findpts.o): In function `comm_init_check_.constprop.8':<br>findpts.c:(.text+0x186): undefined reference to `MPI_Comm_f2c'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(xxt.o): In function `sum':<br>xxt.c:(.text+0x154): undefined reference to `ompi_mpi_unsigned_char'<br>xxt.c:(.text+0x1c8): undefined reference to `ompi_mpi_unsigned_char'<br>xxt.c:(.text+0x21c): undefined reference to `ompi_mpi_unsigned_char'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(xxt.o): In function `apply_QQt':<br>xxt.c:(.text+0x313): undefined reference to `ompi_mpi_unsigned_char'<br>xxt.c:(.text+0x3c8): undefined reference to `ompi_mpi_unsigned_char'<br>/home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(xxt.o):xxt.c:(.text+0x41b): more undefined references to `ompi_mpi_unsigned_char' follow.<br><br></div>It looks like <br></div>