LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: McCalla, Mac (macmccalla_at_[hidden])
Date: 2006-08-15 08:39:30


Hi,
        Hint number 1: google for mpich. or go to
http://www-unix.mcs.anl.gov/mpi/mpich1/ .
        Hint number 2: the "man" command is your friend. try man
mpicc, man make, etc.
 
HTH,
Mac
    
 
 

  _____

From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]] On Behalf
Of Aidaros Dev
Sent: Tuesday, August 15, 2006 7:22 AM
To: lam_at_[hidden]
Subject: LAM: Compiling problem

Dear All,
Im new in Unix.
I installed mpich 1.2.7p1 in my Unix platform.
when i type "$ make cpi" there is no error
I copy all my files below into same cpi directory.
My files are:
file.c //MPI source file
file.h //header file
file.a // library file
when i type "$ make file.c" the error: undefined functions , which are
related to file.a
Have i to link it to file.a?
when i type "$ mpicc file -o file.o" the error : mpicc command not
found.
Can any one tell me how to compile it correctly?

-- 
A friend in need Is a friend indeed