Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

gen_domain installation error (CESM 2.0)

Hello, I am following the INSTALL instruction in the gen_domain_files folder and building it on Cheyenne but got a list of errors that seems to be related to the netcdf-mpi. Any suggestions? xiyang@cheyenne3:~/cesm2_0_0/cime/tools/mapping/gen_domain_files/src> (. ./.env_mach_specific.sh ; gmake)ifort  -o ../gen_domain gen_domain.o   -mkl=cluster  /glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libnetcdf.a(libdispatch_la-dfile.o): In function `NC_open':dfile.c:(.text+0x6aa): undefined reference to `MPI_File_open'dfile.c:(.text+0x6d1): undefined reference to `MPI_File_read'dfile.c:(.text+0x6e2): undefined reference to `MPI_File_close'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libnetcdf.a(libnetcdf4_la-nc4file.o): In function `NC4_create':nc4file.c:(.text+0xd9d): undefined reference to `MPI_Comm_free'nc4file.c:(.text+0xdb0): undefined reference to `MPI_Info_free'nc4file.c:(.text+0xeaa): undefined reference to `MPI_Comm_free'nc4file.c:(.text+0xebc): undefined reference to `MPI_Info_free'nc4file.c:(.text+0xef6): undefined reference to `MPI_Comm_dup'nc4file.c:(.text+0xf2d): undefined reference to `MPI_Info_dup'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libnetcdf.a(libnetcdf4_la-nc4file.o): In function `NC4_open':nc4file.c:(.text+0x41a9): undefined reference to `MPI_File_open'nc4file.c:(.text+0x41d3): undefined reference to `MPI_File_read'nc4file.c:(.text+0x41e1): undefined reference to `MPI_File_close'nc4file.c:(.text+0x4391): undefined reference to `MPI_Comm_free'nc4file.c:(.text+0x43a1): undefined reference to `MPI_Info_free'nc4file.c:(.text+0x44bc): undefined reference to `MPI_Comm_free'nc4file.c:(.text+0x44c9): undefined reference to `MPI_Info_free'nc4file.c:(.text+0x4552): undefined reference to `MPI_Comm_dup'nc4file.c:(.text+0x4583): undefined reference to `MPI_Info_dup'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libnetcdf.a(libnetcdf4_la-nc4file.o): In function `NC4_close':nc4file.c:(.text+0x4caf): undefined reference to `MPI_Comm_free'nc4file.c:(.text+0x4cbf): undefined reference to `MPI_Info_free'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libnetcdf.a(libnetcdf4_la-nc4file.o): In function `NC4_abort':nc4file.c:(.text+0x500b): undefined reference to `MPI_Comm_free'nc4file.c:(.text+0x501a): undefined reference to `MPI_Info_free'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libnetcdf.a(libnetcdf4_la-nc4hdf.o): In function `nc4_put_vara':nc4hdf.c:(.text+0xb68): undefined reference to `mpi_sgi_inplace'nc4hdf.c:(.text+0xb71): undefined reference to `MPI_Allreduce'nc4hdf.c:(.text+0xc49): undefined reference to `mpi_sgi_inplace'nc4hdf.c:(.text+0xc56): undefined reference to `MPI_Allreduce'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5.o): In function `H5_init_library':H5.c:(.text+0x1cf3): undefined reference to `MPI_Initialized'H5.c:(.text+0x1cfd): undefined reference to `MPI_Finalized'H5.c:(.text+0x1d27): undefined reference to `MPI_NULL_COPY_FN'H5.c:(.text+0x1d2c): undefined reference to `MPI_Comm_create_keyval'H5.c:(.text+0x1d43): undefined reference to `MPI_Comm_set_attr'H5.c:(.text+0x1d54): undefined reference to `MPI_Comm_free_keyval'H5.c:(.text+0x1d74): undefined reference to `MPI_Error_string'H5.c:(.text+0x21e5): undefined reference to `MPI_Error_string'H5.c:(.text+0x229a): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5AC.o): In function `H5AC_rsp__p0_only__flush_to_min_clean':H5AC.c:(.text+0x2b0f): undefined reference to `MPI_Barrier'H5AC.c:(.text+0x2fff): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5AC.o): In function `H5AC_receive_and_apply_clean_list':H5AC.c:(.text+0x3453): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x34b4): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x3614): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x376c): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5AC.o): In function `H5AC_broadcast_clean_list':H5AC.c:(.text+0x3b6a): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x3cae): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x3d16): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x3f64): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5AC.o): In function `H5AC_rsp__p0_only__flush':H5AC.c:(.text+0x433e): undefined reference to `MPI_Barrier'H5AC.c:(.text+0x43ca): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x450f): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x4590): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x45f1): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x46ba): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x497d): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x4ad8): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x4c6b): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x56dd): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5AC.o): In function `H5AC_propagate_and_apply_candidate_list':H5AC.c:(.text+0x62b1): undefined reference to `MPI_Barrier'H5AC.c:(.text+0x6312): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x635f): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x63c8): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x6433): undefined reference to `MPI_Bcast'H5AC.c:(.text+0x64e1): undefined reference to `MPI_Barrier'H5AC.c:(.text+0x6613): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x678d): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x6c07): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x7156): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x725d): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5AC.o):H5AC.c:(.text+0x7629): more undefined references to `MPI_Error_string' follow/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5AC.o): In function `H5AC_rsp__dist_md_write__flush':H5AC.c:(.text+0x7ffa): undefined reference to `MPI_Barrier'H5AC.c:(.text+0x8057): undefined reference to `MPI_Barrier'H5AC.c:(.text+0x8579): undefined reference to `MPI_Error_string'H5AC.c:(.text+0x867d): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dchunk.o): In function `H5D__chunk_allocate':H5Dchunk.c:(.text+0x4ab7): undefined reference to `MPI_Type_contiguous'H5Dchunk.c:(.text+0x4ad0): undefined reference to `MPI_Type_contiguous'H5Dchunk.c:(.text+0x4af2): undefined reference to `MPI_Type_create_hindexed'H5Dchunk.c:(.text+0x4b12): undefined reference to `MPI_Type_create_hvector'H5Dchunk.c:(.text+0x4b24): undefined reference to `MPI_Type_commit'H5Dchunk.c:(.text+0x4b36): undefined reference to `MPI_Type_commit'H5Dchunk.c:(.text+0x4bf2): undefined reference to `MPI_Barrier'H5Dchunk.c:(.text+0x4c1c): undefined reference to `MPI_Type_free'H5Dchunk.c:(.text+0x4c2e): undefined reference to `MPI_Type_free'H5Dchunk.c:(.text+0x4eeb): undefined reference to `MPI_Error_string'H5Dchunk.c:(.text+0x4f9c): undefined reference to `MPI_Error_string'H5Dchunk.c:(.text+0x50a2): undefined reference to `MPI_Error_string'H5Dchunk.c:(.text+0x5153): undefined reference to `MPI_Error_string'H5Dchunk.c:(.text+0x525b): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dchunk.o):H5Dchunk.c:(.text+0x54a2): more undefined references to `MPI_Error_string' follow/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dcontig.o): In function `H5D__contig_fill':H5Dcontig.c:(.text+0x547): undefined reference to `MPI_Barrier'H5Dcontig.c:(.text+0x784): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__mpio_opt_possible':H5Dmpio.c:(.text+0x134): undefined reference to `MPI_Allreduce'H5Dmpio.c:(.text+0x24e): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__contig_collective_read':H5Dmpio.c:(.text+0x5ae): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0x5c7): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0x85a): undefined reference to `MPI_Error_string'H5Dmpio.c:(.text+0x907): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__contig_collective_write':H5Dmpio.c:(.text+0xb9e): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0xbb7): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0xe4a): undefined reference to `MPI_Error_string'H5Dmpio.c:(.text+0xef7): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__multi_chunk_collective_io':H5Dmpio.c:(.text+0x1295): undefined reference to `MPI_Gather'H5Dmpio.c:(.text+0x12ce): undefined reference to `MPI_Bcast'H5Dmpio.c:(.text+0x1b40): undefined reference to `MPI_Error_string'H5Dmpio.c:(.text+0x2201): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__inter_collective_io':H5Dmpio.c:(.text+0x250d): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0x2526): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0x2691): undefined reference to `MPI_Error_string'H5Dmpio.c:(.text+0x2744): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__link_chunk_collective_io':H5Dmpio.c:(.text+0x2c15): undefined reference to `MPI_Bcast'H5Dmpio.c:(.text+0x2f38): undefined reference to `MPI_Type_create_struct'H5Dmpio.c:(.text+0x2f4d): undefined reference to `MPI_Type_commit'H5Dmpio.c:(.text+0x2f73): undefined reference to `MPI_Type_create_struct'H5Dmpio.c:(.text+0x2f88): undefined reference to `MPI_Type_commit'H5Dmpio.c:(.text+0x3010): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0x3029): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0x3043): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0x305d): undefined reference to `MPI_Type_free'H5Dmpio.c:(.text+0x30e2): undefined reference to `MPI_Type_free'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o):H5Dmpio.c:(.text+0x310f): more undefined references to `MPI_Type_free' follow/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__link_chunk_collective_io':H5Dmpio.c:(.text+0x3580): undefined reference to `MPI_Error_string'H5Dmpio.c:(.text+0x36ce): undefined reference to `MPI_Error_string'H5Dmpio.c:(.text+0x3797): undefined reference to `MPI_Error_string'H5Dmpio.c:(.text+0x3861): undefined reference to `MPI_Error_string'H5Dmpio.c:(.text+0x3930): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o):H5Dmpio.c:(.text+0x39ff): more undefined references to `MPI_Error_string' follow/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__link_chunk_collective_io':H5Dmpio.c:(.text+0x47a2): undefined reference to `MPI_Allreduce'H5Dmpio.c:(.text+0x47c2): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__chunk_collective_read':H5Dmpio.c:(.text+0x4a01): undefined reference to `MPI_Allreduce'H5Dmpio.c:(.text+0x4c1d): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Dmpio.o): In function `H5D__chunk_collective_write':H5Dmpio.c:(.text+0x4df1): undefined reference to `MPI_Allreduce'H5Dmpio.c:(.text+0x500d): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Eint.o): In function `H5E_walk1_cb':H5Eint.c:(.text+0x190): undefined reference to `MPI_Initialized'H5Eint.c:(.text+0x19a): undefined reference to `MPI_Finalized'H5Eint.c:(.text+0x1b6): undefined reference to `MPI_Comm_rank'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Eint.o): In function `H5E_walk2_cb':H5Eint.c:(.text+0x3e2): undefined reference to `MPI_Initialized'H5Eint.c:(.text+0x3ec): undefined reference to `MPI_Finalized'H5Eint.c:(.text+0x408): undefined reference to `MPI_Comm_rank'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpi.o): In function `H5FD_mpi_comm_info_dup':H5FDmpi.c:(.text+0x173): undefined reference to `MPI_Comm_dup'H5FDmpi.c:(.text+0x197): undefined reference to `MPI_Info_dup'H5FDmpi.c:(.text+0x209): undefined reference to `MPI_Comm_free'H5FDmpi.c:(.text+0x21a): undefined reference to `MPI_Info_free'H5FDmpi.c:(.text+0x23c): undefined reference to `MPI_Error_string'H5FDmpi.c:(.text+0x2e9): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpi.o): In function `H5FD_mpi_comm_info_free':H5FDmpi.c:(.text+0x3eb): undefined reference to `MPI_Comm_free'H5FDmpi.c:(.text+0x3f9): undefined reference to `MPI_Info_free'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o): In function `H5Pget_fapl_mpio':H5FDmpio.c:(.text+0x35f): undefined reference to `MPI_Comm_free'H5FDmpio.c:(.text+0x390): undefined reference to `MPI_Comm_dup'H5FDmpio.c:(.text+0x3ba): undefined reference to `MPI_Info_dup'H5FDmpio.c:(.text+0x3f6): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x4a3): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o): In function `H5FD_set_mpio_atomicity':H5FDmpio.c:(.text+0x1558): undefined reference to `MPI_File_set_atomicity'H5FDmpio.c:(.text+0x157e): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o): In function `H5FD_get_mpio_atomicity':H5FDmpio.c:(.text+0x1639): undefined reference to `MPI_File_get_atomicity'H5FDmpio.c:(.text+0x1679): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o): In function `H5FD_mpio_open':H5FDmpio.c:(.text+0x17d8): undefined reference to `MPI_File_open'H5FDmpio.c:(.text+0x17ee): undefined reference to `MPI_Comm_rank'H5FDmpio.c:(.text+0x1804): undefined reference to `MPI_Comm_size'H5FDmpio.c:(.text+0x1859): undefined reference to `MPI_File_get_size'H5FDmpio.c:(.text+0x187b): undefined reference to `MPI_Bcast'H5FDmpio.c:(.text+0x189d): undefined reference to `MPI_File_set_size'H5FDmpio.c:(.text+0x18ae): undefined reference to `MPI_Barrier'H5FDmpio.c:(.text+0x18f0): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x198a): undefined reference to `MPI_File_close'H5FDmpio.c:(.text+0x199d): undefined reference to `MPI_Comm_free'H5FDmpio.c:(.text+0x19ae): undefined reference to `MPI_Info_free'H5FDmpio.c:(.text+0x19dc): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x1a85): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x1b2e): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x1c25): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x1cce): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o):H5FDmpio.c:(.text+0x1d77): more undefined references to `MPI_Error_string' follow/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o): In function `H5FD_mpio_close':H5FDmpio.c:(.text+0x1f41): undefined reference to `MPI_File_close'H5FDmpio.c:(.text+0x1f7c): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o): In function `H5FD_mpio_read':H5FDmpio.c:(.text+0x213e): undefined reference to `MPI_File_read_at'H5FDmpio.c:(.text+0x215a): undefined reference to `MPI_Get_elements'H5FDmpio.c:(.text+0x2170): undefined reference to `MPI_Type_size'H5FDmpio.c:(.text+0x2265): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x2312): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x23bf): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x24e7): undefined reference to `MPI_File_set_view'H5FDmpio.c:(.text+0x2538): undefined reference to `MPI_File_read_at_all'H5FDmpio.c:(.text+0x255f): undefined reference to `MPI_File_read_at'H5FDmpio.c:(.text+0x2584): undefined reference to `MPI_File_set_view'H5FDmpio.c:(.text+0x25a4): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x2651): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x26fe): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x27f2): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o): In function `H5FD_mpio_write':H5FDmpio.c:(.text+0x2a6e): undefined reference to `MPI_File_write_at'H5FDmpio.c:(.text+0x2a8a): undefined reference to `MPI_Get_elements'H5FDmpio.c:(.text+0x2aa0): undefined reference to `MPI_Type_size'H5FDmpio.c:(.text+0x2b7d): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x2c2a): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x2cd7): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x2dff): undefined reference to `MPI_File_set_view'H5FDmpio.c:(.text+0x2e50): undefined reference to `MPI_File_write_at_all'H5FDmpio.c:(.text+0x2e77): undefined reference to `MPI_File_write_at'H5FDmpio.c:(.text+0x2e9c): undefined reference to `MPI_File_set_view'H5FDmpio.c:(.text+0x2ebc): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x2f69): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x3016): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x310a): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o): In function `H5FD_mpio_flush':H5FDmpio.c:(.text+0x3322): undefined reference to `MPI_File_sync'H5FDmpio.c:(.text+0x3348): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5FDmpio.o): In function `H5FD_mpio_truncate':H5FDmpio.c:(.text+0x3424): undefined reference to `MPI_File_set_size'H5FDmpio.c:(.text+0x3435): undefined reference to `MPI_Barrier'H5FDmpio.c:(.text+0x3467): undefined reference to `MPI_Error_string'H5FDmpio.c:(.text+0x351a): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Smpio.o): In function `H5S_obtain_datatype':H5Smpio.c:(.text+0xc0): undefined reference to `MPI_Type_create_hindexed'H5Smpio.c:(.text+0x17d): undefined reference to `MPI_Type_create_hvector'H5Smpio.c:(.text+0x18f): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x1c4): undefined reference to `MPI_Type_create_struct'H5Smpio.c:(.text+0x1ef): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x260): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x310): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x330): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x4c4): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x592): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x5d2): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x687): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x733): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x7d6): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x7ef): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Smpio.o): In function `H5S_mpio_space_type':H5Smpio.c:(.text+0xe49): undefined reference to `MPI_Type_contiguous'H5Smpio.c:(.text+0xf6b): undefined reference to `MPI_Type_create_hindexed'H5Smpio.c:(.text+0xf8b): undefined reference to `MPI_Type_commit'H5Smpio.c:(.text+0xfb0): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x1275): undefined reference to `MPI_Type_contiguous'H5Smpio.c:(.text+0x1352): undefined reference to `MPI_Type_create_hindexed'H5Smpio.c:(.text+0x1362): undefined reference to `MPI_Type_commit'H5Smpio.c:(.text+0x1374): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x141b): undefined reference to `MPI_Type_contiguous'H5Smpio.c:(.text+0x147f): undefined reference to `MPI_Type_commit'H5Smpio.c:(.text+0x14aa): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x163c): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x172c): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x1886): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x1af9): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x1baf): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Smpio.o):H5Smpio.c:(.text+0x1cc0): more undefined references to `MPI_Error_string' follow/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Smpio.o): In function `H5S_mpio_space_type':H5Smpio.c:(.text+0x246c): undefined reference to `MPI_Type_contiguous'H5Smpio.c:(.text+0x24ce): undefined reference to `MPI_Type_vector'H5Smpio.c:(.text+0x24dd): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x251e): undefined reference to `MPI_Type_get_extent'H5Smpio.c:(.text+0x2561): undefined reference to `MPI_Type_create_hindexed'H5Smpio.c:(.text+0x2570): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x258f): undefined reference to `MPI_Type_create_resized'H5Smpio.c:(.text+0x259e): undefined reference to `MPI_Type_free'H5Smpio.c:(.text+0x25dd): undefined reference to `MPI_Type_commit'H5Smpio.c:(.text+0x26d1): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x2788): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x283f): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x2917): undefined reference to `MPI_Error_string'H5Smpio.c:(.text+0x29ce): undefined reference to `MPI_Error_string'/glade/u/apps/ch/opt/netcdf-mpi/4.5.0/mpt/2.16/intel/17.0.1/lib/libhdf5.a(H5Smpio.o):H5Smpio.c:(.text+0x2a85): more undefined references to `MPI_Error_string' follow/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Waitall'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Abort'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Waitany'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Wtime'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Op_free'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Comm_create'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Group_incl'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Attr_get'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Init'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Alltoallv'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Cart_create'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Scatterv'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Iprobe'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Testall'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Allgatherv'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Comm_group'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Cart_sub'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Comm_split'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Send'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Rsend'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Irecv'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Recv'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Address'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Comm_compare'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Reduce'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Pack'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Gatherv'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Wait'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Allgather'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Op_create'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Pack_size'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Unpack'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Test'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Isend'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Alltoall'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Finalize'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Sendrecv'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Group_free'/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so: undefined reference to `MPI_Type_indexed'Makefile:143: recipe for target '../gen_domain' failedgmake: *** [../gen_domain] Error 1
 

jedwards

CSEG and Liaisons
Staff member
If you followed the INSTALL instructions https://github.com/ESMCI/cime/blob/master/tools/mapping/gen_domain_files/INSTALL you should not be using netcdf-mpi.  
 
Great! Thank you! I did the following "module unload pnetcdf" and it worked. Also I found that if I just type gmake when "pnetcdf" was loaded it built gen_domain too (but not sure if it is complete).
 
Top