[MITgcm-support] link errors during compiling

Martin Losch Martin.Losch at awi.de
Thu Feb 19 12:38:36 EST 2015


Hi,

this:

> undefined reference to `mpi_wait_’

means that the routine mpi_wait is not found at the link step. This (and all other routines starting with mpi_) is a (guess what) MPI routine, so your errror messages mean, that the path to the MPI libraries is wrong or missing. Make sure that you can compile simple mpi programs with the compiler flags and libraries that you are using with the MITgcm.

Martin



> On 19 Feb 2015, at 11:53, Anthony Coletti <ajcolett at geo.umass.edu> wrote:
> 
> Hi all,
> 
> Does anyone have an idea of what could cause these errors?  I have never seen them before.
> 
> exch2_r41_cube_ad.o: In function `exch2_r41_cube_ad_':
> exch2_r41_cube_ad.f:(.text+0xc1e): undefined reference to `mpi_wait_'
> exch2_r41_cube.o: In function `exch2_r41_cube_':
> exch2_r41_cube.f:(.text+0xc17): undefined reference to `mpi_wait_'
> exch2_r42_cube_ad.o: In function `exch2_r42_cube_ad_':
> exch2_r42_cube_ad.f:(.text+0xf09): undefined reference to `mpi_wait_'
> exch2_r42_cube_ad.f:(.text+0xf55): undefined reference to `mpi_wait_'
> exch2_r42_cube.o: In function `exch2_r42_cube_':
> exch2_r42_cube.f:(.text+0xf0b): undefined reference to `mpi_wait_'
> exch2_r42_cube.o:exch2_r42_cube.f:(.text+0xf57): more undefined references to `mpi_wait_' follow
> exch2_recv_r41.o: In function `exch2_recv_r41_':
> exch2_recv_r41.f:(.text+0x7c): undefined reference to `mpi_recv_'
> exch2_recv_r42.o: In function `exch2_recv_r42_':
> exch2_recv_r42.f:(.text+0xa2): undefined reference to `mpi_recv_'
> exch2_recv_r42.f:(.text+0xcc): undefined reference to `mpi_recv_'
> exch2_recv_r81.o: In function `exch2_recv_r81_':
> exch2_recv_r81.f:(.text+0x7c): undefined reference to `mpi_recv_'
> exch2_recv_r82.o: In function `exch2_recv_r82_':
> exch2_recv_r82.f:(.text+0xa2): undefined reference to `mpi_recv_'
> exch2_recv_r82.o:exch2_recv_r82.f:(.text+0xcc): more undefined references to `mpi_recv_' follow
> exch2_rl1_cube_ad.o: In function `exch2_rl1_cube_ad_':
> exch2_rl1_cube_ad.f:(.text+0xc1e): undefined reference to `mpi_wait_'
> exch2_rl1_cube.o: In function `exch2_rl1_cube_':
> exch2_rl1_cube.f:(.text+0xc17): undefined reference to `mpi_wait_'
> exch2_rl2_cube_ad.o: In function `exch2_rl2_cube_ad_':
> exch2_rl2_cube_ad.f:(.text+0xf09): undefined reference to `mpi_wait_'
> exch2_rl2_cube_ad.f:(.text+0xf55): undefined reference to `mpi_wait_'
> exch2_rl2_cube.o: In function `exch2_rl2_cube_':
> exch2_rl2_cube.f:(.text+0xf0b): undefined reference to `mpi_wait_'
> exch2_rl2_cube.o:exch2_rl2_cube.f:(.text+0xf57): more undefined references to `mpi_wait_' follow
> exch2_send_r41.o: In function `exch2_send_r41_':
> exch2_send_r41.f:(.text+0x88): undefined reference to `mpi_isend_'
> exch2_send_r42.o: In function `exch2_send_r42_':
> exch2_send_r42.f:(.text+0xa0): undefined reference to `mpi_isend_'
> exch2_send_r42.f:(.text+0xcb): undefined reference to `mpi_isend_'
> exch2_send_r81.o: In function `exch2_send_r81_':
> exch2_send_r81.f:(.text+0x88): undefined reference to `mpi_isend_'
> exch2_send_r82.o: In function `exch2_send_r82_':
> exch2_send_r82.f:(.text+0xa0): undefined reference to `mpi_isend_'
> exch2_send_r82.o:exch2_send_r82.f:(.text+0xcb): more undefined references to `mpi_isend_' follow
> w2_cumulsum_z_tile.o: In function `w2_cumulsum_z_tile_rl_':
> w2_cumulsum_z_tile.f:(.text+0x84f): undefined reference to `mpi_send_'
> w2_cumulsum_z_tile.f:(.text+0x885): undefined reference to `mpi_recv_'
> w2_cumulsum_z_tile.f:(.text+0x16af): undefined reference to `mpi_send_'
> w2_cumulsum_z_tile.f:(.text+0x1b6b): undefined reference to `mpi_recv_'
> w2_cumulsum_z_tile.f:(.text+0x1b9e): undefined reference to `mpi_send_'
> w2_cumulsum_z_tile.f:(.text+0x1bd0): undefined reference to `mpi_recv_'
> exf_interp_read.o: In function `exf_interp_read_':
> exf_interp_read.f:(.text+0x727): undefined reference to `mpi_bcast_'
> exf_interp_read.f:(.text+0xd23): undefined reference to `mpi_bcast_'
> all_proc_die.o: In function `all_proc_die_':
> all_proc_die.f:(.text+0x12c): undefined reference to `mpi_finalize_'
> eeboot_minimal.o: In function `eeboot_minimal_':
> eeboot_minimal.f:(.text+0xc4): undefined reference to `mpi_init_'
> eeboot_minimal.f:(.text+0xf0): undefined reference to `mpi_comm_rank_'
> eeboot_minimal.f:(.text+0x3ee): undefined reference to `mpi_barrier_'
> eeboot_minimal.f:(.text+0x412): undefined reference to `mpi_comm_size_'
> eedie.o: In function `eedie_':
> eedie.f:(.text+0x21a): undefined reference to `mpi_finalize_'
> exch_r4_recv_get_x.o: In function `exch_r4_recv_get_x_':
> exch_r4_recv_get_x.f:(.text+0x3228): undefined reference to `mpi_recv_'
> exch_r4_recv_get_x.f:(.text+0x32b6): undefined reference to `mpi_recv_'
> exch_r4_recv_get_x.f:(.text+0x3464): undefined reference to `mpi_recv_'
> exch_r4_recv_get_x.f:(.text+0x3508): undefined reference to `mpi_recv_'
> exch_r4_recv_get_x.f:(.text+0x3597): undefined reference to `mpi_recv_'
> exch_r4_recv_get_x.o:exch_r4_recv_get_x.f:(.text+0x3629): more undefined references to `mpi_recv_' follow
> exch_r4_recv_get_x.o: In function `exch_r4_recv_get_x_':
> exch_r4_recv_get_x.f:(.text+0x367c): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_x.f:(.text+0x36b6): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_x.f:(.text+0x36ed): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_x.f:(.text+0x3722): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_x.f:(.text+0x3759): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_x.o:exch_r4_recv_get_x.f:(.text+0x3790): more undefined references to `mpi_waitall_' follow
> exch_r4_recv_get_y.o: In function `exch_r4_recv_get_y_':
> exch_r4_recv_get_y.f:(.text+0x313e): undefined reference to `mpi_recv_'
> exch_r4_recv_get_y.f:(.text+0x31ce): undefined reference to `mpi_recv_'
> exch_r4_recv_get_y.f:(.text+0x33c4): undefined reference to `mpi_recv_'
> exch_r4_recv_get_y.f:(.text+0x3468): undefined reference to `mpi_recv_'
> exch_r4_recv_get_y.f:(.text+0x350c): undefined reference to `mpi_recv_'
> exch_r4_recv_get_y.o:exch_r4_recv_get_y.f:(.text+0x35a1): more undefined references to `mpi_recv_' follow
> exch_r4_recv_get_y.o: In function `exch_r4_recv_get_y_':
> exch_r4_recv_get_y.f:(.text+0x3618): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_y.f:(.text+0x3652): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_y.f:(.text+0x3689): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_y.f:(.text+0x36bf): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_y.f:(.text+0x36f7): undefined reference to `mpi_waitall_'
> exch_r4_recv_get_y.o:exch_r4_recv_get_y.f:(.text+0x372f): more undefined references to `mpi_waitall_' follow
> exch_r4_send_put_x.o: In function `exch_r4_send_put_x_':
> exch_r4_send_put_x.f:(.text+0x22cd): undefined reference to `mpi_isend_'
> exch_r4_send_put_x.f:(.text+0x236c): undefined reference to `mpi_isend_'
> exch_r4_send_put_y.o: In function `exch_r4_send_put_y_':
> exch_r4_send_put_y.f:(.text+0x2a90): undefined reference to `mpi_isend_'
> exch_r4_send_put_y.f:(.text+0x2b2f): undefined reference to `mpi_isend_'
> exch_r8_recv_get_x.o: In function `exch_r8_recv_get_x_':
> exch_r8_recv_get_x.f:(.text+0x2c7f): undefined reference to `mpi_recv_'
> exch_r8_recv_get_x.f:(.text+0x2d13): undefined reference to `mpi_recv_'
> exch_r8_recv_get_x.f:(.text+0x2ebf): undefined reference to `mpi_recv_'
> exch_r8_recv_get_x.f:(.text+0x2f65): undefined reference to `mpi_recv_'
> exch_r8_recv_get_x.f:(.text+0x2ff6): undefined reference to `mpi_recv_'
> exch_r8_recv_get_x.o:exch_r8_recv_get_x.f:(.text+0x3089): more undefined references to `mpi_recv_' follow
> exch_r8_recv_get_x.o: In function `exch_r8_recv_get_x_':
> exch_r8_recv_get_x.f:(.text+0x30dc): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_x.f:(.text+0x3114): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_x.f:(.text+0x3149): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_x.f:(.text+0x3180): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_x.f:(.text+0x31b8): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_x.o:exch_r8_recv_get_x.f:(.text+0x31ef): more undefined references to `mpi_waitall_' follow
> exch_r8_recv_get_y.o: In function `exch_r8_recv_get_y_':
> exch_r8_recv_get_y.f:(.text+0x2d17): undefined reference to `mpi_recv_'
> exch_r8_recv_get_y.f:(.text+0x2da8): undefined reference to `mpi_recv_'
> exch_r8_recv_get_y.f:(.text+0x2f9c): undefined reference to `mpi_recv_'
> exch_r8_recv_get_y.f:(.text+0x3041): undefined reference to `mpi_recv_'
> exch_r8_recv_get_y.f:(.text+0x30e9): undefined reference to `mpi_recv_'
> exch_r8_recv_get_y.o:exch_r8_recv_get_y.f:(.text+0x317c): more undefined references to `mpi_recv_' follow
> exch_r8_recv_get_y.o: In function `exch_r8_recv_get_y_':
> exch_r8_recv_get_y.f:(.text+0x31ea): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_y.f:(.text+0x3223): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_y.f:(.text+0x3259): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_y.f:(.text+0x3290): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_y.f:(.text+0x32c7): undefined reference to `mpi_waitall_'
> exch_r8_recv_get_y.o:exch_r8_recv_get_y.f:(.text+0x32fe): more undefined references to `mpi_waitall_' follow
> exch_r8_send_put_x.o: In function `exch_r8_send_put_x_':
> exch_r8_send_put_x.f:(.text+0x1f53): undefined reference to `mpi_isend_'
> exch_r8_send_put_x.f:(.text+0x1ff2): undefined reference to `mpi_isend_'
> exch_r8_send_put_y.o: In function `exch_r8_send_put_y_':
> exch_r8_send_put_y.f:(.text+0x27ae): undefined reference to `mpi_isend_'
> exch_r8_send_put_y.f:(.text+0x284d): undefined reference to `mpi_isend_'
> exch_rl_recv_get_x.o: In function `exch_rl_recv_get_x_':
> exch_rl_recv_get_x.f:(.text+0x2c7f): undefined reference to `mpi_recv_'
> exch_rl_recv_get_x.f:(.text+0x2d13): undefined reference to `mpi_recv_'
> exch_rl_recv_get_x.f:(.text+0x2ebf): undefined reference to `mpi_recv_'
> exch_rl_recv_get_x.f:(.text+0x2f65): undefined reference to `mpi_recv_'
> exch_rl_recv_get_x.f:(.text+0x2ff6): undefined reference to `mpi_recv_'
> exch_rl_recv_get_x.o:exch_rl_recv_get_x.f:(.text+0x3089): more undefined references to `mpi_recv_' follow
> exch_rl_recv_get_x.o: In function `exch_rl_recv_get_x_':
> exch_rl_recv_get_x.f:(.text+0x30dc): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_x.f:(.text+0x3114): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_x.f:(.text+0x3149): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_x.f:(.text+0x3180): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_x.f:(.text+0x31b8): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_x.o:exch_rl_recv_get_x.f:(.text+0x31ef): more undefined references to `mpi_waitall_' follow
> exch_rl_recv_get_y.o: In function `exch_rl_recv_get_y_':
> exch_rl_recv_get_y.f:(.text+0x2d17): undefined reference to `mpi_recv_'
> exch_rl_recv_get_y.f:(.text+0x2da8): undefined reference to `mpi_recv_'
> exch_rl_recv_get_y.f:(.text+0x2f9c): undefined reference to `mpi_recv_'
> exch_rl_recv_get_y.f:(.text+0x3041): undefined reference to `mpi_recv_'
> exch_rl_recv_get_y.f:(.text+0x30e9): undefined reference to `mpi_recv_'
> exch_rl_recv_get_y.o:exch_rl_recv_get_y.f:(.text+0x317c): more undefined references to `mpi_recv_' follow
> exch_rl_recv_get_y.o: In function `exch_rl_recv_get_y_':
> exch_rl_recv_get_y.f:(.text+0x31ea): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_y.f:(.text+0x3223): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_y.f:(.text+0x3259): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_y.f:(.text+0x3290): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_y.f:(.text+0x32c7): undefined reference to `mpi_waitall_'
> exch_rl_recv_get_y.o:exch_rl_recv_get_y.f:(.text+0x32fe): more undefined references to `mpi_waitall_' follow
> exch_rl_send_put_x.o: In function `exch_rl_send_put_x_':
> exch_rl_send_put_x.f:(.text+0x1f53): undefined reference to `mpi_isend_'
> exch_rl_send_put_x.f:(.text+0x1ff2): undefined reference to `mpi_isend_'
> exch_rl_send_put_y.o: In function `exch_rl_send_put_y_':
> exch_rl_send_put_y.f:(.text+0x27ae): undefined reference to `mpi_isend_'
> exch_rl_send_put_y.f:(.text+0x284d): undefined reference to `mpi_isend_'
> exch_rs_recv_get_x.o: In function `exch_rs_recv_get_x_':
> exch_rs_recv_get_x.f:(.text+0x2c7f): undefined reference to `mpi_recv_'
> exch_rs_recv_get_x.f:(.text+0x2d13): undefined reference to `mpi_recv_'
> exch_rs_recv_get_x.f:(.text+0x2ebf): undefined reference to `mpi_recv_'
> exch_rs_recv_get_x.f:(.text+0x2f65): undefined reference to `mpi_recv_'
> exch_rs_recv_get_x.f:(.text+0x2ff6): undefined reference to `mpi_recv_'
> exch_rs_recv_get_x.o:exch_rs_recv_get_x.f:(.text+0x3089): more undefined references to `mpi_recv_' follow
> exch_rs_recv_get_x.o: In function `exch_rs_recv_get_x_':
> exch_rs_recv_get_x.f:(.text+0x30dc): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_x.f:(.text+0x3114): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_x.f:(.text+0x3149): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_x.f:(.text+0x3180): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_x.f:(.text+0x31b8): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_x.o:exch_rs_recv_get_x.f:(.text+0x31ef): more undefined references to `mpi_waitall_' follow
> exch_rs_recv_get_y.o: In function `exch_rs_recv_get_y_':
> exch_rs_recv_get_y.f:(.text+0x2d17): undefined reference to `mpi_recv_'
> exch_rs_recv_get_y.f:(.text+0x2da8): undefined reference to `mpi_recv_'
> exch_rs_recv_get_y.f:(.text+0x2f9c): undefined reference to `mpi_recv_'
> exch_rs_recv_get_y.f:(.text+0x3041): undefined reference to `mpi_recv_'
> exch_rs_recv_get_y.f:(.text+0x30e9): undefined reference to `mpi_recv_'
> exch_rs_recv_get_y.o:exch_rs_recv_get_y.f:(.text+0x317c): more undefined references to `mpi_recv_' follow
> exch_rs_recv_get_y.o: In function `exch_rs_recv_get_y_':
> exch_rs_recv_get_y.f:(.text+0x31ea): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_y.f:(.text+0x3223): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_y.f:(.text+0x3259): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_y.f:(.text+0x3290): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_y.f:(.text+0x32c7): undefined reference to `mpi_waitall_'
> exch_rs_recv_get_y.o:exch_rs_recv_get_y.f:(.text+0x32fe): more undefined references to `mpi_waitall_' follow
> exch_rs_send_put_x.o: In function `exch_rs_send_put_x_':
> exch_rs_send_put_x.f:(.text+0x1f53): undefined reference to `mpi_isend_'
> exch_rs_send_put_x.f:(.text+0x1ff2): undefined reference to `mpi_isend_'
> exch_rs_send_put_y.o: In function `exch_rs_send_put_y_':
> exch_rs_send_put_y.f:(.text+0x27ae): undefined reference to `mpi_isend_'
> exch_rs_send_put_y.f:(.text+0x284d): undefined reference to `mpi_isend_'
> gather_2d_r4.o: In function `gather_2d_r4_':
> gather_2d_r4.f:(.text+0x747): undefined reference to `mpi_send_'
> gather_2d_r4.f:(.text+0x77d): undefined reference to `mpi_recv_'
> gather_2d_r4.f:(.text+0xbf9): undefined reference to `mpi_recv_'
> gather_2d_r4.f:(.text+0xc23): undefined reference to `mpi_send_'
> gather_2d_r8.o: In function `gather_2d_r8_':
> gather_2d_r8.f:(.text+0x777): undefined reference to `mpi_send_'
> gather_2d_r8.f:(.text+0x7ad): undefined reference to `mpi_recv_'
> gather_2d_r8.f:(.text+0xc56): undefined reference to `mpi_recv_'
> gather_2d_r8.f:(.text+0xc80): undefined reference to `mpi_send_'
> gather_2d_wh_r4.o: In function `gather_2d_wh_r4_':
> gather_2d_wh_r4.f:(.text+0xcc): undefined reference to `mpi_send_'
> gather_2d_wh_r4.f:(.text+0xf9): undefined reference to `mpi_recv_'
> gather_2d_wh_r4.f:(.text+0x28b): undefined reference to `mpi_recv_'
> gather_2d_wh_r4.f:(.text+0x2b3): undefined reference to `mpi_send_'
> gather_2d_wh_r8.o: In function `gather_2d_wh_r8_':
> gather_2d_wh_r8.f:(.text+0xcc): undefined reference to `mpi_send_'
> gather_2d_wh_r8.f:(.text+0xf9): undefined reference to `mpi_recv_'
> gather_2d_wh_r8.f:(.text+0x2af): undefined reference to `mpi_recv_'
> gather_2d_wh_r8.f:(.text+0x2d7): undefined reference to `mpi_send_'
> gather_vec_r4.o: In function `gather_vec_r4_':
> gather_vec_r4.f:(.text+0xd8): undefined reference to `mpi_send_'
> gather_vec_r4.f:(.text+0x10d): undefined reference to `mpi_recv_'
> gather_vec_r4.f:(.text+0x14b): undefined reference to `mpi_send_'
> gather_vec_r4.f:(.text+0x17b): undefined reference to `mpi_recv_'
> gather_vec_r4.f:(.text+0x1ce): undefined reference to `mpi_recv_'
> gather_vec_r4.f:(.text+0x1f6): undefined reference to `mpi_send_'
> gather_vec_r8.o: In function `gather_vec_r8_':
> gather_vec_r8.f:(.text+0xd8): undefined reference to `mpi_send_'
> gather_vec_r8.f:(.text+0x10d): undefined reference to `mpi_recv_'
> gather_vec_r8.f:(.text+0x14b): undefined reference to `mpi_send_'
> gather_vec_r8.f:(.text+0x17b): undefined reference to `mpi_recv_'
> gather_vec_r8.f:(.text+0x1ce): undefined reference to `mpi_recv_'
> gather_vec_r8.f:(.text+0x1f6): undefined reference to `mpi_send_'
> gather_xz.o: In function `gather_xz_':
> gather_xz.f:(.text+0x197): undefined reference to `mpi_send_'
> gather_xz.f:(.text+0x1c0): undefined reference to `mpi_recv_'
> gather_xz.f:(.text+0x30f): undefined reference to `mpi_recv_'
> gather_xz.f:(.text+0x337): undefined reference to `mpi_send_'
> gather_yz.o: In function `gather_yz_':
> gather_yz.f:(.text+0x197): undefined reference to `mpi_send_'
> gather_yz.f:(.text+0x1c0): undefined reference to `mpi_recv_'
> gather_yz.f:(.text+0x30f): undefined reference to `mpi_recv_'
> gather_yz.f:(.text+0x337): undefined reference to `mpi_send_'
> global_max.o: In function `global_max_r4_':
> global_max.f:(.text+0x123): undefined reference to `mpi_allreduce_'
> global_max.o: In function `global_max_r8_':
> global_max.f:(.text+0x25b): undefined reference to `mpi_allreduce_'
> global_sum.o: In function `global_sum_r4_':
> global_sum.f:(.text+0xe3): undefined reference to `mpi_allreduce_'
> global_sum.o: In function `global_sum_r8_':
> global_sum.f:(.text+0x1d3): undefined reference to `mpi_allreduce_'
> global_sum.o: In function `global_sum_int_':
> global_sum.f:(.text+0x2c4): undefined reference to `mpi_allreduce_'
> global_sum_singlecpu.o: In function `global_sum_singlecpu_rl_':
> global_sum_singlecpu.f:(.text+0x757): undefined reference to `mpi_send_'
> global_sum_singlecpu.f:(.text+0x7c7): undefined reference to `mpi_recv_'
> global_sum_tile.o: In function `global_sum_tile_rl_':
> global_sum_tile.f:(.text+0x26c): undefined reference to `mpi_send_'
> global_sum_tile.f:(.text+0x294): undefined reference to `mpi_recv_'
> global_sum_tile.f:(.text+0x424): undefined reference to `mpi_send_'
> global_sum_tile.f:(.text+0x457): undefined reference to `mpi_send_'
> global_sum_tile.f:(.text+0x489): undefined reference to `mpi_send_'
> global_sum_tile.f:(.text+0x4bb): undefined reference to `mpi_send_'
> global_sum_tile.f:(.text+0x4ee): undefined reference to `mpi_send_'
> global_sum_tile.o:global_sum_tile.f:(.text+0x520): more undefined references to `mpi_send_' follow
> global_sum_tile.o: In function `global_sum_tile_rl_':
> global_sum_tile.f:(.text+0x656): undefined reference to `mpi_recv_'
> global_sum_tile.f:(.text+0x680): undefined reference to `mpi_send_'
> global_sum_tile.f:(.text+0x6a9): undefined reference to `mpi_recv_'
> global_vec_sum.o: In function `global_vec_sum_r4_':
> global_vec_sum.f:(.text+0x41d): undefined reference to `mpi_allreduce_'
> global_vec_sum.o: In function `global_vec_sum_r8_':
> global_vec_sum.f:(.text+0x938): undefined reference to `mpi_allreduce_'
> global_vec_sum.o: In function `global_vec_sum_int_':
> global_vec_sum.f:(.text+0xd5c): undefined reference to `mpi_allreduce_'
> gsum.o: In function `gsum_r8_':
> gsum.f:(.text+0x363): undefined reference to `mpi_allreduce_'
> ini_procs.o: In function `ini_procs_':
> ini_procs.f:(.text+0xe0): undefined reference to `mpi_cart_create_'
> ini_procs.f:(.text+0x10d): undefined reference to `mpi_cart_coords_'
> ini_procs.f:(.text+0x1ba): undefined reference to `mpi_bcast_'
> ini_procs.f:(.text+0x214): undefined reference to `mpi_bcast_'
> ini_procs.f:(.text+0x272): undefined reference to `mpi_bcast_'
> ini_procs.f:(.text+0x2cc): undefined reference to `mpi_bcast_'
> ini_procs.f:(.text+0x32a): undefined reference to `mpi_bcast_'
> ini_procs.o:ini_procs.f:(.text+0x384): more undefined references to `mpi_bcast_' follow
> ini_procs.o: In function `ini_procs_':
> ini_procs.f:(.text+0x45b): undefined reference to `mpi_cart_rank_'
> ini_procs.f:(.text+0x4b9): undefined reference to `mpi_cart_rank_'
> ini_procs.f:(.text+0x51d): undefined reference to `mpi_cart_rank_'
> ini_procs.f:(.text+0x57b): undefined reference to `mpi_cart_rank_'
> ini_procs.f:(.text+0x5ae): undefined reference to `mpi_get_processor_name_'
> ini_procs.f:(.text+0xddf): undefined reference to `mpi_type_vector_'
> ini_procs.f:(.text+0xdfc): undefined reference to `mpi_type_commit_'
> ini_procs.f:(.text+0xe2c): undefined reference to `mpi_type_vector_'
> ini_procs.f:(.text+0xe49): undefined reference to `mpi_type_commit_'
> ini_procs.f:(.text+0xe8e): undefined reference to `mpi_type_hvector_'
> ini_procs.f:(.text+0xea9): undefined reference to `mpi_type_commit_'
> ini_procs.f:(.text+0xedf): undefined reference to `mpi_type_hvector_'
> ini_procs.f:(.text+0xefc): undefined reference to `mpi_type_commit_'
> ini_procs.f:(.text+0xf26): undefined reference to `mpi_type_contiguous_'
> ini_procs.f:(.text+0xf41): undefined reference to `mpi_type_commit_'
> ini_procs.f:(.text+0xf64): undefined reference to `mpi_type_contiguous_'
> ini_procs.f:(.text+0xf81): undefined reference to `mpi_type_commit_'
> ini_procs.f:(.text+0xfc8): undefined reference to `mpi_type_hvector_'
> ini_procs.f:(.text+0xfe5): undefined reference to `mpi_type_commit_'
> ini_procs.f:(.text+0x101b): undefined reference to `mpi_type_hvector_'
> ini_procs.f:(.text+0x1036): undefined reference to `mpi_type_commit_'
> ini_procs.f:(.text+0x1060): undefined reference to `mpi_barrier_'
> scatter_2d_r4.o: In function `scatter_2d_r4_':
> scatter_2d_r4.f:(.text+0x31a): undefined reference to `mpi_recv_'
> scatter_2d_r4.f:(.text+0x9a0): undefined reference to `mpi_send_'
> scatter_2d_r8.o: In function `scatter_2d_r8_':
> scatter_2d_r8.f:(.text+0x31a): undefined reference to `mpi_recv_'
> scatter_2d_r8.f:(.text+0xa0b): undefined reference to `mpi_send_'
> scatter_2d_wh_r4.o: In function `scatter_2d_wh_r4_':
> scatter_2d_wh_r4.f:(.text+0x20d): undefined reference to `mpi_send_'
> scatter_2d_wh_r4.f:(.text+0x3c6): undefined reference to `mpi_recv_'
> scatter_2d_wh_r8.o: In function `scatter_2d_wh_r8_':
> scatter_2d_wh_r8.f:(.text+0x23a): undefined reference to `mpi_send_'
> scatter_2d_wh_r8.f:(.text+0x4c7): undefined reference to `mpi_recv_'
> scatter_vec_r4.o: In function `scatter_vec_r4_':
> scatter_vec_r4.f:(.text+0x98): undefined reference to `mpi_send_'
> scatter_vec_r4.f:(.text+0xd3): undefined reference to `mpi_send_'
> scatter_vec_r4.f:(.text+0x115): undefined reference to `mpi_send_'
> scatter_vec_r4.f:(.text+0x152): undefined reference to `mpi_send_'
> scatter_vec_r4.f:(.text+0x18f): undefined reference to `mpi_send_'
> scatter_vec_r4.f:(.text+0x21c): undefined reference to `mpi_recv_'
> scatter_vec_r8.o: In function `scatter_vec_r8_':
> scatter_vec_r8.f:(.text+0x98): undefined reference to `mpi_send_'
> scatter_vec_r8.f:(.text+0xd3): undefined reference to `mpi_send_'
> scatter_vec_r8.f:(.text+0x115): undefined reference to `mpi_send_'
> scatter_vec_r8.f:(.text+0x152): undefined reference to `mpi_send_'
> scatter_vec_r8.f:(.text+0x18f): undefined reference to `mpi_send_'
> scatter_vec_r8.f:(.text+0x21c): undefined reference to `mpi_recv_'
> scatter_xz.o: In function `scatter_xz_':
> scatter_xz.f:(.text+0x3e0): undefined reference to `mpi_send_'
> scatter_xz.f:(.text+0x42c): undefined reference to `mpi_recv_'
> scatter_yz.o: In function `scatter_yz_':
> scatter_yz.f:(.text+0x3e0): undefined reference to `mpi_send_'
> scatter_yz.f:(.text+0x42c): undefined reference to `mpi_recv_'
> /usr/bin/ld: link errors found, deleting executable `mitgcmuv'
> collect2: error: ld returned 1 exit status
> make[1]: *** [mitgcmuv] Error 1
> 
> 
> Thanks!
> 
> Anthony
> 
> 
> Anthony J. Coletti
> Climate System Research Center
> Department of Geosciences
> Morrill Building
> 611 N. Pleasant Street
> 233 Morrill Science Center
> University of Massachusetts-Amherst
> paleoclimate.org
> Email: ajcolett at geo.umass.edu
> http://blogs.umass.edu/ajcolett/
> http://necsc.umass.edu/people/anthony-coletti
> 
> “For me, I am driven by two main philosophies: know more today about the world than I knew yesterday and lessen the  suffering of others. You'd be surprised how far that gets you.” ― Neil deGrasse Tyson
> 
> 
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list