[Nek5000-users] intel compilers

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Sep 29 05:01:48 CDT 2017


you need to clean the object files in gs lib.
makenek realclean I think is the command.
Best regards,
Philipp

On 2017-09-29 11:56, nek5000-users at lists.mcs.anl.gov wrote:
> Hi Neks!
> 
> How to compile new version of Nek with mpiifort and mpiicc?
> 
> When i try to do that a catch errors like:
> 
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(gs.o): In 
> function `cr_exec':
> gs.c:(.text+0x322): undefined reference to `ompi_mpi_unsigned_char'
> gs.c:(.text+0x388): undefined reference to `ompi_mpi_unsigned_char'
> gs.c:(.text+0x3d5): undefined reference to `ompi_mpi_unsigned_char'
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(gs.o): In 
> function `pw_exec':
> gs.c:(.text+0x56f): undefined reference to `ompi_mpi_unsigned_char'
> gs.c:(.text+0x629): undefined reference to `ompi_mpi_unsigned_char'
> /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
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(gs.o): In 
> function `gs_setup_pick_':
> gs.c:(.text+0x3a1b): undefined reference to `MPI_Comm_f2c'
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(crystal.o): In 
> function `gslibcrystal_router':
> crystal.c:(.text+0x30e): undefined reference to `ompi_mpi_unsigned_char'
> crystal.c:(.text+0x34a): undefined reference to `ompi_mpi_unsigned_char'
> crystal.c:(.text+0x3e0): undefined reference to `ompi_mpi_unsigned_char'
> crystal.c:(.text+0x4d3): undefined reference to `ompi_mpi_unsigned_char'
> crystal.c:(.text+0x51b): undefined reference to `ompi_mpi_unsigned_char'
> /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
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(comm.o): In 
> function `gslibcomm_allreduce.part.4':
> comm.c:(.text+0x4b): undefined reference to `ompi_mpi_float'
> comm.c:(.text+0xf1): undefined reference to `ompi_mpi_unsigned_char'
> comm.c:(.text+0x163): undefined reference to `ompi_mpi_unsigned_char'
> comm.c:(.text+0x18c): undefined reference to `ompi_mpi_unsigned_char'
> comm.c:(.text+0x243): undefined reference to `ompi_mpi_op_max'
> comm.c:(.text+0x297): undefined reference to `ompi_mpi_int'
> comm.c:(.text+0x2a7): undefined reference to `ompi_mpi_op_prod'
> comm.c:(.text+0x2b3): undefined reference to `ompi_mpi_long'
> comm.c:(.text+0x2c3): undefined reference to `ompi_mpi_long_long_int'
> comm.c:(.text+0x2d3): undefined reference to `ompi_mpi_double'
> comm.c:(.text+0x2e3): undefined reference to `ompi_mpi_op_min'
> comm.c:(.text+0x2f3): undefined reference to `ompi_mpi_op_sum'
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(comm.o): In 
> function `gslibcomm_scan':
> comm.c:(.text+0x441): undefined reference to `ompi_mpi_unsigned_char'
> comm.c:(.text+0x468): undefined reference to `ompi_mpi_unsigned_char'
> comm.c:(.text+0x4ed): undefined reference to `ompi_mpi_unsigned_char'
> comm.c:(.text+0x51b): undefined reference to `ompi_mpi_unsigned_char'
> comm.c:(.text+0x56b): undefined reference to `ompi_mpi_unsigned_char'
> /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
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(fcrystal.o): In 
> function `crystal_setup_':
> fcrystal.c:(.text+0x59): undefined reference to `MPI_Comm_f2c'
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(fcrs.o): In 
> function `crs_setup_':
> fcrs.c:(.text+0x3e): undefined reference to `MPI_Comm_f2c'
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(findpts.o): In 
> function `comm_init_check_.constprop.8':
> findpts.c:(.text+0x186): undefined reference to `MPI_Comm_f2c'
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(xxt.o): In 
> function `sum':
> xxt.c:(.text+0x154): undefined reference to `ompi_mpi_unsigned_char'
> xxt.c:(.text+0x1c8): undefined reference to `ompi_mpi_unsigned_char'
> xxt.c:(.text+0x21c): undefined reference to `ompi_mpi_unsigned_char'
> /home/itp/ryzhenkov/Nek5000/3rd_party/gslib/src/libgs.a(xxt.o): In 
> function `apply_QQt':
> xxt.c:(.text+0x313): undefined reference to `ompi_mpi_unsigned_char'
> xxt.c:(.text+0x3c8): undefined reference to `ompi_mpi_unsigned_char'
> /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.
> 
> It looks like
> 
> 
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
> 


More information about the Nek5000-users mailing list