LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] MPICH

[ILUG] MPICH

kevin lyda kevin at suberic.net
Thu Feb 8 10:30:09 GMT 2001


On Wed, Feb 07, 2001 at 08:14:29PM +0000, Mernagh Willaim(Dlx4 Electrical&Electronics Engineering) wrote:
> Anyone out there using MPICH? if so how? I have just configured it and
> installed it. But when I tried to compile my first prog I get loads of probs.
> See below what am i doing wrong? or what have I failed to do?
> 
> [root at wulf MPI]# mpicc -I /usr/local/mpi/include/ hello.c<error.tmp
> /usr/bin/ld: cannot find -lmpi
> collect2: ld returned 1 exit status
> hcc: No such file or directory
> [root at wulf MPI]# view error.tmp
> [root at wulf MPI]#

never used it but i'll guess based on your error:

mpicc -I /usr/local/mpi/include -L /usr/local/mpi/lib hello.c

if that fails to work (and the box has been on overnight since the mpich
install), you might want to try

    locate libmpi

if the box hasn't been on overnight either update locate's db or run

    find /usr/local -name 'libmpi*' -print

kevin

-- 
kevin at suberic.net        i...  i have a dream.  and that dream is:
fork()'ed on 37058400    use DIY::Tiler;
meatspace place: work    my($t) = new DIY::Tiler;
                         $t->tile(-room => "en-suite", -style => "stone");




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell