title: Installed OpenMPI library, but cannot use mpicc command in Linux
body: <p>I am following openmpi install file.</p>
  
  <p>Firstly, I am a normal user in this linux system. I do not have rights to access /usr/local . If I configure with:</p>
  
  <pre><code>./configure --prefix=/usr/local
  </code></pre>
  
  <p>make will complain about permission.</p>
  
  <p>Therefore, I put the place to install in some other directory (let's call it directory 'A'), and then <code>make install</code> .</p>
  
  <p>I got all the files in the bin and such. I got mpic++, mpicc, etc. in the bin folder and such, in the directory 'A'.</p>
  
  <p>Now, the thing is when I need to compile other programs:</p>
  
  <pre><code>Compiling MPI Applications
  ==========================
  
  MPI applications should be compiled using the Open MPI "wrapper"
  compilers:
  
  C programs:   mpicc your-code.c
  C++ programs: mpiCC your-code.cc    or
                mpic++ your-code.cc   (for case-insensitive filesystems)
  </code></pre>
  
  <p>This is from the INSTALL file. The thing is bash complains that mpicc command is not found when I type in "mpicc". </p>
  
  <p>OpenMPI is a dependency for the other programs I am trying to compile, and they invoke OpenMPI by using 'mpicc' command. </p>
  
  <p>What can I do in this case?</p>