On Fri, Mar 30, 2012 at 2:39 PM, Rohan Deshpande <rohand87@gmail.com> wrote:
Hi,

I do not know how to use ortecc.
The same way as mpicc. Actually on my machine they both are symlinks to "opal_wrapper".
Your second screenshot suggests orte* commands have been installed.


After looking at the details i found that yum install did not install openmpi-devel package.

yum cannot find it either - yum search openmpi-devel says not match found.

I am using Red Hat 6.2 and i686 processors.

which mpicc shows -
 
which: no mpicc in (/usr/lib/qt-3.3/bin:/usr/local/ns-allinone/bin:/usr/local/ns-allinone/tcl8.4.18/unix:/usr/local/ns-allinone/tk8.4.18/unix:/usr/local/cuda/cuda/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/lib/openmpi/bin)

rpmquery -l openmpi-devel   says package not installed

What could be the possible solution?
 
1) If ortecc is indeed present you can test it.
If it works you may create manually some symlinks of your own:
              ln -s /path1/ortecc /path2/mpicc
              ln -s /path1/orterun /path2/mpirun
where path2 is in your PATH
Maybe the fastest ... but not the cleanest :-)

2) Fix the red hat package ...
May take some time ...

3) As Amit suggested earlier you can also download OpenMPI's source, compile and install it !

--
Constantinos





On Fri, Mar 30, 2012 at 2:05 AM, Amit Ghadge <amitg.aap@gmail.com> wrote:

You can try source packaged. Extract and run command ./configure --prefix=usr/local , make all , make install after to compile any mpi program by using mpicc

On 29-Mar-2012 7:26 PM, "Jeffrey Squyres" <jsquyres@cisco.com> wrote:
I don't know exactly how Fedora packages Open MPI, but I've seen some distributions separate Open MPI into a base package and a "devel" package.  And mpicc (and some friends) are split off into that "devel" package.

The rationale is that you don't need mpicc (and friends) to *run* Open MPI applications -- you only need mpicc (etc.) to *develop* Open MPI applications.

Poke around and see if you can find a devel-like Open MPI package in Fedora.


On Mar 29, 2012, at 7:45 AM, Rohan Deshpande wrote:

> Hi,
>
> I have installed mpi successfully on fedora using yum install openmpi openmpi-devel openmpi-libs
>
> I have also added /usr/lib/openmpi/bin to PATH and LD_LIBRARY_PATH variable.
>
> But when I try to complie my program using mpicc hello.c or /usr/lib/openmpi/bin/mpicc hello.c I get error saying mpicc: command not found
>
> I checked the contents of /user/lib/openmpi/bin and there is no mpicc... here is the screenshot
>
>     <image.png>
>
>
> The add/remove  programs show the installation details
>
>  <image.png>
>
> I have tried re installing but same thing happened.
>
> Can someone help me to solve this issue?
>
> Thanks
> --
>
> Best Regards,
>
> ROHAN
>
>
>
> _______________________________________________
> users mailing list
> users@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


--
Jeff Squyres
jsquyres@cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/


_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--

Best Regards,

ROHAN DESHPANDE
 




_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users