LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brian Barrett (brbarret_at_[hidden])
Date: 2006-03-01 08:24:51


On Mar 1, 2006, at 4:18 AM, genie lfs wrote:

> when i try to compile a example program in gcc or mpicc..the programs
> are the example programs of mpich-ch_p4....
>
> the compiler is not able to locate math.h or time.h
>
> i tried adding the -lm option along with -lmpi but its still not
> working..
>
> i guess its the problem that comes with gcc compiler not able to find
> the header files of math and stdio(time also)...
>
> can anyone suggest a way out..
> i am using a 3 node cluster built by oscar... the same happened for
> pvm also

That's really unexpected. Unfortunately, that's about all I can add
to the conversation, as you don't include much information (like
exactly what the error is, what the code looks like, if you're even
trying to use LAM/MPI). Can you compile simple applications outside
of MPI? If not, you need to talk to whomever built your cluster (or,
if you built it, the OSCAR developers). This doesn't sound like a
LAM problem, especially since you are running into issues with MPICH
and PVM.

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/