SCIENTIFIC-LINUX-USERS Archives

May 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dr Andrew C Aitchison <[log in to unmask]>
Reply To:
Dr Andrew C Aitchison <[log in to unmask]>
Date:
Mon, 20 May 2013 13:24:25 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
I'm trying to use libpsm_infinipath but it complains about undefined 
references to knem_open_device and friends. What (packages) am I missing?

# cat  conftest2.c

/* Override any GCC internal prototype to avoid an error.
    Use char because int might match the return type of a GCC
    builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char psm_init ();
int
main ()
{
return psm_init ();
   ;
   return 0;
}

# (yes configure wrote that for me)
#  gcc -o conftest2 -g -O2   conftest2.c -lpsm_infinipath -L/usr/lib
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/libpsm_infinipath.so: 
undefined reference to `knem_open_device'
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/libpsm_infinipath.so: 
undefined reference to `knem_put'
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/libpsm_infinipath.so: 
undefined reference to `knem_get'
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/libpsm_infinipath.so: 
undefined reference to `knem_register_region'
collect2: ld returned 1 exit status

# locate libpsm_infinipath  | xargs rpmqv -f
infinipath-psm-devel-3.0.1-115.1015_open.1.el6.x86_64.rpm
infinipath-psm-3.0.1-115.1015_open.1.el6.x86_64.rpm
infinipath-psm-3.0.1-115.1015_open.1.el6.x86_64.rpm

----
I'm actually trying to recompile mvapich2 with the Intel compilers ...

-- 
Dr. Andrew C. Aitchison		Computer Officer, DPMMS, Cambridge
[log in to unmask]	http://www.dpmms.cam.ac.uk/~werdna

ATOM RSS1 RSS2