[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference msbcs::hpc

Title:Parallel processing through Workstation Farms.
Notice:MSBCS::HPC (renamed from HPCGRP::WORKSTATION_FARMS)
Moderator:MSBCS::SYSTEM
Created:Tue Oct 27 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:507
Total number of notes:1791

501.0. "MPI - Unresolved Reference" by AXPBIZ::KOTEHAL () Wed Apr 16 1997 22:53

A customer is using DecMPI on a 4 cpu 4100 system. They are experiencing
library link problems as indicated below. They are getting unresolved
references even though they are not referencing any pthreads.

Unresolved:
iprcid_
nanosleep
__pthread_mutex_init
__pthread_mutex_destroy
__pthread_mutex_lock
__pthread_mutex_unlock
__pthread_cond_init
__pthread_cond_destroy
__pthread_cond_signal
__pthread_cond_wait
__pthread_create
__pthread_join
__pthread_exit
swtch_pri
fort: Severe: Failed while trying to link.

The customers had done linking the library without any problem before.
When they try to re-link, they are getting this problem.

If someone can help me in this regard, I would greatly appreciate.

Thanks

Ravi.
T.RTitleUserPersonal
Name
DateLines
501.1more information neededMSBCS::SCHNEIDERSay it with ASCIIThu Apr 17 1997 11:4016
    Forgive me if I state what is obvious, but if the software linked
    successfully before and fails now, then something changed in the
    customer's procedures or environment.  Can you find out what changed?
    
    Also please specify the versions of DEC MPI, and of Digital UNIX, that
    the customer is using now.
    
    The references to nanosleep and pthread routines originate in the
    DEC MPI libraries.  I'm not sure about the other references.  The
    documentation for DEC MPI should specify the appropriate link options
    to use, such as -lrt.  I believe the appropriate options are different
    for different versions of DEC MPI.  What is the exact command that is
    being used to link?
    
    Regards,
    Chuck Schneider
501.2-lmpi -lrt -pthreadHPCGRP::BENSONThu Apr 17 1997 12:536
    
    
    Digital MPI uses threads internally so one must specify
    -pthread when building. The realtime library is referenced too.
    
    e.g. cc program.c -lmpi -lrt -pthread