Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 Discussions

Help on mixed programming Fortran and C with intel fortran and openmpi

james_uta
Beginner
5,557 Views

Hi, we have linux version intel fortran with openmpi on our
server. Now I have a package coded with C and fortran
languages, for example, as follows, how can I compile and
link them togather with intel fortran and openmpi? thanks.

Best Regards,

James


main.f
integer ncsub
write(*,*)'From main file'
call csub(ncsub)
stop
end

file1.c
int csub_(int ncsub)
{
printf("from csub, ncsub=%d\n",ncsub);
int ii=5;
fsub_(&ii);
return(1);
}

file2.f
subroutine fsub(ii)
integer ii
write(*,*)' From fsub'
write(*,*)' ii=',ii
return
end

0 Kudos
30 Replies
Ron_Green
Moderator
1,912 Views
Quoting - james_uta
You are right. Could you please tell me where I should set this path and how I can add it into Makefile? thanks.

put the export statement for LD_LIBRARY_PATH in your .bashrc file in your home directory.
0 Kudos
james_uta
Beginner
1,912 Views

put the export statement for LD_LIBRARY_PATH in your .bashrc file in your home directory.

Thanks, how can I add it into my compilation option?
0 Kudos
james_uta
Beginner
1,912 Views
Quoting - james_uta

Thanks, how can I add it into my compilation option?

Another thing I don't undstand is why my excute code need the following

$ ./sample
./sample: symbol lookup error: /opt/lam/gnu/lib/libmpi.so.0: undefined symbol: lam_ssi_base_module_compare

because I never didn't add any optionof lam-gnu-mpi into my makefiles for the compilation and link.

Please help me, thanks.
0 Kudos
james_uta
Beginner
1,912 Views
Quoting - james_uta

Another thing I don't undstand is why my excute code need the following

$ ./sample
./sample: symbol lookup error: /opt/lam/gnu/lib/libmpi.so.0: undefined symbol: lam_ssi_base_module_compare

because I never didn't add any optionof lam-gnu-mpi into my makefiles for the compilation and link.

Please help me, thanks.

Sorry for the wrong rates on above, it doesn't mean anything. This was myfirst try,I tried to removed them but it didn't let me chang them. Iwish I could remove all of them.

I appreciateyou guys for any helpto me.

Please continue helping me to fix the problem, thanks in advance.

0 Kudos
Ron_Green
Moderator
1,912 Views
Quoting - james_uta

Another thing I don't undstand is why my excute code need the following

$ ./sample
./sample: symbol lookup error: /opt/lam/gnu/lib/libmpi.so.0: undefined symbol: lam_ssi_base_module_compare

because I never didn't add any optionof lam-gnu-mpi into my makefiles for the compilation and link.

Please help me, thanks.

An mpi program has to be launched by mpiexec, after booting the runtime with mpdboot.

To help with the runtime library dependencies, perhaps you should link with -static option.

At this point you should go out to openmpi.org and read up on running your code. We have helped you get the code compiled. You now need to understand the Open MPI runtime environment and that is outside our scope on this forum.

ron
0 Kudos
james_uta
Beginner
1,912 Views

An mpi program has to be launched by mpiexec, after booting the runtime with mpdboot.

To help with the runtime library dependencies, perhaps you should link with -static option.

At this point you should go out to openmpi.org and read up on running your code. We have helped you get the code compiled. You now need to understand the Open MPI runtime environment and that is outside our scope on this forum.

ron
Appreciate, Ron. I tried in this way, but it shows many errors in the link as follows. please help me to fix it, appreciate.

