parallella / parallella-examples

Community created parallella projects
391 stars 143 forks source link

para-para example fails to build #12

Closed kissmyarseuwimps closed 10 years ago

kissmyarseuwimps commented 10 years ago

build.sh: line 18: /usr/local/bin/mpicc: No such file or directory

(mpi dependency is not mentioned in the readme. installing openmpi does not resolve mpicc)

aolofsson commented 10 years ago

You are right. Thank you..I was too focused on the latest release of Ubuntu, where MPI is pre installed. The dependency and install instructions have been added to the README.

kissmyarseuwimps commented 10 years ago

Great - thank you.

I think, readme instruction should say: "./configure --prefix=/usr/local" rather than "./configure --prefix=~/usr"

The current build script is expecting mpicc in "/usr/local/bin", i.e. MPICC=/usr/local/bin/mpicc