On Fri, Jun 25, 2010 at 9:14 AM, Srinivas Gopal <srinivas1...@gmail.com> wrote:
>    I'm trying to build CCSM4 for which I'm using open mpi 1.4.1. $MPICH_PATH
> is set /usr/local (output of $which mpirun is /usr/local/bin/mpirun) and
> LIB_MPI is set to $(MPICH_PATH)/lib in its Macros file. However build
> process exits with the following error:
> .....4/scratch//d_f45/lib -lcsm_share -lmct -lmpeu -lpio
> -L/home/srinivas/netcdf/lib -lnetcdf  -L/usr/local/lib -lmpich
> -L/home/srinivas/pnetcdf/lib -lpnetcdf
> ld: cannot find -lmpich

Hi Srinivas,

libmpich is not part of open-mpi. Maybe your software build with mpich
only? If your software does not use anything specific to mpich, you
could try to change -lmpich to -lmpi .

Regards, Götz
-- 
AL I:40: Do what thou wilt shall be the whole of the Law.

Reply via email to