James
ifort -I/opt/openmpi/include az_tutorial_with_MPI.o -o sample -static -L/opt/openmpi/lib -lmpi -L../lib -laztec
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x1a5): In function `ompi_comm_init':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x1b7): In function `ompi_comm_init':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x1ce): In function `ompi_comm_init':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x1db): In function `ompi_comm_init':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x207): In function `ompi_comm_init':
: undefined reference to `opal_hash_table_init'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x474): In function `ompi_comm_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x489): In function `ompi_comm_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x49e): In function `ompi_comm_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x4b3): In function `ompi_comm_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x4c8): In function `ompi_comm_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x4dd): more undefined references to `opal_class_initialize' follow
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x4ed): In function `ompi_comm_init':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x4f2): In function `ompi_comm_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x5c0): In function `ompi_comm_allocate':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.text+0x738): In function `ompi_comm_finalize':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(comm_init.o)(.data+0x4): undefined reference to `opal_object_t_class'
/opt/openmpi/lib/libmpi.a(comm.o)(.text+0x29c): In function `ompi_comm_set':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm.o)(.text+0x2a8): In function `ompi_comm_set':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm.o)(.text+0x2c0): In function `ompi_comm_set':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm.o)(.text+0x2cd): In function `ompi_comm_set':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm.o)(.text+0x2f3): In function `ompi_comm_set':
: undefined reference to `opal_hash_table_init'
/opt/openmpi/lib/libmpi.a(comm.o)(.text+0x3bf): In function `ompi_comm_set':
: undefined reference to `opal_hash_table_t_class'
/opt/openmpi/lib/libmpi.a(comm.o)(.text+0x3c4): In function `ompi_comm_set':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(comm.o)(.text+0x100f): In function `ompi_comm_get_rprocs':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(comm.o)(.text+0x100f): In function `ompi_comm_get_rprocs':
: undefined reference to `orte_buffer_t_class'
: undefined reference to `opal_list_t_class'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x7b0): In function `ompi_proc_init':
: undefined reference to `opal_mutex_t_class'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x7c2): In function `ompi_proc_init':
: undefined reference to `opal_mutex_t_class'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x7d2): In function `ompi_proc_init':
: undefined reference to `opal_mutex_t_class'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x801): In function `ompi_proc_init':
: undefined reference to `orte_ns'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x8cc): In function `ompi_proc_init':
: undefined reference to `orte_ns'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x8e7): In function `ompi_proc_init':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x905): In function `ompi_proc_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x91d): In function `ompi_proc_init':
: undefined reference to `orte_schema'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x93d): In function `ompi_proc_init':
: undefined reference to `orte_schema'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x95c): In function `ompi_proc_init':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(proc.o)(.text+0x993): In function `ompi_proc_init':
: undefined reference to `orte_dss'
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x121): In function `ompi_request_wait':
: undefined reference to `opal_progress'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x14a): In function `ompi_request_wait':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x152): In function `ompi_request_wait':
: undefined reference to `opal_progress'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x15f): In function `ompi_request_wait':
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x1dd): In function `ompi_request_wait_any':
: undefined reference to `opal_uses_threads'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x211): In function `ompi_request_wait_any':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x219): In function `ompi_request_wait_any':
: undefined reference to `opal_progress'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x226): In function `ompi_request_wait_any':
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x2b9): In function `ompi_request_wait_any':
: undefined reference to `opal_progress'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x2e2): In function `ompi_request_wait_any':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x2ea): In function `ompi_request_wait_any':
: undefined reference to `opal_progress'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x2f7): In function `ompi_request_wait_any':
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x3e2): In function `ompi_request_wait_all':
: undefined reference to `opal_uses_threads'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x3fd): In function `ompi_request_wait_all':
: undefined reference to `opal_progress'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x425): In function `ompi_request_wait_all':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x42d): In function `ompi_request_wait_all':
: undefined reference to `opal_progress'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x43a): In function `ompi_request_wait_all':
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x53e): In function `ompi_request_wait_all':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x546): In function `ompi_request_wait_all':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x546): In function `ompi_request_wait_all':
: undefined reference to `opal_progress'
/opt/openmpi/lib/libmpi.a(req_wait.o)(.text+0x553): In function `ompi_request_wait_all':
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(ompi_mpi_abort.o)(.text+0xba): In function `ompi_mpi_abort':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_abort.o)(.text+0xc7): In function `ompi_mpi_abort':
: undefined reference to `orte_ns'
/opt/openmpi/lib/libmpi.a(ompi_mpi_abort.o)(.text+0x134): In function `ompi_mpi_abort':
: undefined reference to `orte_ns'
/opt/openmpi/lib/libmpi.a(ompi_mpi_abort.o)(.text+0x176): In function `ompi_mpi_abort':
: undefined reference to `orte_ns'
/opt/openmpi/lib/libmpi.a(ompi_mpi_abort.o)(.text+0x194): In function `ompi_mpi_abort':
: undefined reference to `orte_rmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_abort.o)(.text+0x1a9): In function `ompi_mpi_abort':
: undefined reference to `orte_rmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_abort.o)(.text+0x1be): In function `ompi_mpi_abort':
: undefined reference to `opal_event_loop'
/opt/openmpi/lib/libmpi.a(ompi_mpi_abort.o)(.text+0x1cd): In function `ompi_mpi_abort':
: undefined reference to `orte_rmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0xa): In function `ompi_mpi_init':
: undefined reference to `opal_init'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x23): In function `ompi_mpi_init':
: undefined reference to `orte_init_stage1'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x3b): In function `ompi_mpi_init':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x49): In function `ompi_mpi_init':
: undefined reference to `orte_init_stage2'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0xa1): In function `ompi_mpi_init':
: undefined reference to `opal_progress_mpi_init'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x2bc): In function `ompi_mpi_init':
: undefined reference to `orte_schema'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x2d1): In function `ompi_mpi_init':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x2d7): In function `ompi_mpi_init':
: undefined reference to `orte_soh'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x2f0): In function `ompi_mpi_init':
: undefined reference to `orte_gpr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x305): In function `ompi_mpi_init':
: undefined reference to `orte_gpr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x313): In function `ompi_mpi_init':
: undefined reference to `orte_rml'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x416): In function `ompi_mpi_init':
: undefined reference to `orte_system_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x432): In function `ompi_mpi_init':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x432): In function `ompi_mpi_init':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x438): In function `ompi_mpi_init':
: undefined reference to `orte_soh'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x44f): In function `ompi_mpi_init':
: undefined reference to `opal_progress_events'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x459): In function `ompi_mpi_init':
: undefined reference to `orte_gpr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x467): In function `ompi_mpi_init':
: undefined reference to `orte_rml'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x48d): In function `ompi_mpi_init':
: undefined reference to `opal_progress_mpi_enable'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x49c): In function `ompi_mpi_init':
: undefined reference to `orte_debug_flag'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x4ac): In function `ompi_mpi_init':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x4e2): In function `ompi_mpi_init':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x4fd): In function `ompi_mpi_init':
: undefined reference to `opal_strerror'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x51b): In function `ompi_mpi_init':
: undefined reference to `opal_show_help'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x52e): In function `ompi_mpi_init':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x53b): In function `ompi_mpi_init':
: undefined reference to `orte_debug_flag'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x549): In function `ompi_mpi_init':
: undefined reference to `orte_gpr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x56a): In function `ompi_mpi_init':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x592): In function `ompi_mpi_init':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x5b1): In function `ompi_mpi_init':
: undefined reference to `mca_base_param_find'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x5c9): In function `ompi_mpi_init':
: undefined reference to `mca_base_param_lookup_int'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x5e0): In function `ompi_mpi_init':
: undefined reference to `opal_paffinity_base_set'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x5f0): In function `ompi_mpi_init':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x5f9): In function `ompi_mpi_init':
: undefined reference to `orte_ns_base_get_vpid_string'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x60d): In function `ompi_mpi_init':
: undefined reference to `opal_show_help'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x625): In function `ompi_mpi_init':
: undefined reference to `opal_maffinity_base_open'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x632): In function `ompi_mpi_init':
: undefined reference to `opal_maffinity_base_open'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x632): In function `ompi_mpi_init':
: undefined reference to `opal_maffinity_base_select'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x658): In function `ompi_mpi_init':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x677): In function `ompi_mpi_init':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x696): In function `ompi_mpi_init':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_init.o)(.text+0x6b5): In function `ompi_mpi_init':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x3e): In function `ompi_mpi_finalize':
: undefined reference to `opal_progress_events'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x53): In function `ompi_mpi_finalize':
: undefined reference to `opal_progress_mpi_disable'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x5e): In function `ompi_mpi_finalize':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x64): In function `ompi_mpi_finalize':
: undefined reference to `orte_soh'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x76): In function `ompi_mpi_finalize':
: undefined reference to `orte_gpr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x84): In function `ompi_mpi_finalize':
: undefined reference to `orte_rml'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x9f): In function `ompi_mpi_finalize':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0xce): In function `ompi_mpi_finalize':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0xd9): In function `ompi_mpi_finalize':
: undefined reference to `opal_maffinity_base_close'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x287): In function `ompi_mpi_finalize':
: undefined reference to `orte_process_info'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x28d): In function `ompi_mpi_finalize':
: undefined reference to `orte_soh'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x2a6): In function `ompi_mpi_finalize':
: undefined reference to `orte_errmgr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x2b4): In function `ompi_mpi_finalize':
: undefined reference to `orte_gpr'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x2c2): In function `ompi_mpi_finalize':
: undefined reference to `orte_rml'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x302): In function `ompi_mpi_finalize':
: undefined reference to `opal_show_help'
/opt/openmpi/lib/libmpi.a(ompi_mpi_finalize.o)(.text+0x311): In function `ompi_mpi_finalize':
: undefined reference to `orte_finalize'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x27): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x5f): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x5f): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x7e): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0xa2): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0xd2): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x116): more undefined references to `mca_base_param_reg_int_name' follow
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x147): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_string_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x16b): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x196): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x1b4): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x1e6): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x20a): In function `ompi_mpi_register_params':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x26c): In function `ompi_show_all_mca_params':
: undefined reference to `mca_base_param_dump'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x2d1): In function `ompi_show_all_mca_params':
: undefined reference to `mca_base_param_lookup_int'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x302): In function `ompi_show_all_mca_params':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x384): In function `ompi_show_all_mca_params':
: undefined reference to `mca_base_param_lookup_string'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x3c2): In function `ompi_show_all_mca_params':
: undefined reference to `mca_base_param_dump_release'
/opt/openmpi/lib/libmpi.a(ompi_mpi_params.o)(.text+0x3ed): In function `ompi_show_all_mca_params':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x1dd): In function `ompi_win_create':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x3af): In function `ompi_win_set_name':
: undefined reference to `opal_strncpy'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x490): In function `ompi_win_init':
: undefined reference to `opal_strncpy'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x4bf): In function `ompi_win_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x4d4): In function `ompi_win_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x4f7): In function `ompi_win_get_name':
: undefined reference to `opal_strncpy'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x553): In function `ompi_win_construct':
: undefined reference to `opal_strncpy'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x553): In function `ompi_win_construct':
: undefined reference to `opal_mutex_t_class'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x565): In function `ompi_win_construct':
: undefined reference to `opal_mutex_t_class'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x572): In function `ompi_win_construct':
: undefined reference to `opal_mutex_t_class'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x60f): In function `ompi_win_construct':
: undefined reference to `opal_mutex_t_class'
/opt/openmpi/lib/libmpi.a(win.o)(.text+0x614): In function `ompi_win_construct':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(win.o)(.data+0x4): undefined reference to `opal_object_t_class'
/opt/openmpi/lib/libmpi.a(dt_module.o)(.text+0x291f): In function `ompi_ddt_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(dt_module.o)(.text+0x3007): In function `ompi_ddt_dump':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(dt_create.o)(.text+0x2df): In function `ompi_ddt_create':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(dt_create.o)(.data.rel+0x4): undefined reference to `opal_object_t_class'
/opt/openmpi/lib/libmpi.a(convertor.o)(.text+0x29e): In function `ompi_convertor_find_or_create_master':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(convertor.o)(.text+0x2b7): In function `ompi_convertor_find_or_create_master':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(convertor.o)(.text+0x34e): In function `ompi_convertor_create':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(convertor.o)(.text+0xe3d): In function `ompi_ddt_dump_stack':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(convertor.o)(.text+0xe8b): In function `ompi_ddt_dump_stack':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(convertor.o)(.text+0xeb4): In function `ompi_ddt_dump_stack':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(convertor.o)(.text+0xecd): In function `ompi_ddt_dump_stack':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(convertor.o)(.text+0xee5): In function `ompi_ddt_dump_stack':
: undefined reference to `opal_output'
/opt/openmpi/lib/libmpi.a(convertor.o)(.data.rel+0x4): undefined reference to `opal_object_t_class'
/opt/openmpi/lib/libmpi.a(ompi_totalview.o)(.text+0x36): In function `ompi_wait_for_totalview':
: undefined reference to `mca_base_param_reg_int_name'
/opt/openmpi/lib/libmpi.a(allocator_base_open.o)(.text+0x2b): In function `mca_allocator_base_open':
: undefined reference to `mca_base_components_open'
/opt/openmpi/lib/libmpi.a(allocator_bucket.o)(.text+0xe5): In function `mca_allocator_bucket_module_open':
: undefined reference to `mca_base_param_register_int'
/opt/openmpi/lib/libmpi.a(allocator_bucket.o)(.text+0xf5): In function `mca_allocator_bucket_module_open':
: undefined reference to `mca_base_param_lookup_int'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x7e): In function `mca_allocator_basic_component_init':
: undefined reference to `opal_list_t_class'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0xbe): In function `mca_allocator_basic_component_init':
: undefined reference to `opal_list_t_class'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0xbe): In function `mca_allocator_basic_component_init':
: undefined reference to `opal_mutex_t_class'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x160): In function `mca_allocator_basic_component_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x171): In function `mca_allocator_basic_component_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x17f): In function `mca_allocator_basic_component_init':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x229): In function `mca_allocator_basic_alloc':
: undefined reference to `opal_uses_threads'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x34f): In function `mca_allocator_basic_alloc':
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x379): In function `mca_allocator_basic_alloc':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x4c8): In function `mca_allocator_basic_free':
: undefined reference to `opal_uses_threads'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x54d): In function `mca_allocator_basic_free':
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x58d): In function `mca_allocator_basic_free':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x5ae): In function `mca_allocator_basic_free':
: undefined reference to `opal_uses_threads'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x758): In function `mca_allocator_basic_free':
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(allocator_basic.o)(.text+0x7a1): In function `mca_allocator_basic_free':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(coll_base_comm_unselect.o)(.text+0xa8): In function `mca_coll_base_comm_unselect':
: undefined reference to `opal_show_help'
/opt/openmpi/lib/libmpi.a(coll_base_open.o)(.text+0x17): In function `mca_coll_base_open':
: undefined reference to `opal_output_open'
/opt/openmpi/lib/libmpi.a(coll_base_open.o)(.text+0x3f): In function `mca_coll_base_open':
: undefined reference to `mca_base_components_open'
/opt/openmpi/lib/libmpi.a(coll_base_open.o)(.text+0x64): In function `mca_coll_base_open':
: undefined reference to `mca_base_param_find'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x17): In function `mca_coll_base_find_available':
: undefined reference to `opal_list_t_class'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0xa6): In function `mca_coll_base_find_available':
: undefined reference to `mca_base_component_priority_list_item_t_class'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x142): In function `mca_coll_base_find_available':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x185): In function `mca_coll_base_find_available':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x193): In function `mca_coll_base_find_available':
: undefined reference to `mca_base_component_repository_release'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x28c): In function `mca_coll_base_find_available':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x28c): In function `mca_coll_base_find_available':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x29d): In function `mca_coll_base_find_available':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x2de): In function `mca_coll_base_find_available':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x374): In function `mca_coll_base_find_available':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x3f1): In function `mca_coll_base_find_available':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_find_available.o)(.text+0x40d): In function `mca_coll_base_find_available':
: undefined reference to `opal_show_help'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x17): In function `check_components':
: undefined reference to `opal_list_t_class'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x12a): In function `check_components':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x274): In function `check_components':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x285): In function `check_components':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x296): In function `check_components':
: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x351): In function `check_components':
: undefined reference to `opal_list_insert'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x1353): In function `mca_coll_base_comm_select':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x13c3): In function `mca_coll_base_comm_select':
: undefined reference to `mca_base_param_lookup_string'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x13eb): In function `mca_coll_base_comm_select':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x15dc): In function `mca_coll_base_comm_select':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x165a): In function `mca_coll_base_comm_select':
: undefined reference to `opal_show_help'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x167b): In function `mca_coll_base_comm_select':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x16be): In function `mca_coll_base_comm_select':
: undefined reference to `opal_argv_split'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x16c8): In function `mca_coll_base_comm_select':
: undefined reference to `opal_argv_count'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x16e3): In function `mca_coll_base_comm_select':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x1704): In function `mca_coll_base_comm_select':
: undefined reference to `opal_argv_free'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.text+0x1937): In function `mca_coll_base_comm_select':
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.data.rel+0x4): undefined reference to `opal_list_item_t_class'
: undefined reference to `opal_output_verbose'
/opt/openmpi/lib/libmpi.a(coll_base_comm_select.o)(.data.rel+0x4): undefined reference to `opal_list_item_t_class'
/opt/openmpi/lib/libmpi.a(coll_base_close.o)(.text+0x4b): In function `mca_coll_base_close':
: undefined reference to `mca_base_components_close'
/opt/openmpi/lib/libmpi.a(coll_base_close.o)(.text+0x9b): In function `mca_coll_base_close':
: undefined reference to `mca_base_components_close'
/opt/openmpi/lib/libmpi.a(coll_tuned_component.o)(.text+0x38): In function `tuned_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_component.o)(.text+0x5c): In function `tuned_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_component.o)(.text+0x80): In function `tuned_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_component.o)(.text+0xaf): In function `tuned_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_component.o)(.text+0xd3): In function `tuned_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_component.o)(.text+0xeb): In function `tuned_open':
: undefined reference to `mca_base_param_find'
/opt/openmpi/lib/libmpi.a(coll_tuned_component.o)(.text+0xff): In function `tuned_open':
: undefined reference to `mca_base_param_lookup_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_component.o)(.text+0x113): In function `tuned_open':
: undefined reference to `opal_output_open'
/opt/openmpi/lib/libmpi.a(coll_tuned_component.o)(.text+0x166): In function `tuned_open':
: undefined reference to `mca_base_param_reg_string'
/opt/openmpi/lib/libmpi.a(coll_tuned_allreduce.o)(.text+0x155): In function `ompi_coll_tuned_allreduce_intra_check_forced':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_allreduce.o)(.text+0x179): In function `ompi_coll_tuned_allreduce_intra_check_forced':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_allreduce.o)(.text+0x1a2): In function `ompi_coll_tuned_allreduce_intra_check_forced':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_allreduce.o)(.text+0x1cb): In function `ompi_coll_tuned_allreduce_intra_check_forced':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_sm_component.o)(.text+0x3c): In function `sm_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_sm_component.o)(.text+0x64): more undefined references to `mca_base_param_reg_int' follow
/opt/openmpi/lib/libmpi.a(coll_sm_component.o)(.text+0x8c): In function `sm_open':
: undefined reference to `mca_base_param_reg_string'
/opt/openmpi/lib/libmpi.a(coll_sm_component.o)(.text+0xb4): In function `sm_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_sm_component.o)(.text+0xdc): In function `sm_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_sm_component.o)(.text+0x12d): In function `sm_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_sm_component.o)(.text+0x12d): In function `sm_open':
: undefined reference to `mca_base_param_reg_string'
/opt/openmpi/lib/libmpi.a(coll_sm_component.o)(.text+0x155): In function `sm_open':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_sm_component.o)(.text+0x18b): In function `sm_open':
: undefined reference to `mca_base_param_reg_int'

/opt/openmpi/lib/libmpi.a(btl_self.o)(.text+0xc53): In function `mca_btl_self_prepare_dst':
: undefined reference to `pthread_mutex_unlock'
/opt/openmpi/lib/libmpi.a(btl_self.o)(.text+0xc5b): In function `mca_btl_self_prepare_dst':
: undefined reference to `opal_progress'
/opt/openmpi/lib/libmpi.a(btl_self.o)(.text+0xc64): In function `mca_btl_self_prepare_dst':
: undefined reference to `pthread_mutex_lock'
/opt/openmpi/lib/libmpi.a(coll_tuned_bcast.o)(.text+0x121d): In function `ompi_coll_tuned_bcast_intra_check_forced':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_bcast.o)(.text+0x1241): In function `ompi_coll_tuned_bcast_intra_check_forced':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_bcast.o)(.text+0x126a): In function `ompi_coll_tuned_bcast_intra_check_forced':
: undefined reference to `mca_base_param_reg_int'
/opt/openmpi/lib/libmpi.a(coll_tuned_bcast.o)(.text+0x1293): In function `ompi_coll_tuned_bcast_intra_check_forced':

: undefined reference to `opal_class_initialize'
/opt/openmpi/lib/libmpi.a(io_romio_ad_wait.o)(.text+0xb6): In function `ADIOI_GEN_IOComplete':
: undefined reference to `aio_suspend64'
/opt/openmpi/lib/libmpi.a(io_romio_ad_wait.o)(.text+0xc9): In function `ADIOI_GEN_IOComplete':
: undefined reference to `aio_return64'
/opt/openmpi/lib/libmpi.a(io_romio_ad_wait.o)(.text+0xdf): In function `ADIOI_GEN_IOComplete':
: undefined reference to `aio_error64'
../lib/libaztec.a(az_interface.o)(.text+0x7): In function `AZ_second':
: undefined reference to `MPI_WTIME'
../lib/libaztec.a(md_wrap_mpi_c.o)(.text+0xe0): In function `md_read':
: undefined reference to `MPI_Get_count'
../lib/libaztec.a(md_wrap_mpi_c.o)(.text+0x243): In function `md_wrap_wait':
: undefined reference to `MPI_Wait'
../lib/libaztec.a(md_wrap_mpi_c.o)(.text+0x27f): In function `md_wrap_wait':
: undefined reference to `MPI_Get_count'
../lib/libaztec.a(md_wrap_mpi_c.o)(.text+0x3f8): In function `md_mpi_wait':
: undefined reference to `MPI_Wait'
../lib/libaztec.a(md_wrap_mpi_c.o)(.text+0x434): In function `md_mpi_wait':
: undefined reference to `MPI_Get_count'
/usr/lib/gcc/i386-redhat-linux/3.4.6//libgcc_eh.a(unwind-dw2-fde-glibc.oS)(.text+0x24b): In function `__register_frame_info_bases':
: undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/i386-redhat-linux/3.4.6//libgcc_eh.a(unwind-dw2-fde-glibc.oS)(.text+0x263): In function `__register_frame_info_bases':
: undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/i386-redhat-linux/3.4.6//libgcc_eh.a(unwind-dw2-fde-glibc.oS)(.text+0x353): In function `__register_frame_info_table_bases':
: undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/i386-redhat-linux/3.4.6//libgcc_eh.a(unwind-dw2-fde-glibc.oS)(.text+0x377): In function `__register_frame_info_table_bases':
: undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/i386-redhat-linux/3.4.6//libgcc_eh.a(unwind-dw2-fde-glibc.oS)(.text+0x498): In function `__deregister_frame_info_bases':
: undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/i386-redhat-linux/3.4.6//libgcc_eh.a(unwind-dw2-fde-glibc.oS)(.text+0x4bf): In function `__deregister_frame_info_bases':
: undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/i386-redhat-linux/3.4.6//libgcc_eh.a(unwind-dw2-fde-glibc.oS)(.text+0x4e3): In function `__deregister_frame_info_bases':
: undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/i386-redhat-linux/3.4.6//libgcc_eh.a(unwind-dw2-fde-glibc.oS)(.text+0x16cb): In function `_Unwind_Find_FDE':
: undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/i386-redhat-linux/3.4.6//libgcc_eh.a(unwind-dw2-fde-glibc.oS)(.text+0x16dc): In function `_Unwind_Find_FDE':
: undefined reference to `pthread_mutex_lock'
make: *** [sample] Error 1



0 Kudos
TimP
Honored Contributor III
1,912 Views
As we've pointed out before, a properly built openmpi based on ifort, using the mpif90 wrapper in place of ifort, would save you a lot of grief. That would relieve you of knowing specifically which libraries openmpi requires, which seems beyond the scope of this forum.
If you aren't willing to look into configuration of openmpi, there's Intel MPI, which comes configured for both ifort (mpiifort) and gfortran (mpif90). Questions on MPI, particularly Intel MPI, are more topical on the Intel HPC forum.
0 Kudos
Jeff_Squyres
Beginner
1,912 Views
Quoting - tim18
As we've pointed out before, a properly built openmpi based on ifort, using the mpif90 wrapper in place of ifort, would save you a lot of grief. That would relieve you of knowing specifically which libraries openmpi requires, which seems beyond the scope of this forum.
I heartily agree with what Tim18 said. I didn't see the majority of what was in this thread (Google Alerts pointed me to post #27), but according to the Open MPI FAQ, you should use the Open MPI wrapper compilers unless you absolutely cannot. They are the easiest, best way to compile your application with the proper Open MPI libraries, etc.

See the Open MPI FAQ (http://www.open-mpi.org/faq/?category=mpi-apps) for more information, such as if you absolutely can't build with the wrapper compilers. Feel free to direct further Open MPI-related questions to the Open MPI user's mailing list -- this doesn't really sound like an intel compiler issue.
0 Kudos
james_uta
Beginner
1,912 Views

An mpi program has to be launched by mpiexec, after booting the runtime with mpdboot.

To help with the runtime library dependencies, perhaps you should link with -static option.

At this point you should go out to openmpi.org and read up on running your code. We have helped you get the code compiled. You now need to understand the Open MPI runtime environment and that is outside our scope on this forum.

ron

I am very sorry to see this suggestion. I really hope my problem can be fixed here.....
0 Kudos
james_uta
Beginner
1,912 Views
Quoting - Jeff Squyres
I heartily agree with what Tim18 said. I didn't see the majority of what was in this thread (Google Alerts pointed me to post #27), but according to the Open MPI FAQ, you should use the Open MPI wrapper compilers unless you absolutely cannot. They are the easiest, best way to compile your application with the proper Open MPI libraries, etc.

See the Open MPI FAQ (http://www.open-mpi.org/faq/?category=mpi-apps) for more information, such as if you absolutely can't build with the wrapper compilers. Feel free to direct further Open MPI-related questions to the Open MPI user's mailing list -- this doesn't really sound like an intel compiler issue.
Thanks for your suggestion. I am very sorry for that none here can help me out ......
0 Kudos
Reply