On Mar 1, 2006, at 10:41 PM, genie lfs wrote:
> sorry for not including the information..
> even for a a simple c code header files were not found.
> start:
> #include<math.h>
> main()
> {}
> end.
> the program was compiled in gcc -o san san.c
> the eror was no math.h file found..
> i found this as the bug in gcc (from archives) and can be sorted using
> -lm option..
>
> but this didnt not help me.
>
> the same happens to when i tried to compile gcc -o cpi cpi.c -lmpi
> error: c2:19 no math.h found
> and all the datatypes defined in the file are unrecognised
I think this means that there is something fairly basic wrong with
your cluster, completely unrelated to MPI. If you are using the
compile command listed above and seeing the error about math.h not
being found, then I think you should talk to whomever you got your
linux distribution from, because it's not setup correctly. This
problem is outside of the scope of LAM/MPI, so I really can't help
too much more.
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|