world100@gmail_com
New Member
Hello,
I am trying to run clm3 offline on linux cluster with mpi. but I cann't compile it.
configure as following:
[yqian@master offline]$ ./jobscript.csh.qian
compiling clm model
The following Makefile environment is used
ROOTDIR is /home3/yqian/clm3
MODEL_EXEDIR is /home3/yqian/clm3/clm3run
SMP is FALSE
SPMD is TRUE
DEBUG is FALSE
INC_NETCDF is /home3/yqian/local/netcdf/include
LIB_NETCDF is /home3/yqian/local/netcdf/lib
USER_FC is pgf90
INC_MPI is /home/mpich-gm/include
LIB_MPI is /home/mpich-gm/lib
Linux machine name is master
Linux mpirun cmnd is /home/mpich-gm/bin/mpirun
GMAKE ERROR failed: see /home3/yqian/clm3/clm3run/compile_log.clm
Could you give any hints
Thanks
compile_log.clm
......
gmpi_regcache.o(.text+0xf08): undefined reference to `gm_lookaside_alloc'
gmpi_regcache.o(.text+0xf6d): undefined reference to `GM_PAGE_LEN'
gmpi_regcache.o(.text+0xf8a): undefined reference to `gm_hash_insert'
/home/mpich-gm/lib/libmpich.a(gmpi_regcache.o): In function `gmpi_use_interval':
gmpi_regcache.o(.text+0x1017): undefined reference to `GM_PAGE_LEN'
gmpi_regcache.o(.text+0x1059): undefined reference to `gm_hash_find'
gmpi_regcache.o(.text+0x1166): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_regcache.o): In function `gmpi_unuse_interval':
gmpi_regcache.o(.text+0x1219): undefined reference to `GM_PAGE_LEN'
gmpi_regcache.o(.text+0x1247): undefined reference to `gm_hash_find'
gmpi_regcache.o(.text+0x1258): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_regcache.o): In function `gmpi_clear_interval':
gmpi_regcache.o(.text+0x12ae): undefined reference to `GM_PAGE_LEN'
gmpi_regcache.o(.text+0x12f0): undefined reference to `gm_hash_find'
gmpi_regcache.o(.text+0x130a): undefined reference to `gm_hash_remove'
gmpi_regcache.o(.text+0x1367): undefined reference to `gm_lookaside_free'
gmpi_regcache.o(.text+0x1382): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_regcache.o): In function `gmpi_clear_all_intervals':
gmpi_regcache.o(.text+0x13e8): undefined reference to `gm_destroy_hash'
gmpi_regcache.o(.text+0x13f6): undefined reference to `gm_destroy_lookaside'
/home/mpich-gm/lib/libmpich.a(adi2init.o): In function `MPID_Init':
adi2init.o(.text+0xf95): undefined reference to `gm_get_host_name'
/home/mpich-gm/lib/libmpich.a(gmpi_conf.o): In function `gmpi_allocate_port':
gmpi_conf.o(.text+0x9d2): undefined reference to `gm_open'
gmpi_conf.o(.text+0xa82): undefined reference to `gm_open'
/home/mpich-gm/lib/libmpich.a(gmpi_conf.o): In function `gmpi_getconf':
gmpi_conf.o(.text+0xf5a): undefined reference to `gm_receive'
gmpi_conf.o(.text+0xf86): undefined reference to `gm_receive'
gmpi_conf.o(.text+0xfaf): undefined reference to `gm_blocking_receive_no_spin'
gmpi_conf.o(.text+0xfd8): undefined reference to `gm_blocking_receive'
gmpi_conf.o(.text+0xfe5): undefined reference to `gm_receive'
gmpi_conf.o(.text+0xff4): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1142): undefined reference to `gm_get_node_id'
gmpi_conf.o(.text+0x1193): undefined reference to `gm_node_id_to_unique_id'
gmpi_conf.o(.text+0x1251): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x1271): undefined reference to `gm_get_host_name'
gmpi_conf.o(.text+0x12fa): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x13af): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x19fb): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1a27): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1a50): undefined reference to `gm_blocking_receive_no_spin'
gmpi_conf.o(.text+0x1a79): undefined reference to `gm_blocking_receive'
gmpi_conf.o(.text+0x1a86): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1a95): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1bdc): undefined reference to `gm_get_node_id'
gmpi_conf.o(.text+0x1c2d): undefined reference to `gm_node_id_to_unique_id'
gmpi_conf.o(.text+0x1d18): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x1d49): undefined reference to `gm_bcopy'
gmpi_conf.o(.text+0x1f12): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x1f3f): undefined reference to `gm_bcopy'
gmpi_conf.o(.text+0x1f63): undefined reference to `gm_ticks'
gmpi_conf.o(.text+0x1fa9): undefined reference to `gm_ticks'
gmpi_conf.o(.text+0x21f9): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x273b): undefined reference to `gm_get_host_name'
gmpi_conf.o(.text+0x2781): undefined reference to `gm_unique_id_to_node_id'
gmpi_conf.o(.text+0x2829): undefined reference to `gm_crc'
gmpi_conf.o(.text+0x2850): undefined reference to `gm_crc'
gmpi_conf.o(.text+0x2999): undefined reference to `GM_PAGE_LEN'
gmpi_conf.o(.text+0x29b7): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_conf.o): In function `MPID_GetConfigInfo':
gmpi_conf.o(.text+0x2b9a): undefined reference to `gm_receive'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_dma_alloc':
gmpi_priv.o(.text+0xc55): undefined reference to `gm_dma_malloc'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_dma_free':
gmpi_priv.o(.text+0xc85): undefined reference to `gm_dma_free'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_drop_send_packet_callback':
gmpi_priv.o(.text+0xff6): undefined reference to `gm_send_with_callback'
gmpi_priv.o(.text+0x1008): undefined reference to `gm_strerror'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_drop_put_data_callback':
gmpi_priv.o(.text+0x10ea): undefined reference to `gm_directed_send_with_callback'
gmpi_priv.o(.text+0x10fc): undefined reference to `gm_strerror'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_check_send_status':
gmpi_priv.o(.text+0x11fb): undefined reference to `gm_drop_sends'
gmpi_priv.o(.text+0x127c): undefined reference to `gm_send_with_callback'
gmpi_priv.o(.text+0x12dc): undefined reference to `gm_directed_send_with_callback'
gmpi_priv.o(.text+0x132a): undefined reference to `gm_node_id_to_host_name'
gmpi_priv.o(.text+0x137d): undefined reference to `gm_node_id_to_unique_id'
gmpi_priv.o(.text+0x13d6): undefined reference to `gm_strerror'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_flush_fifo':
gmpi_priv.o(.text+0x1910): undefined reference to `gm_send_with_callback'
gmpi_priv.o(.text+0x19c1): undefined reference to `gm_directed_send_with_callback'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_send_packet_fifo':
gmpi_priv.o(.text+0x1bdf): undefined reference to `gm_send_with_callback'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_put_data':
gmpi_priv.o(.text+0x1e03): undefined reference to `gm_directed_send_with_callback'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_packet_recv_event':
gmpi_priv.o(.text+0x1f0c): undefined reference to `gm_node_id_to_unique_id'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_net_lookup':
gmpi_priv.o(.text+0x242c): undefined reference to `gm_receive'
gmpi_priv.o(.text+0x255f): undefined reference to `gm_provide_receive_buffer'
gmpi_priv.o(.text+0x25a0): undefined reference to `gm_unknown'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_init':
gmpi_priv.o(.text+0x26b8): undefined reference to `gm_allow_remote_memory_access'
gmpi_priv.o(.text+0x26d1): undefined reference to `gm_perror'
gmpi_priv.o(.text+0x26fe): undefined reference to `gm_num_send_tokens'
gmpi_priv.o(.text+0x2719): undefined reference to `gm_num_receive_tokens'
gmpi_priv.o(.text+0x272f): undefined reference to `gm_num_receive_tokens'
gmpi_priv.o(.text+0x27ba): undefined reference to `gm_dma_malloc'
gmpi_priv.o(.text+0x27d5): undefined reference to `gm_dma_malloc'
gmpi_priv.o(.text+0x282a): undefined reference to `gm_set_acceptable_sizes'
gmpi_priv.o(.text+0x2843): undefined reference to `gm_perror'
gmpi_priv.o(.text+0x2887): undefined reference to `gm_set_acceptable_sizes'
gmpi_priv.o(.text+0x28a0): undefined reference to `gm_perror'
gmpi_priv.o(.text+0x2927): undefined reference to `gm_provide_receive_buffer_with_tag'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_finish':
gmpi_priv.o(.text+0x2a98): undefined reference to `gm_close'
/home/mpich-gm/lib/libmpich.a(gmpi_chself.o): In function `MPID_CH_Self_isend':
gmpi_chself.o(.text+0xd7f): undefined reference to `gm_bcopy'
/home/mpich-gm/lib/libmpich.a(gmpi_chself.o): In function `MPID_CH_Self_send':
gmpi_chself.o(.text+0xf17): undefined reference to `gm_bcopy'
/home/mpich-gm/lib/libmpich.a(gmpi_smppriv.o): In function `smpi_queue_send':
gmpi_smppriv.o(.text+0xeb0): undefined reference to `gm_lookaside_alloc'
/home/mpich-gm/lib/libmpich.a(gmpi_smppriv.o): In function `MPID_SMP_Check_incoming':
gmpi_smppriv.o(.text+0x1fe2): undefined reference to `gm_lookaside_free'
/home/mpich-gm/lib/libmpich.a(gmpi_smppriv.o): In function `smpi_init':
gmpi_smppriv.o(.text+0x20a4): undefined reference to `gm_create_lookaside'
gmpi_smppriv.o(.text+0x2185): undefined reference to `GM_PAGE_LEN'
gmpi_smppriv.o(.text+0x23dd): undefined reference to `GM_PAGE_LEN'
gmpi_smppriv.o(.text+0x24e5): undefined reference to `GM_PAGE_LEN'
gmpi_smppriv.o(.text+0x26b4): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_smppriv.o): In function `smpi_finish':
gmpi_smppriv.o(.text+0x2774): undefined reference to `GM_PAGE_LEN'
gmpi_smppriv.o(.text+0x27b7): undefined reference to `gm_destroy_lookaside'
gmake: *** [/home3/yqian/clm3/clm3run/clm] Error 2
I am trying to run clm3 offline on linux cluster with mpi. but I cann't compile it.
configure as following:
[yqian@master offline]$ ./jobscript.csh.qian
compiling clm model
The following Makefile environment is used
ROOTDIR is /home3/yqian/clm3
MODEL_EXEDIR is /home3/yqian/clm3/clm3run
SMP is FALSE
SPMD is TRUE
DEBUG is FALSE
INC_NETCDF is /home3/yqian/local/netcdf/include
LIB_NETCDF is /home3/yqian/local/netcdf/lib
USER_FC is pgf90
INC_MPI is /home/mpich-gm/include
LIB_MPI is /home/mpich-gm/lib
Linux machine name is master
Linux mpirun cmnd is /home/mpich-gm/bin/mpirun
GMAKE ERROR failed: see /home3/yqian/clm3/clm3run/compile_log.clm
Could you give any hints
Thanks
compile_log.clm
......
gmpi_regcache.o(.text+0xf08): undefined reference to `gm_lookaside_alloc'
gmpi_regcache.o(.text+0xf6d): undefined reference to `GM_PAGE_LEN'
gmpi_regcache.o(.text+0xf8a): undefined reference to `gm_hash_insert'
/home/mpich-gm/lib/libmpich.a(gmpi_regcache.o): In function `gmpi_use_interval':
gmpi_regcache.o(.text+0x1017): undefined reference to `GM_PAGE_LEN'
gmpi_regcache.o(.text+0x1059): undefined reference to `gm_hash_find'
gmpi_regcache.o(.text+0x1166): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_regcache.o): In function `gmpi_unuse_interval':
gmpi_regcache.o(.text+0x1219): undefined reference to `GM_PAGE_LEN'
gmpi_regcache.o(.text+0x1247): undefined reference to `gm_hash_find'
gmpi_regcache.o(.text+0x1258): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_regcache.o): In function `gmpi_clear_interval':
gmpi_regcache.o(.text+0x12ae): undefined reference to `GM_PAGE_LEN'
gmpi_regcache.o(.text+0x12f0): undefined reference to `gm_hash_find'
gmpi_regcache.o(.text+0x130a): undefined reference to `gm_hash_remove'
gmpi_regcache.o(.text+0x1367): undefined reference to `gm_lookaside_free'
gmpi_regcache.o(.text+0x1382): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_regcache.o): In function `gmpi_clear_all_intervals':
gmpi_regcache.o(.text+0x13e8): undefined reference to `gm_destroy_hash'
gmpi_regcache.o(.text+0x13f6): undefined reference to `gm_destroy_lookaside'
/home/mpich-gm/lib/libmpich.a(adi2init.o): In function `MPID_Init':
adi2init.o(.text+0xf95): undefined reference to `gm_get_host_name'
/home/mpich-gm/lib/libmpich.a(gmpi_conf.o): In function `gmpi_allocate_port':
gmpi_conf.o(.text+0x9d2): undefined reference to `gm_open'
gmpi_conf.o(.text+0xa82): undefined reference to `gm_open'
/home/mpich-gm/lib/libmpich.a(gmpi_conf.o): In function `gmpi_getconf':
gmpi_conf.o(.text+0xf5a): undefined reference to `gm_receive'
gmpi_conf.o(.text+0xf86): undefined reference to `gm_receive'
gmpi_conf.o(.text+0xfaf): undefined reference to `gm_blocking_receive_no_spin'
gmpi_conf.o(.text+0xfd8): undefined reference to `gm_blocking_receive'
gmpi_conf.o(.text+0xfe5): undefined reference to `gm_receive'
gmpi_conf.o(.text+0xff4): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1142): undefined reference to `gm_get_node_id'
gmpi_conf.o(.text+0x1193): undefined reference to `gm_node_id_to_unique_id'
gmpi_conf.o(.text+0x1251): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x1271): undefined reference to `gm_get_host_name'
gmpi_conf.o(.text+0x12fa): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x13af): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x19fb): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1a27): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1a50): undefined reference to `gm_blocking_receive_no_spin'
gmpi_conf.o(.text+0x1a79): undefined reference to `gm_blocking_receive'
gmpi_conf.o(.text+0x1a86): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1a95): undefined reference to `gm_receive'
gmpi_conf.o(.text+0x1bdc): undefined reference to `gm_get_node_id'
gmpi_conf.o(.text+0x1c2d): undefined reference to `gm_node_id_to_unique_id'
gmpi_conf.o(.text+0x1d18): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x1d49): undefined reference to `gm_bcopy'
gmpi_conf.o(.text+0x1f12): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x1f3f): undefined reference to `gm_bcopy'
gmpi_conf.o(.text+0x1f63): undefined reference to `gm_ticks'
gmpi_conf.o(.text+0x1fa9): undefined reference to `gm_ticks'
gmpi_conf.o(.text+0x21f9): undefined reference to `gm_bzero'
gmpi_conf.o(.text+0x273b): undefined reference to `gm_get_host_name'
gmpi_conf.o(.text+0x2781): undefined reference to `gm_unique_id_to_node_id'
gmpi_conf.o(.text+0x2829): undefined reference to `gm_crc'
gmpi_conf.o(.text+0x2850): undefined reference to `gm_crc'
gmpi_conf.o(.text+0x2999): undefined reference to `GM_PAGE_LEN'
gmpi_conf.o(.text+0x29b7): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_conf.o): In function `MPID_GetConfigInfo':
gmpi_conf.o(.text+0x2b9a): undefined reference to `gm_receive'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_dma_alloc':
gmpi_priv.o(.text+0xc55): undefined reference to `gm_dma_malloc'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_dma_free':
gmpi_priv.o(.text+0xc85): undefined reference to `gm_dma_free'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_drop_send_packet_callback':
gmpi_priv.o(.text+0xff6): undefined reference to `gm_send_with_callback'
gmpi_priv.o(.text+0x1008): undefined reference to `gm_strerror'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_drop_put_data_callback':
gmpi_priv.o(.text+0x10ea): undefined reference to `gm_directed_send_with_callback'
gmpi_priv.o(.text+0x10fc): undefined reference to `gm_strerror'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_check_send_status':
gmpi_priv.o(.text+0x11fb): undefined reference to `gm_drop_sends'
gmpi_priv.o(.text+0x127c): undefined reference to `gm_send_with_callback'
gmpi_priv.o(.text+0x12dc): undefined reference to `gm_directed_send_with_callback'
gmpi_priv.o(.text+0x132a): undefined reference to `gm_node_id_to_host_name'
gmpi_priv.o(.text+0x137d): undefined reference to `gm_node_id_to_unique_id'
gmpi_priv.o(.text+0x13d6): undefined reference to `gm_strerror'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_flush_fifo':
gmpi_priv.o(.text+0x1910): undefined reference to `gm_send_with_callback'
gmpi_priv.o(.text+0x19c1): undefined reference to `gm_directed_send_with_callback'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_send_packet_fifo':
gmpi_priv.o(.text+0x1bdf): undefined reference to `gm_send_with_callback'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_put_data':
gmpi_priv.o(.text+0x1e03): undefined reference to `gm_directed_send_with_callback'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_packet_recv_event':
gmpi_priv.o(.text+0x1f0c): undefined reference to `gm_node_id_to_unique_id'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_net_lookup':
gmpi_priv.o(.text+0x242c): undefined reference to `gm_receive'
gmpi_priv.o(.text+0x255f): undefined reference to `gm_provide_receive_buffer'
gmpi_priv.o(.text+0x25a0): undefined reference to `gm_unknown'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_init':
gmpi_priv.o(.text+0x26b8): undefined reference to `gm_allow_remote_memory_access'
gmpi_priv.o(.text+0x26d1): undefined reference to `gm_perror'
gmpi_priv.o(.text+0x26fe): undefined reference to `gm_num_send_tokens'
gmpi_priv.o(.text+0x2719): undefined reference to `gm_num_receive_tokens'
gmpi_priv.o(.text+0x272f): undefined reference to `gm_num_receive_tokens'
gmpi_priv.o(.text+0x27ba): undefined reference to `gm_dma_malloc'
gmpi_priv.o(.text+0x27d5): undefined reference to `gm_dma_malloc'
gmpi_priv.o(.text+0x282a): undefined reference to `gm_set_acceptable_sizes'
gmpi_priv.o(.text+0x2843): undefined reference to `gm_perror'
gmpi_priv.o(.text+0x2887): undefined reference to `gm_set_acceptable_sizes'
gmpi_priv.o(.text+0x28a0): undefined reference to `gm_perror'
gmpi_priv.o(.text+0x2927): undefined reference to `gm_provide_receive_buffer_with_tag'
/home/mpich-gm/lib/libmpich.a(gmpi_priv.o): In function `gmpi_finish':
gmpi_priv.o(.text+0x2a98): undefined reference to `gm_close'
/home/mpich-gm/lib/libmpich.a(gmpi_chself.o): In function `MPID_CH_Self_isend':
gmpi_chself.o(.text+0xd7f): undefined reference to `gm_bcopy'
/home/mpich-gm/lib/libmpich.a(gmpi_chself.o): In function `MPID_CH_Self_send':
gmpi_chself.o(.text+0xf17): undefined reference to `gm_bcopy'
/home/mpich-gm/lib/libmpich.a(gmpi_smppriv.o): In function `smpi_queue_send':
gmpi_smppriv.o(.text+0xeb0): undefined reference to `gm_lookaside_alloc'
/home/mpich-gm/lib/libmpich.a(gmpi_smppriv.o): In function `MPID_SMP_Check_incoming':
gmpi_smppriv.o(.text+0x1fe2): undefined reference to `gm_lookaside_free'
/home/mpich-gm/lib/libmpich.a(gmpi_smppriv.o): In function `smpi_init':
gmpi_smppriv.o(.text+0x20a4): undefined reference to `gm_create_lookaside'
gmpi_smppriv.o(.text+0x2185): undefined reference to `GM_PAGE_LEN'
gmpi_smppriv.o(.text+0x23dd): undefined reference to `GM_PAGE_LEN'
gmpi_smppriv.o(.text+0x24e5): undefined reference to `GM_PAGE_LEN'
gmpi_smppriv.o(.text+0x26b4): undefined reference to `GM_PAGE_LEN'
/home/mpich-gm/lib/libmpich.a(gmpi_smppriv.o): In function `smpi_finish':
gmpi_smppriv.o(.text+0x2774): undefined reference to `GM_PAGE_LEN'
gmpi_smppriv.o(.text+0x27b7): undefined reference to `gm_destroy_lookaside'
gmake: *** [/home3/yqian/clm3/clm3run/clm] Error 2