List Info

Thread: LAM: Compiling problem




LAM: Compiling problem
user name
2006-08-15 12: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-bounceslam-mpi.org [mailto:lam-bounceslam-mpi.org] On Behalf Of Aidaros Dev
Sent: Tuesday, August 15, 2006 7:22 AM
To: lamlam-mpi.org
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
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )