hi chetan and Nalin,
sorry for late reply.
i havn't done compiler optimisation till now. i used default
optimisation flag -O2. I will, now, check for other flags as you
suggest.
i did the tests for checking the credibility of mpi by checking the
value of pi in an example, given in "/MPI/mpich2-1.2.1/examples".
f77 and f90 correctly calculate the value of pi, but cxx doesn't
process the cxxpi.cxx file, to calculate the value of pi.
Following error comes ( i don't know what is the meaning of these
erros/errors, can you tell me few basic points this error massage
give? ):>
---------------------------error massage is as
below------------------------------------------------------------------------------------------------
/MPI/mpich2-1.2.1/examples/cxx> make
../../bin/mpicxx -DHAVE_CXX_IOSTREAM -DHAVE_NAMESPACE_STD -o
cxxpi cxxpi.o -lpthread -lrt
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(helper_fns.o): In function `MPIUI_Memcpy':
helper_fns.c:(.text+0x18d2): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(comm_get_name.o): In function
`MPI_Comm_get_name':
comm_get_name.c:(.text+0x142): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(intercomm_create.o): In function
`MPI_Intercomm_create':
intercomm_create.c:(.text+0x958): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(commutil.o): In function `MPIUI_Memcpy':
commutil.c:(.text+0x2687): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(pack.o): In function `MPIUI_Memcpy':
pack.c:(.text+0x9d2): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(unpack.o): In function `MPIUI_Memcpy':
unpack.c:(.text+0x8a2): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(type_get_name.o): In function
`MPI_Type_get_name':
type_get_name.c:(.text+0x1a0): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(type_set_name.o): In function
`MPI_Type_set_name':
type_set_name.c:(.text+0x179): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(type_indexed.o): In function
`MPI_Type_indexed':
type_indexed.c:(.text+0x2ab): undefined reference to
`_intel_fast_memcpy'
type_indexed.c:(.text+0x30c): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(type_create_struct.o): In function
`MPI_Type_create_struct':
type_create_struct.c:(.text+0x2d6): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(type_create_hindexed.o): In function
`MPI_Type_create_hindexed':
type_create_hindexed.c:(.text+0x2b5): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(type_create_indexed_block.o): In function
`MPI_Type_create_indexed_block':
type_create_indexed_block.c:(.text+0x27f): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(type_create_darray.o):type_create_darray.c:
(.text+0x8ff): more undefined references to `_intel_fast_memcpy'
follow
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(error_string.o): In function
`MPI_Error_string':
error_string.c:(.text+0xb7): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(errutil.o): In function `MPIUI_Memcpy':
errutil.c:(.text+0xa2): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(errutil.o): In function `vsnprintf_mpi':
errutil.c:(.text+0x9e1): undefined reference to `__intel_sse2_strlen'
errutil.c:(.text+0xa53): undefined reference to `__intel_sse2_strlen'
errutil.c:(.text+0xac5): undefined reference to `__intel_sse2_strlen'
errutil.c:(.text+0xb2f): undefined reference to `__intel_sse2_strlen'
errutil.c:(.text+0xbb4): undefined reference to `__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(errutil.o):errutil.c:(.text+0xd43): more
undefined references to `__intel_sse2_strlen' follow
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(dynerrutil.o): In function
`MPIR_Err_add_code':
dynerrutil.c:(.text+0x168): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(dynerrutil.o): In function
`MPIR_Err_add_class':
dynerrutil.c:(.text+0x20f): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(dynerrutil.o): In function
`MPIR_Err_set_msg':
dynerrutil.c:(.text+0x2a9): undefined reference to
`__intel_sse2_strlen'
dynerrutil.c:(.text+0x40e): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(group_range_excl.o): In function
`MPI_Group_range_excl':
group_range_excl.c:(.text+0x200): undefined reference to
`__svml_idiv4'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(group_range_incl.o): In function
`MPI_Group_range_incl':
group_range_incl.c:(.text+0x1f9): undefined reference to
`__svml_idiv4'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(bsendutil.o): In function `MPIUI_Memcpy':
bsendutil.c:(.text+0x9b2): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(win_get_name.o): In function
`MPI_Win_get_name':
win_get_name.c:(.text+0x11c): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(graphcreate.o): In function
`MPIR_Graph_create':
graphcreate.c:(.text+0x27a): undefined reference to
`_intel_fast_memcpy'
graphcreate.c:(.text+0x2d4): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(graphcreate.o): In function
`MPI_Graph_create':
graphcreate.c:(.text+0xbde): undefined reference to
`_intel_fast_memcpy'
graphcreate.c:(.text+0xc59): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(topoutil.o): In function `MPIUI_Memcpy':
topoutil.c:(.text+0x1562): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(register_datarep.o): In function
`MPI_Register_datarep':
register_datarep.c:(.text+0x7d): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(strfns.o): In function `ADIOI_Strdup':
strfns.c:(.text+0xdc): undefined reference to `__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpio_err.o): In function
`MPIO_Err_return_file':
mpio_err.c:(.text+0x129): undefined reference to `__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(info_delete.o): In function
`MPI_Info_delete':
info_delete.c:(.text+0x12a): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(info_get.o): In function `MPI_Info_get':
info_get.c:(.text+0x15f): undefined reference to `__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(info_getvallen.o):info_getvallen.c:(.text
+0x151): more undefined references to `__intel_sse2_strlen' follow
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(simple_pmi.o): In function
`PMI_Spawn_multiple':
simple_pmi.c:(.text+0x3382): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(simple_pmi.o): In function `PMI_Init':
simple_pmi.c:(.text+0x4306): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(segment_ops.o): In function
`MPIUI_Memcpy':
segment_ops.c:(.text+0x5832): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_ext32_segment.o): In function
`MPIUI_Memcpy':
mpid_ext32_segment.c:(.text+0x3f2): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_datatype_contents.o): In function
`MPIUI_Memcpy':
mpid_datatype_contents.c:(.text+0x5d2): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3_progress.o): In function
`MPIUI_Memcpy':
ch3_progress.c:(.text+0x3d12): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a
(ch3u_handle_recv_pkt.o):ch3u_handle_recv_pkt.c:(.text+0x5f2): more
undefined references to `_intel_fast_memcpy' follow
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3u_rma_sync.o): In function
`MPIDI_Win_fence':
ch3u_rma_sync.c:(.text+0x1b4): undefined reference to
`_intel_fast_memset'
ch3u_rma_sync.c:(.text+0x207): undefined reference to
`_intel_fast_memset'
ch3u_rma_sync.c:(.text+0x2a1): undefined reference to
`_intel_fast_memset'
ch3u_rma_sync.c:(.text+0x385): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3u_rma_sync.o): In function
`MPIDI_Win_complete':
ch3u_rma_sync.c:(.text+0x2ad8): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3u_rma_sync.o):ch3u_rma_sync.c:(.text
+0x2b9c): more undefined references to `_intel_fast_memset' follow
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3u_rma_sync.o): In function
`MPIUI_Memcpy':
ch3u_rma_sync.c:(.text+0x5742): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_getpname.o): In function
`MPID_Get_processor_name':
mpid_getpname.c:(.text+0x5c): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_vc.o): In function
`MPIDI_Populate_vc_node_ids':
mpid_vc.c:(.text+0x100a): undefined reference to `_intel_fast_memset'
mpid_vc.c:(.text+0x119c): undefined reference to `_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpidi_pg.o): In function
`connToStringKVS':
mpidi_pg.c:(.text+0x1148): undefined reference to
`__intel_sse2_strlen'
mpidi_pg.c:(.text+0x1267): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpidi_pg.o): In function `MPIDI_PG_Init':
mpidi_pg.c:(.text+0x1fcb): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(type_struct.o): In function
`MPI_Type_struct':
type_struct.c:(.text+0x2d6): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ad_open.o): In function `ADIO_Open':
ad_open.c:(.text+0x4c7): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ad_read_coll.o): In function
`ADIOI_GEN_ReadStridedColl':
ad_read_coll.c:(.text+0x1449): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ad_read_coll.o):ad_read_coll.c:(.text
+0x149b): more undefined references to `_intel_fast_memcpy' follow
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(cb_config_list.o): In function
`ADIOI_cb_config_list_parse':
cb_config_list.c:(.text+0x551): undefined reference to
`_intel_fast_memset'
cb_config_list.c:(.text+0xcc4): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(simple_pmiutil.o): In function
`PMIU_writeline':
simple_pmiutil.c:(.text+0x224): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(dataloop.o): In function `MPIUI_Memcpy':
dataloop.c:(.text+0x192): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(dataloop_create_blockindexed.o): In
function `MPID_Dataloop_create_blockindexed':
dataloop_create_blockindexed.c:(.text+0x365): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_nem_mpich2.o): In function
`MPIUI_Memcpy':
mpid_nem_mpich2.c:(.text+0x3f2): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_nem_lmt.o): In function
`MPIUI_Memcpy':
mpid_nem_lmt.c:(.text+0x9b2): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_nem_lmt_shm.o): In function
`MPID_nem_lmt_shm_start_recv':
mpid_nem_lmt_shm.c:(.text+0x9d): undefined reference to
`__intel_sse2_strlen'
mpid_nem_lmt_shm.c:(.text+0x106): undefined reference to
`__intel_sse2_strlen'
mpid_nem_lmt_shm.c:(.text+0x13f): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_nem_lmt_shm.o): In function
`MPID_nem_lmt_shm_start_send':
mpid_nem_lmt_shm.c:(.text+0x1545): undefined reference to
`__intel_sse2_strlen'
mpid_nem_lmt_shm.c:(.text+0x1cf1): undefined reference to
`__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_nem_lmt_shm.o): In function
`MPIUI_Memcpy':
mpid_nem_lmt_shm.c:(.text+0x2d52): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(tcp_init.o): In function `MPIUI_Memcpy':
tcp_init.c:(.text+0x512): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(socksm.o): In function
`state_tc_c_cntd_handler':
socksm.c:(.text+0x1698): undefined reference to `__intel_sse2_strlen'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(socksm.o): In function `MPIUI_Memcpy':
socksm.c:(.text+0x4922): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3_isend.o): In function `MPIUI_Memcpy':
ch3_isend.c:(.text+0x8a2): undefined reference to `_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3_isendv.o): In function `MPIUI_Memcpy':
ch3_isendv.c:(.text+0x1ab2): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3_istartmsg.o): In function
`MPIUI_Memcpy':
ch3_istartmsg.c:(.text+0x742): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3_istartmsgv.o): In function
`MPIUI_Memcpy':
ch3_istartmsgv.c:(.text+0x1982): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a
(ch3i_eagernoncontig.o):ch3i_eagernoncontig.c:(.text+0xe32): more
undefined references to `_intel_fast_memcpy' follow
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ch3u_comm_spawn_multiple.o): In function
`MPIDI_Comm_spawn_multiple':
ch3u_comm_spawn_multiple.c:(.text+0x85d): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(type_hindexed.o): In function
`MPI_Type_hindexed':
type_hindexed.c:(.text+0x2b9): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ad_coll_build_req_new.o): In function
`ADIOI_Build_agg_reqs':
ad_coll_build_req_new.c:(.text+0xd0): undefined reference to
`_intel_fast_memset'
ad_coll_build_req_new.c:(.text+0x186): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ad_coll_build_req_new.o): In function
`ADIOI_Build_client_reqs':
ad_coll_build_req_new.c:(.text+0x1bda): undefined reference to
`_intel_fast_memset'
ad_coll_build_req_new.c:(.text+0x1bef): undefined reference to
`_intel_fast_memset'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ad_coll_build_req_new.o): In function
`ADIOI_Build_client_pre_req':
ad_coll_build_req_new.c:(.text+0x3ec3): undefined reference to
`_intel_fast_memcpy'
ad_coll_build_req_new.c:(.text+0x3ee3): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(ad_coll_build_req_new.o): In function
`ADIOI_Build_client_req':
ad_coll_build_req_new.c:(.text+0x52a9): undefined reference to
`_intel_fast_memcpy'
ad_coll_build_req_new.c:(.text+0x52ce): undefined reference to
`_intel_fast_memcpy'
/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/
mpich2-1.2.1/lib/libmpich.a(mpid_nem_alloc.o): In function
`MPIDI_CH3I_Seg_commit':
mpid_nem_alloc.c:(.text+0x709): undefined reference to
`__intel_sse2_strlen'
collect2: ld returned 1 exit status
make: *** [cxxpi] Error 1
---------------------------------------------------end of error
massage---------------------------------------------------------------------------
----------------------------------make file to compile this .cxx
file, as given in mpi package is----------------------
# examples/cxx/Makefile. Generated from Makefile.in by configure.
all: all-redirect
SHELL = /bin/sh
top_srcdir = ../..
srcdir = .
DEFS =
CPPFLAGS =
LIBS = -lpthread -lrt (..........can you tell me what
is the meaning of these two lib ?)
MPILIBNAME = mpich
MPICHDIR = ../..
CXX = $(MPICHDIR)/bin/mpicxx
CXXFLAGS =
CXX_DEFS = -DHAVE_CXX_IOSTREAM -DHAVE_NAMESPACE_STD
CXX_COMPILE = $(CXX) $(DEFS) $(CXX_DEFS) $(INCLUDES) $(CXXFLAGS) $
(CPPFLAGS)
CXX_LINK = $(CXX)
LDFLAGS =
VPATH = .
.SUFFIXES:
.SUFFIXES: .o .cxx .txt
.cxx.o:
$(CXX_COMPILE) -c $<
.cxx:
$(CXX_COMPILE) -o $< $(LDFLAGS) $(LIBS)
Makefile: ${srcdir}/Makefile.in
-cd ../../../ && \
if [ -x config.status ] ; then CONFIG_FILES=examples/cxx/Makefile
CONFIG_HEADERS= ${SHELL} ./config.status ; fi
clean:
-rm -f *.o ${srcdir}/*.o cxxpi
-rm -f cxxpi.exe
-rm -f *.lo ${srcdir}/*.lo
-rm -f ${srcdir}/*.bb ${srcdir}/*.bbg ${srcdir}/*.da
distclean: clean
rm -rf .deps
-rm -f TAGS
maintainerclean:
all-redirect: cxxpi
coverage:
cxxpi: cxxpi.o ../../lib/lib${MPILIBNAME}.a
$(CXX_COMPILE) $(LDFLAGS) -o cxxpi cxxpi.o ${LIBS}
htmldoc:
mandoc:
latexdoc:
# Dependencies
dependencies:
# End of Dependencies
SOURCES = cxxpi.cxx
tags: TAGS
TAGS:${HEADERS} ${SOURCES}
----------------------------------end of make
file-----------------------------------------------------------------------------------------
with hope!
thank you vary much for your suggestions.
Sonu Kumar
Physics Deptt.
IITD
On Jan 30, 10:28 pm, "chetan.mlist" <[email protected]> wrote:
> On Jan 29, 6:05 pm, sonu <[email protected]> wrote:
>
> > But one MUST get same output (when i use "double precison" for
> > output ), irrespective of the number of nodes.
>
> A reasonable expectation from your side.
> A few point to look at (I can only help you search for the answer)
> 1. compiler flags: have the biggest effect (one point where control is
> possible, meaning changing the compile time options with a bit of hit-
> and-trial. Are you doing any compiler optimisation? Drop all -Ox flags
> now and check. Such things should be last on the list.
> 2. The related issue is that of language. FORTRAN/C ? Search for IEEE
> 754 floating point calculations and get informed about it . May help.
> 3. Another point could be the compiler itself. Using GCC suite or
> intel? Not quite sure if compilers for x86 architectures will be as
> good as those for other systems (SUN/IBM). My ideas/information could
> be outdated. Surely, there is prevalence of x86 based machines running
> linux and at times one has to use what one gets.
> 4. A genuine programming error. A little bit about the programming
> model will help. Things like is the final value a sum/average of
> partial sums/answers from different nodes. At times one does make
> mistakes in calculations before distributing and after gathering.
>
> > I think mpi(message passing interface) has bugs ? can you tell me how
> > mpi works? Because in parallel run, libraries of mpi are used.
>
> Tried using the accompanying examples/test cases that come with MPI?
> The MPI book has examples too. Will be a good idea to check with some
> simpler things like calculation of pi (I think this example is there
> in the book). If they give sound results then there is nothing wrong
> with the mpi (your installation, that is).
> Internal workings of the library may not be of use (at least at this
> stage).
>
> Good luck
> Chetan
--
l...@iitd - http://tinyurl.com/ycueutm