Discussion:
[OMPI users] Error in hello_cxx.cc
Amir via users
2018-04-22 18:28:27 UTC
Permalink
Hi everybody,
After having some problems with setting up the debugging environment for Visual Studio 10, I am trying to debug the first Open_MPI example program (hello_cxx.cc) . 
I am getting an error in the function call MPI::Init();  . The attached screenshot should clarify this better.  I guess this is related to the rank but don't have any idea why and how to fix it. 
Any guidance is highly appreciated.
Thanks you,
Amir
Jeff Squyres (jsquyres)
2018-04-23 14:08:28 UTC
Permalink
Can you send all the information listed here:

https://www.open-mpi.org/community/help/
Post by Amir via users
Hi everybody,
After having some problems with setting up the debugging environment for Visual Studio 10, I am trying to debug the first Open_MPI example program (hello_cxx.cc) .
I am getting an error in the function call MPI::Init(); . The attached screenshot should clarify this better. I guess this is related to the rank but don't have any idea why and how to fix it.
Any guidance is highly appreciated.
Thanks you,
Amir<Capture.PNG>
<Capture.PNG>_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
--
Jeff Squyres
***@cisco.com
r***@open-mpi.org
2018-04-23 14:28:08 UTC
Permalink
Also, I note from the screenshot that you appear to be running on Windows with a Windows binary. Correct?
Post by Jeff Squyres (jsquyres)
https://www.open-mpi.org/community/help/
Post by Amir via users
Hi everybody,
After having some problems with setting up the debugging environment for Visual Studio 10, I am trying to debug the first Open_MPI example program (hello_cxx.cc) .
I am getting an error in the function call MPI::Init(); . The attached screenshot should clarify this better. I guess this is related to the rank but don't have any idea why and how to fix it.
Any guidance is highly appreciated.
Thanks you,
Amir<Capture.PNG>
<Capture.PNG>_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
--
Jeff Squyres
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
Amir via users
2018-04-24 02:14:25 UTC
Permalink
Yes, I am running under windows using visual studio 2010 express edition. The build process is done fine but when I am trying to run I would get the error code 6 in MPI::Init().  I have installed openmpi-1.4.5 . I have also attached the log file of the CMake hope this would help. The screenshot of ipconfig is also attached. 
Nathan Hjelm
2018-04-24 02:52:26 UTC
Permalink
Two things. 1) 1.4 is extremely old and you will not likely get much help with it, and 2) the c++ bindings were deprecated in MPI-2.2 (2009) and removed in MPI-3.0 (2012) so you probably want to use the C bindings instead.

-Nathan
Yes, I am running under windows using visual studio 2010 express edition. The build process is done fine but when I am trying to run I would get the error code 6 in MPI::Init(). I have installed openmpi-1.4.5 . I have also attached the log file of the CMake hope this would help. The screenshot of ipconfig is also attached.
<ipconfig.PNG>
<CMakeError.log>
<CMakeOutput.log>
<CMakeOutput (1).log>
<ipconfig.PNG>
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
r***@open-mpi.org
2018-04-24 03:03:19 UTC
Permalink
and 3) we no longer support Windows. You could try using the cygwin port instead.
Post by Nathan Hjelm
Two things. 1) 1.4 is extremely old and you will not likely get much help with it, and 2) the c++ bindings were deprecated in MPI-2.2 (2009) and removed in MPI-3.0 (2012) so you probably want to use the C bindings instead.
-Nathan
Yes, I am running under windows using visual studio 2010 express edition. The build process is done fine but when I am trying to run I would get the error code 6 in MPI::Init(). I have installed openmpi-1.4.5 . I have also attached the log file of the CMake hope this would help. The screenshot of ipconfig is also attached.
<ipconfig.PNG>
<CMakeError.log>
<CMakeOutput.log>
<CMakeOutput (1).log>
<ipconfig.PNG>
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users <https://lists.open-mpi.org/mailman/listinfo/users>_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
Loading...