Re: [OMPI users] Linking failure on Windows
Hi Gib, Actually, I also think defining OMPI_IMPORTS would solve the problem. And I also double checked the released binaries and the source code, those symbols are surely exported. So I'm now really confused. Gib, do you know how to generate preprocessor files in VS 2005? It should be one option under the C/C++ settings of the project. If you can provide me the preprocessor file of nvector_parallel.c, it would be helpful to find out the problem. Regards, Shiqing On 2012-10-02 8:25 AM, Gib Bogle wrote: They don't make any difference. I had them in, but dropped them when I found that the mpicc build didn't need them. Gib From: users-boun...@open-mpi.org [users-boun...@open-mpi.org] on behalf of Damien Hocking [dam...@khubla.com] Sent: Tuesday, 2 October 2012 7:21 p.m. To: Open MPI Users Subject: Re: [OMPI users] Linking failure on Windows There's two imports missing from there, OPAL_IMPORTS and ORTE_IMPORTS. That might be part of it. Damien On 01/10/2012 10:20 PM, Gib Bogle wrote: I guess it's conceivable that one of these Sundials include files is doing something: #include /* prototypes for CVODE fcts. */ #include /* definition of N_Vector and macros / #include /* definition of realtype / #include/* definition of EXP */ I am a complete beginner with Sundials, so I have no idea how it might interfere with the preprocessor definitions. Here is the compile command line from VS: /O2 /Ob2 /I "E:\sundials-2.5.0\include" /I "E:\Sundials-Win32\include" /I "c:\Program Files (x86)\OpenMPI_v1.6.2-win32\include" /D "WIN32" /D "_WINDOWS" /D "NDEBUG" /D "OMPI_IMPORTS" /D "_CRT_SECURE_NO_WARNINGS" /D "CMAKE_INTDIR=\"Release\"" /D "_MBCS" /FD /MD /Fo"cvAdvDiff_non_p.dir\Release\\" /Fd"E:\Sundials-Win32\examples\cvode\parallel\Release/cvAdvDiff_non_p.pdb" /W3 /c /TC /errorReport:prompt Gib On 2/10/2012 5:06 p.m., Damien Hocking wrote: So mpicc builds it completely? The only thing I can think of is look closely at both the compile and link command lines and see what's different. It might be going sideways at the compile from something in an include with a preprocessor def. Damien ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] error compiling openmpi-1.6.1 on Windows 7
05 1:02 PM, Siegmar Gross wrote: Hi Shiqing, D:\...\prog\mpi\small_prog>mpiexec init_finalize.exe - Sorry! You were supposed to get help about: invalid if_inexclude But I couldn't open the help file: D:\...\prog\mpi\small_prog\..\share\openmpi\help-mpi-btl-tcp.txt: No such file or directory. Sorry! - ... Why does "mpiexec" look for the help file relativ to my current program and not relative to itself? The file is part of the package. Do you know how I can solve this problem? I have similar issue with message from tcp, but it's not finding the file, it's something else, which doesn't affect the execution of the application. Could you make sure the help-mpi-btl-tcp.txt is actually in the path D:\...\prog\mpi\small_prog\..\share\openmpi\? That wouldn't be a good idea because I have MPI programs in different directories so that I would have to install all help files in several places (/../share/openmpi/help*.txt). All help files are available in the installation directory of Open MPI. dir "c:\Program Files (x86)\openmpi-1.6.1\bin\mpiexec.exe" ... 29.08.2012 10:5938.912 mpiexec.exe ... dir "c:\Program Files (x86)\openmpi-1.6.1\bin\..\share\openmpi\help-mpi-btl-tcp.txt" ... 03.04.2012 16:30 631 help-mpi-btl-tcp.txt ... I don't know if "mpiexec" or my program "init_finilize" is responsible for the error message but whoever is responsible shouldn't use the path to my program but the prefix_dir from MPI to find the help files. Perhaps you can change the behaviour in the Open MPI source code. I can also compile in 64-bit mode but the program hangs. Do you have any ideas why the program hangs? Thank you very much for any help in advance. To be honest I don't know. I couldn't reproduce it. Did you try installing the binary installer, will it also behave the same? I like to have different versions of Open MPI which I activate via a batch file so that I can still run my program in an old version if something goes wrong in a new one. I have no entries in the system environment or registry so that I can even run different versions in different command windows without problems (everything is only known within the command window in which a have run my batch file). It seems that you put something in the registry when I use your installer. Perhaps you remember an earlier email where I had to uninstall an old version because the environment in my own installation was wrong as long as your installation was active. Nevertheless I can give it a try. Perhaps I find out if you set more than just the path to your binaries. Do you know if there is something similar to "truss" or "strace" in the UNIX world so that I can see where the program hangs? Thank you very much for your help in advance. Kind regards Siegmar -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] error compiling openmpi-1.6.1 on Windows 7
Hi Siegmar, Could you please send the output of ompi_info command under you 64 bit env? And could you please also check if you have CCP or HPC pack installed? The incorrect configuration of that might cause Open MPI hanging. Regards, Shiqing On 2012-08-29 12:33 PM, Siegmar Gross wrote: Hi Shiqing, It seems that the runtime environment is messed up with the different versions of Open MPI. I suggest you completely remove all the installations and install 1.6.1 again (just build the installation project again). It should work without any problem under Cygwin too. I removed openmpi-1.6 und rebuilt openmpi-1.6.1. Now I can compile and run a program in 32-bit mode but have still some problems. D:\...\prog\mpi\small_prog>mpicc init_finalize.c Microsoft (R) 32-Bit C/C++-Optimierungscompiler Version 16.00.40219.01 für 80x86 Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. init_finalize.c Microsoft (R) Incremental Linker Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved. /out:init_finalize.exe "/LIBPATH:C:\Program Files (x86)\openmpi-1.6.1\bin/../lib" libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib init_finalize.obj D:\...\prog\mpi\small_prog>mpiexec init_finalize.exe - Sorry! You were supposed to get help about: invalid if_inexclude But I couldn't open the help file: D:\...\prog\mpi\small_prog\..\share\openmpi\help-mpi-btl-tcp.txt: No such file or directory. Sorry! - Hello! Why does "mpiexec" look for the help file relativ to my current program and not relative to itself? The file is part of the package. dir "c:\Program Files (x86)\openmpi-1.6.1\share\openmpi\help-mpi-btl-tcp.txt" ... 03.04.2012 16:30 631 help-mpi-btl-tcp.txt Must I change something in the source code or can I set an environment variable for help files? Why does "mpiexec" want to give some help at all? I don't get this message for openmpi-1.5.1. D:\...\prog\mpi\small_prog>mpicc init_finalize.c Microsoft (R) 32-Bit C/C++-Optimierungscompiler Version 16.00.40219.01 für 80x86 Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. init_finalize.c Microsoft (R) Incremental Linker Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved. /out:init_finalize.exe "/LIBPATH:C:/Program Files (x86)/openmpi-1.5.1/lib" libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib init_finalize.obj D:\...\prog\mpi\small_prog>mpiexec init_finalize.exe Hello! D:\...\prog\mpi\small_prog> I can also compile in 64-bit mode but the program hangs. D:\...\prog\mpi\small_prog>mpicc init_finalize.c Microsoft (R) C/C++-Optimierungscompiler Version 16.00.40219.01 für x64 Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. init_finalize.c Microsoft (R) Incremental Linker Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved. /out:init_finalize.exe "/LIBPATH:C:\Program Files\openmpi-1.6.1\bin/../lib" libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib init_finalize.obj D:\...\prog\mpi\small_prog>mpiexec init_finalize.exe ^C D:\...\prog\mpi\small_prog> It's the same if I compile a 64-bit program with openmpi-1.5.1. The program itself is very small. #include #include #include "mpi.h" int main (int argc, char *argv[]) { MPI_Init (, ); printf ("Hello!\n"); MPI_Finalize (); return EXIT_SUCCESS; } Any ideas why the 64-bit version hangs? Thank you very much for any help in advance. Kind regards Siegmar ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] error compiling openmpi-1.6.1 on Windows 7
d to "yes" OMPI_RELEASE_BUILD: "no" changed to "yes" OPAL_ENABLE_HETEREOGENEOUS:SUPPORT: "no" changed to "yes" OPAL_ENABLE_IPV6: "yes" changed to "no" OPAL_ENABLE_MULTI_THREADS: "no" changed to "yes" I also selected "Release" in "Visual Studio". Unfortunately I got the following error ("void *" cannot be converted to "void **"). Fehler 77 error C2440: '=': 'void *' kann nicht in 'void **' konvertiert werden ...\openmpi-1.6.1\ompi\mca\osc\rdma\osc_rdma_data_move.c 10991 libmpi Fehler 90 error LNK1181: Eingabedatei "..\..\..\Release\libmpi.lib" kann nicht geöffnet werden. ...\openmpi-1.6.1-Windows_VS2010_x32\ompi\tools\ompi-server\LINK ompi-server Fehler 94 error LNK1181: Eingabedatei "..\..\..\Release\libmpi.lib" kann nicht geöffnet werden. ...\openmpi-1.6.1-Windows_VS2010_x32\ompi\tools\ompi_info\LINK ompi_info Fehler 162 error LNK1181: Eingabedatei "..\..\..\Release\libmpi.lib" kann nicht geöffnet werden. ...\openmpi-1.6.1-Windows_VS2010_x32\ompi\mpi\cxx\LINK libmpi_cxx I get also a lot of warnings, from wich I have listed a few. Warnung 1 warning C4005: 'PACKAGE_BUGREPORT': Makro-Neudefinition ...\openmpi-1.6.1\opal\event\win32-code\config.h 185 1 libopen-pal Warnung 2 warning C4005: 'PACKAGE_NAME': Makro-Neudefinition ...\openmpi-1.6.1\opal\event\win32-code\config.h 188 1 libopen-pal Warnung 3 warning C4005: 'PACKAGE_STRING': Makro-Neudefinition ...\openmpi-1.6.1\opal\event\win32-code\config.h 191 1 libopen-pal Warnung 4 warning C4005: 'PACKAGE_TARNAME': Makro-Neudefinition ...\openmpi-1.6.1\opal\event\win32-code\config.h 194 1 libopen-pal Warnung 5 warning C4005: 'PACKAGE_VERSION': Makro-Neudefinition ...\openmpi-1.6.1\opal\event\win32-code\config.h 197 1 libopen-pal Warnung 6 warning C4005: '__func__': Makro-Neudefinition ...\openmpi-1.6.1\opal\event\win32-code\config.h 212 1 libopen-pal Warnung 7 warning C4013: 'opal_event_warn' undefiniert; Annahme: extern mit Rückgabetyp int ...\openmpi-1.6.1\opal\event\WIN32-Code\win32.c 170 1 libopen-pal Warnung 8 warning C4005: 'INT8_MIN': Makro-Neudefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h 72 1 libopen-pal Warnung 9 warning C4005: 'INT16_MIN': Makro-Neudefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h 73 1 libopen-pal Warnung 10 warning C4005: 'INT32_MIN': Makro-Neudefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h 74 1 libopen-pal Warnung 11 warning C4005: 'INT8_MAX': Makro-Neudefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h 76 1 libopen-pal Warnung 12 warning C4005: 'INT16_MAX': Makro-Neudefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h 77 1 libopen-pal Warnung 13 warning C4005: 'INT32_MAX': Makro-Neudefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h 78 1 libopen-pal Warnung 14 warning C4005: 'UINT8_MAX': Makro-Neudefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h 79 1 libopen-pal Warnung 15 warning C4005: 'UINT16_MAX': Makro-Neudefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h 80 1 libopen-pal Warnung 16 warning C4005: 'UINT32_MAX': Makro-Neudefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h 81 1 libopen-pal Warnung 17 warning C4018: '<': Konflikt zwischen 'signed' und 'unsigned' ...\openmpi-1.6.1-Windows_VS2010_x32\opal\keyval_lex.c libopen-pal Warnung 18 warning C4273: '_isatty': Inkonsistente DLL-Bindung. ...\openmpi-1.6.1-Windows_VS2010_x32\opal\keyval_lex.c libopen-pal ... What can I do to get around the error so that I can compile Open MPI? Thank you very much for any suggestions in advance. Kind regards Siegmar _______ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de _______ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] error compiling openmpi-1.6.1 on Windows 7
bopen-pal ... What can I do to get around the error so that I can compile Open MPI? Thank you very much for any suggestions in advance. Kind regards Siegmar ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] compilation on windows 7 64-bit
ed in function "int __cdecl MpCommProbe(struct MpComm_s *,int,int,struct MpStatus_s *)" (?MpCommProbe@@YAHPAUMpComm_s@@HHPAUMpStatus_s@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol __imp__MPI_Barrier referenced in function "int __cdecl MpCommBarrier(struct MpComm_s *)" (?MpCommBarrier@@YAHPAUMpComm_s@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol __imp__MPI_Reduce referenced in function "int __cdecl MpCommReduce(struct MpComm_s *,void const *,void *,int,enum Dtype_e,enum MpCommOp_e,int)" (?MpCommReduce@@YAHPAUMpComm_s@@PBXPAXHW4Dtype_e@@W4MpCommOp_e@@H@Z) como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol __imp__MPI_Allreduce referenced in function "int __cdecl MpCommAllreduce(struct MpComm_s *,void const *,void *,int,enum Dtype_e,enum MpCommOp_e)" (?MpCommAllreduce@@YAHPAUMpComm_s@@PBXPAXHW4Dtype_e@@W4MpCommOp_e@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol __imp__MPI_Waitall referenced in function "int __cdecl MpCommWaitall(struct MpRequest_s *,struct MpStatus_s * const)" (?MpCommWaitall@@YAHPAUMpRequest_s@@QAUMpStatus_s@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol __imp__ompi_mpi_byte como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol __imp__ompi_mpi_double como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol __imp__ompi_mpi_float como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol __imp__ompi_mpi_long como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol __imp__ompi_mpi_int como_mplib.lib(mpenv.obj) : error LNK2019: unresolved external symbol __imp__MPI_Errhandler_set referenced in function "int __cdecl MpEnvConstr(int *,char * * * const)" (?MpEnvConstr@@YAHPAHQAPAPAD@Z) como_mplib.lib(mpenv.obj) : error LNK2001: unresolved external symbol __imp__ompi_mpi_errors_return como_mplib.lib(mpenv.obj) : error LNK2019: unresolved external symbol __imp__MPI_Init referenced in function "int __cdecl MpEnvConstr(int *,char * * * const)" (?MpEnvConstr@@YAHPAHQAPAPAD@Z) como_mplib.lib(mpenv.obj) : error LNK2019: unresolved external symbol __imp__MPI_Finalize referenced in function "void __cdecl MpEnvFree(void)" (?MpEnvFree@@YAXXZ) Alan *From:*users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] *On Behalf Of *Shiqing Fan *Sent:* Friday, July 27, 2012 7:52 AM *To:* Open MPI Users *Cc:* Damien *Subject:* Re: [OMPI users] compilation on windows 7 64-bit FYI. I've just made an update for this issue in trunk. There will be no need to define this flags in the next releases. Shiqing On 2012-07-27 12:24 AM, Damien wrote: Do you have OMPI_IMPORTS, OPAL_IMPORTS and ORTE_IMPORTS defined in your preprocessor flags? You need those. Damien On 26/07/2012 3:56 PM, Sayre, Alan N wrote: I'm trying to replace the usage of platform mpi with open mpi. I am trying to compile on Windows 7 64 bit using Visual Studio 2010. I have added the paths to the openmpi include and library directories and added the libmpid.lib and libmpi_cxxd.lib to the linker input. The application compiles (find the mpi headers). When it tries to link I get the following output: como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol _MPI_Comm_remote_size referenced in function "struct MpComm_s * __cdecl MpCommSpawn(char const *,char const * * const,int,enum Bool_e)" (?MpCommSpawn@@YAPAUMpComm_s@@PBDQAPBDHW4Bool_e@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol _MPI_Comm_spawn referenced in function "struct MpComm_s * __cdecl MpCommSpawn(char const *,char const * * const,int,enum Bool_e)" (?MpCommSpawn@@YAPAUMpComm_s@@PBDQAPBDHW4Bool_e@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_info_null como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_comm_self como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_comm_null como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_op_sum como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_op_min como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_op_max como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol _MPI_Intercomm_create referenced in function "int __cdecl MpCommCreateCommunicators(struct MpComm_s * *,struct MpComm_s * *)" (?MpCommCreateCommunicators@@YAHPAPAUMpComm_s@@0@Z)
Re: [OMPI users] compilation on windows 7 64-bit
m_s@@PAXHW4Dtype_e@@HHPAUMpRequest_s@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_char como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol _MPI_Probe referenced in function "int __cdecl MpCommProbe(struct MpComm_s *,int,int,struct MpStatus_s *)" (?MpCommProbe@@YAHPAUMpComm_s@@HHPAUMpStatus_s@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol _MPI_Barrier referenced in function "int __cdecl MpCommBarrier(struct MpComm_s *)" (?MpCommBarrier@@YAHPAUMpComm_s@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol _MPI_Reduce referenced in function "int __cdecl MpCommReduce(struct MpComm_s *,void const *,void *,int,enum Dtype_e,enum MpCommOp_e,int)" (?MpCommReduce@@YAHPAUMpComm_s@@PBXPAXHW4Dtype_e@@W4MpCommOp_e@@H@Z) como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol _MPI_Allreduce referenced in function "int __cdecl MpCommAllreduce(struct MpComm_s *,void const *,void *,int,enum Dtype_e,enum MpCommOp_e)" (?MpCommAllreduce@@YAHPAUMpComm_s@@PBXPAXHW4Dtype_e@@W4MpCommOp_e@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2019: unresolved external symbol _MPI_Waitall referenced in function "int __cdecl MpCommWaitall(struct MpRequest_s *,struct MpStatus_s * const)" (?MpCommWaitall@@YAHPAUMpRequest_s@@QAUMpStatus_s@@@Z) como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_byte como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_double como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_float como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_long como_mplib.lib(mpcomm.obj) : error LNK2001: unresolved external symbol _ompi_mpi_int como_mplib.lib(mpenv.obj) : error LNK2019: unresolved external symbol _MPI_Errhandler_set referenced in function "int __cdecl MpEnvConstr(int *,char * * * const)" (?MpEnvConstr@@YAHPAHQAPAPAD@Z) como_mplib.lib(mpenv.obj) : error LNK2001: unresolved external symbol _ompi_mpi_errors_return como_mplib.lib(mpenv.obj) : error LNK2019: unresolved external symbol _MPI_Init referenced in function "int __cdecl MpEnvConstr(int *,char * * * const)" (?MpEnvConstr@@YAHPAHQAPAPAD@Z) como_mplib.lib(mpenv.obj) : error LNK2019: unresolved external symbol _MPI_Finalize referenced in function "void __cdecl MpEnvFree(void)" (?MpEnvFree@@YAXXZ) What am I missing? Thanks in advance for any assistance. Alan *This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. * ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users _______ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Fortran90 Bindings
No it's not related to the version of Visual Studio. On 2012-07-26 4:08 AM, Kumar, Sudhir wrote: I am wondering if it is related to the version of Visual Studio, I am using Visual Studio 2005. *Sudhir Kumar* *From:*users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] *On Behalf Of *Damien *Sent:* Wednesday, July 25, 2012 3:35 PM *To:* Open MPI Users *Subject:* Re: [OMPI users] Fortran90 Bindings Hmmm. My 64-bit builds create mpif77.exe, libmpi_f77.lib and libmpi_f77.dll, and they work. Damien On 25/07/2012 10:11 AM, Kumar, Sudhir wrote: Hi I am new to Open MPI so please pardon my ignorance, I just came across an article which refers to F77 bindings available for 32 bit windows only, It was as of June. Has something changed since then, http://www.open-mpi.org/community/lists/users/2012/06/19525.php Thanks so much. *From:*users-boun...@open-mpi.org <mailto:users-boun...@open-mpi.org> [mailto:users-boun...@open-mpi.org] *On Behalf Of *Damien *Sent:* Wednesday, July 25, 2012 10:52 AM *To:* Open MPI Users *Subject:* Re: [OMPI users] Fortran90 Bindings Sudhir, F77 works on both. Damien On 25/07/2012 8:55 AM, Kumar, Sudhir wrote: Hi I have one more related question. Is the F77 bindings available for both 64bit and 32 bit windows environments or just for the 32 bit environment. Thanks *From:*users-boun...@open-mpi.org <mailto:users-boun...@open-mpi.org> [mailto:users-boun...@open-mpi.org] *On Behalf Of *Damien *Sent:* Wednesday, July 18, 2012 10:11 AM *To:* Open MPI Users *Subject:* Re: [OMPI users] Fortran90 Bindings Hmmm. 6 months ago there weren't F90 bindings in the Windows version (the F90 bindings are large and tricky). It's an option you can select when you compile it yourself, but looking at the one I just did a month ago, there's still no mpif90.exe built, so I'd say that's still not supported on Windows. :-( Damien On 18/07/2012 9:00 AM, Kumar, Sudhir wrote: Hi had meant to say if Fortran90 bindings for Windows *Sudhir Kumar* *From:*users-boun...@open-mpi.org <mailto:users-boun...@open-mpi.org> [mailto:users-boun...@open-mpi.org] *On Behalf Of *Damien *Sent:* Wednesday, July 18, 2012 9:56 AM *To:* Open MPI Users *Subject:* Re: [OMPI users] Fortran90 Bindings Yep. On 18/07/2012 8:53 AM, Kumar, Sudhir wrote: Hi Just wondering if Fortran90 bindings are available for OpemMPI 1.6 Thanks *Sudhir Kumar* ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Getting MPI to access processes on a 2nd computer.
Hi, The Open MPI potentially uses WMI to launch remote processes, so the WMI has to be configured correctly. There are two links talking about how to set it up in README.WINDOWS file: http://msdn.microsoft.com/en-us/library/aa393266(VS.85).aspx http://community.spiceworks.com/topic/578 For testing whether it works or not, you can use following command: wmic /node:remote_node_ip process call create notepad.exe then log onto the other Windows, check in the task manager if the notepad.exe process is created (don't forget to delete it afterwards). If that works, this command will also work: mpirun -np 2 -host host1 host2 notepad.exe Please try to run the above two test commands, if they all works you application should also work. Just let me know if you have any question or trouble with that. Shiqing On 2012-07-03 8:53 PM, vimalmat...@eaton.com wrote: Hi, I'm trying to run an MPI code using processes on a remote machine. I've connected the 2 machines using a crossover cable and they are communicating with each other(I'm getting ping replies and I can access drives on one another). When I run mpiexec --host /system_name/ MPI_Test.exe, I get the following error: C:\OpenMPI\openmpi-1.6\build\Debug>mpiexec -host SOUMIWHP4500449 MPI_Test.exe connecting to SOUMIWHP4500449 username:C9995799 password:** Save Credential?(Y/N) N [SOUMIWHP5003567:01728] Could not connect to namespace cimv2 on node SOUMIWHP450 0449. Error code =-2147023174 -- mpiexec was unable to start the specified application as it encountered an error . More information may be available above. -- [SOUMIWHP5003567:01728] [[38316,0],0] ORTE_ERROR_LOG: A message is attempting to be sent to a process whose contact information is unknown in file ..\..\..\open mpi-1.6\orte\mca\rml\oob\rml_oob_send.c at line 145 [SOUMIWHP5003567:01728] [[38316,0],0] attempted to send to [[38316,0],1]: tag 1 [SOUMIWHP5003567:01728] [[38316,0],0] ORTE_ERROR_LOG: A message is attempting to be sent to a process whose contact information is unknown in file ..\..\..\open mpi-1.6\orte\orted\orted_comm.c at line 126 Could anyone tell me what I'm missing? I've configured MPI on VS Express 2010 and I'm able to run MPI programs on one system. On the other computer, I pasted the MPI_Test.exe file in the same location as the calling computer. Thanks, Vimal ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Mpiexec hanging when running "hello world" on 2 EC2 windows instances
Hi Peter, The WMI worked for you, that's great. Was it difficult for you to configure everything? For the hanging problem, it's quite similar to another thread: http://www.open-mpi.org/community/lists/users/2012/01/18128.php I wasn't able to solve that one yet, it's a complicated one. But the easy solution is to switch the send and recv sequence for root process. Could you please have a try on that? Shiqing On 2012-06-23 8:40 PM, Peter Soukalopoulos wrote: Hi Shiqing, No problems executing notepad.exe remotely -- process with id 2416 created on remote node. From 10.244.166.37 C:\Users\greenbutton>wmic /node:10.243.1.134 process call create notepad.exe Executing (Win32_Process)->Create() Method execution successful. Out Parameters: instance of __PARAMETERS { ProcessId = 2416; ReturnValue = 0; }; No problems running the MPI command on notepad.exe From 10.244.166.37 C:\Users\greenbutton>mpirun -np 2 -host 10.244.166.37,10.243.1.134 c:\windows\system32\notepad.exe connecting to 10.243.1.134 username:greenbutton password:* Save Credential?(Y/N) n -- mpirun noticed that the job aborted, but has no info as to the process that caused that situation. -- (Works; blocked until notepad.exe killed on both nodes) Running my command MPIHello still does not work across nodes; I believe there is a MPI communication problem between the processes, ie. MPI_Send/Recv. It worked with 2 processes but not 4. How do I go about resolving that? Is there a problem with the build settings of my executable? C:\mpi\exe>mpirun -np 2 -host 10.244.166.37,10.243.1.134 MPIHello.exe connecting to 10.243.1.134 username:greenbutton password:* Save Credential?(Y/N) n WE have 2 processors Hello 1 Processor 1 at node AMAZONA-BMCKVD6 reporting for duty (works -- output from rank 1) C:\mpi\exe> C:\mpi\exe>mpirun -np 4 -host 10.244.166.37,10.243.1.134 MPIHello.exe connecting to 10.243.1.134 username:greenbutton password:* Save Credential?(Y/N) n WE have 4 processors (hangs -- no output from ranks 1,2 or 3) Please assist. /Regards,/ /Peter/ *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:* Friday, 22 June 2012 8:11 p.m. *To:* Open MPI Users *Cc:* Peter Soukalopoulos *Subject:* Re: [OMPI users] Mpiexec hanging when running "hello world" on 2 EC2 windows instances Hi Peter, The Open MPI potentially uses WMI to launch remote processes, so the WMI has to be configured correctly. There are two links talking about how to set it up in README.WINDOWS file: http://msdn.microsoft.com/en-us/library/aa393266(VS.85).aspx <http://msdn.microsoft.com/en-us/library/aa393266%28VS.85%29.aspx> http://community.spiceworks.com/topic/578 For testing whether it works or not, you can use following command: wmic /node:remote_node_ip process call create notepad.exe then log onto the other Windows, check in the task manager if the notepad.exe process is created (don't forget to delete it afterwards). If that works, this command will also work: mpirun -np 2 -host host1 host2 notepad.exe Please try to run the above two test commands, if they all works you application should also work. Just let me know if you have any question or trouble with that. Shiqing On 2012-06-22 7:00 AM, Peter Soukalopoulos wrote: I am a new comer to Open MPI. I have spent the last day trying to diagnose why a "hello world" MPI application compiled with OpenMPI v1.6.1 (64 bit) hangs when run on two EC2 Windows instances. I note they are running on different subnets so I'm using the mca btl_tcp_if_include 10.0.0.0/8 parameter. My two hosts are 10.242.73.81,10.116.114.238. I've placed the executable in the same path on both machines. Diagnostic info requested is attached along with sample application source. When I run two processes on one instance -- the command succeeds: C:\mpi\exe>mpiexec -n 2 -host 10.242.73.81 --mca btl_tcp_if_include 10.0.0.0/8 MPIHello.exe WE have 2 processors Hello 1 Processor 1 at node AMAZONA-BMCKVD6 reporting for duty When I run across two hosts, the executable is launched on both instances but the process hangs: C:\mpi\exe>mpiexec -n 4 -host 10.242.73.81,10.116.114.238 --mca btl_tcp_if_include 10.0.0.0/8 MPIHello.exe connecting to 10.116.114.238 username:greenbutton password:* Save Credential?(Y/N) n WE have 4 processors Re-running with debug: C:\mpi\exe>mpiexec -n 4 -host 10.242.73.81,10.116.114.238 -d --mca btl_tcp_if_include 10.0.0.0/8 MPIHello.exe [AMAZONA-BMCKVD6:01240] procdir: C:\Users\GREENB~1\AppData\Local\Temp\2\openmpi-sessions-greenbutton@AMAZONA-BMCKVD6_0\63746\0\0 [AMAZONA-BMCKVD6:01240] jobdir
Re: [OMPI users] Using OpenMPI on a network
ct:* Re: [OMPI users] Building MPI on Windows Hmmm. Two things. Can you run helloworldMPI.exe on it's own? It should output "Number of threads = 1, My rank = 0" Also, can you post the output of ompi_info ? I think you might still have some path mixups. A successful OpenMPI build with this simple program should just work. If you still have the other OpenMPIs installed from the binaries, you might want to try uninstalling all of them and rebooting. Also if you rebuilt OpenMPI and helloworldMPI with VS 2010, make sure that helloworldMPI is actually linked to those VS2010 OpenMPI libs by setting the right lib path in the Linker options. Linking to VS2008 libs and trying to run with VS2010 dlls/exes could cause problems too. Damien On 15/06/2012 11:44 AM, vimalmat...@eaton.com <mailto:vimalmat...@eaton.com> wrote: Hi Damien, I installed MS Visual Studio 2010 and tried the whole procedure again and it worked! That's the great news. Now the bad news is that I'm trying to run the program again using mpiexec and it won't! I get these error messages: orte_rml_base_select failed orte_ess_set_name failed, with a bunch of text saying it could be due to configuration or environment problems and will make sense only to an OpenMPI developer. Help! -- Vimal *From:*users-boun...@open-mpi.org <mailto:users-boun...@open-mpi.org> [mailto:users-boun...@open-mpi.org] *On Behalf Of *Damien *Sent:* Thursday, June 14, 2012 4:55 PM *To:* Open MPI Users *Subject:* Re: [OMPI users] Building MPI on Windows You did build the project, right? The helloworldMPI.exe is in the Debug directory? On 14/06/2012 1:49 PM, vimalmat...@eaton.com <mailto:vimalmat...@eaton.com> wrote: No luck. Output: *Microsoft Windows [Version 6.1.7601]* *Copyright (c) 2009 Microsoft Corporation. All rights reserved.* ** *C:\Users\...>cd "C:\Users\C9995799\Downloads\helloworldMPI\Debug"* ** *C:\Users\...\Downloads\helloworldMPI\Debug>mpiexec -n 2 helloworldMPI.exe* *--* *mpiexec was unable to launch the specified application as it could not find an e* *xecutable:* ** *Executable: helloworldMPI.exe* *Node: SOUMIWHP5003567* ** *while attempting to start process rank 0.* *--* *2 total processes failed to start* ** *C:\Users\...\Downloads\helloworldMPI\Debug>* -- Vimal *From:*users-boun...@open-mpi.org <mailto:users-boun...@open-mpi.org> [mailto:users-boun...@open-mpi.org] *On Behalf Of *Damien *Sent:* Thursday, June 14, 2012 3:38 PM *To:* Open MPI Users *Subject:* Re: [OMPI users] Building MPI on Windows Here's a MPI Hello World project based on your code. It runs fine on my machine. You'll need to change the include and lib paths as we discussed before to match your paths, and copy those bin files over to the Debug directory. Run it with this to start: "mpiexec -n 1 helloworldMPI.exe". Then change the -n 1 to -n x where x is the number of cores you have. Say yes to allowing mpiexec firewall access if that comes up. If this bombs out, there's something wrong on your machine. Damien ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Mpiexec hanging when running "hello world" on 2 EC2 windows instances
iately if you or your employer does not consent to Internet e-mail for messages of this kind. * ** ** ** WARNING: This email contains an attachment of a very suspicious type. ** ** You are urged NOT to open this attachment unless you are absolutely ** ** sure it is legitimate. Opening this attachment may cause irreparable ** ** damage to your computer and your files. If you have any questions ** ** about the validity of this message, PLEASE SEEK HELP BEFORE OPENING IT. ** ** ** ** This warning was added by the IU Computer Science Dept. mail scanner. ** * ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Using OpenMPI on a network
SOUMIWHP5003567* ** *while attempting to start process rank 0.* *--* *2 total processes failed to start* ** *C:\Users\...\Downloads\helloworldMPI\Debug>* -- Vimal *From:*users-boun...@open-mpi.org <mailto:users-boun...@open-mpi.org> [mailto:users-boun...@open-mpi.org] *On Behalf Of *Damien *Sent:* Thursday, June 14, 2012 3:38 PM *To:* Open MPI Users *Subject:* Re: [OMPI users] Building MPI on Windows Here's a MPI Hello World project based on your code. It runs fine on my machine. You'll need to change the include and lib paths as we discussed before to match your paths, and copy those bin files over to the Debug directory. Run it with this to start: "mpiexec -n 1 helloworldMPI.exe". Then change the -n 1 to -n x where x is the number of cores you have. Say yes to allowing mpiexec firewall access if that comes up. If this bombs out, there's something wrong on your machine. Damien ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Building MPI on Windows
rg] On Behalf Of vimalmat...@eaton.com Sent: Wednesday, June 13, 2012 2:09 PM To: us...@open-mpi.org; us...@open-mpi.org Subject: Re: [OMPI users] Building MPI on Windows I've tried the Cygwin way. Been hitting roadblocks for a week now. I've just uninstalled everything and started from scratch again. -- Vimal -Original Message- From: users-boun...@open-mpi.org on behalf of Trent Creekmore Sent: Wed 6/13/2012 2:47 PM To: 'Open MPI Users' Subject: Re: [OMPI users] Building MPI on Windows This may, or may not be helpful, but I have tried the Windows offerings. I have never gotten anything to function was expected. Compiling, or the available binaries. I think they just don't work at all. My suggestion which I feel would be easier, and less headache way would be to install something like CygWin, which would give you a Unix/Linux like environment running under Windows. You would only need to compile it in CygWin just like the Linux/Unix docs say to do. I don't know if anyone else has done it this way or not. From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of vimalmat...@eaton.com Sent: Wednesday, June 13, 2012 1:32 PM To: us...@open-mpi.org Subject: [OMPI users] Building MPI on Windows Hi, I'm trying to follow the ReadMe file to build OpenMPI on Windows: Step 1: Untar the contrib/platform/win32/ompi-static.tgz tarball in the root directory of the Open MPI distribution. I do not have ompi-static.tgz in the mentioned path. Step 2: Go in the ompi/datatype subdirectory in the Open MPI distribution and copy the following: datatype_pack.c to datatype_pack_checksum.c datatype_unpack.c to datatype_unpack_checksum.c I do not see these files in the mentioned path. Step 4: Open the Open MPI project (.sln file) from the root directory of the distribution. I don't have a .sln file anywhere Help anyone? Shiqing? Thanks, Vimal From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of vimalmat...@eaton.com Sent: Wednesday, June 13, 2012 11:21 AM To: f...@hlrs.de Cc: us...@open-mpi.org Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) I did make uninstall. I also deleted the folders of the other implementation. I ran ./configure and make all install. At the end of the make I saw a bunch of errors for the makefiles. I've attached the .log and .out files. Please tell me if I'm on the right track. Thanks, Vimal From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Wednesday, June 13, 2012 9:37 AM To: Mathew, Vimal Cc: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Hi Vimal, I'm not sure how you can uninstall the other one, may be 'make uninstall' from the source? Or you may also ask in their mailing list. Another solution might use the full path for the executables, like "c:\Program Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: "/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c". Of course, I suggest to get rid of the other MPI implementation. Shiqing On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote: Hi Shiqing, I installed the LAN/MPI implementation first then the Open MPI implementation. Could this be the problem? If yes, how do I get rid of the LAN/MPI implementation? Thanks, Vimal From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Wednesday, June 13, 2012 4:49 AM To: Open MPI Users Cc: Mathew, Vimal Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Hi Vimal, The output looks strange. If you use the installer under Cygwin, mpicc shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I guess the mpicc is messed up with some previously installed MPI implementations. Could you please verify that 'which mpicc' is the one you installed? Anyway, here I sent some screen shots that how it should look like under Cygwin. 1 - run command 'mpicc chello.c' 2 - run command 'mpicc chello.c -o chello' Regards, Shiqing On 2012-06-12 8:44 PM, vimalmat...@eaton.com wrote: I ran OpenMPI_v1.6-1_win64.exe. Now I get this message: C9995799@SOUMIWHP5003567 ~/openmpi-1.6 $ mpicc hello.c -o hello WARNING: mpicc expected to find liblammpio.* in /usr/local/lib WARNING: MPI-2 IO support will be disabled gcc: hello.c: No such file or directory mpicc: No such file or directory -- Vimal -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:30 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Probably easier to just run the Open MPI binary installer. On Jun 12, 2012, at 2:24 PM, <vimalmat...@eaton.com> <mailto:vimalmat...@eaton.com> wrote: So I s
Re: [OMPI users] Building MPI on Windows
datatype_pack.c to datatype_pack_checksum.c datatype_unpack.c to datatype_unpack_checksum.c I do not see these files in the mentioned path. Step 4: Open the Open MPI project (.sln file) from the root directory of the distribution. I don't have a .sln file anywhere Help anyone? Shiqing? Thanks, Vimal From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of vimalmat...@eaton.com Sent: Wednesday, June 13, 2012 11:21 AM To: f...@hlrs.de Cc: us...@open-mpi.org Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) I did make uninstall. I also deleted the folders of the other implementation. I ran ./configure and make all install. At the end of the make I saw a bunch of errors for the makefiles. I've attached the .log and .out files. Please tell me if I'm on the right track. Thanks, Vimal From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Wednesday, June 13, 2012 9:37 AM To: Mathew, Vimal Cc: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Hi Vimal, I'm not sure how you can uninstall the other one, may be 'make uninstall' from the source? Or you may also ask in their mailing list. Another solution might use the full path for the executables, like "c:\Program Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: "/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c". Of course, I suggest to get rid of the other MPI implementation. Shiqing On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote: Hi Shiqing, I installed the LAN/MPI implementation first then the Open MPI implementation. Could this be the problem? If yes, how do I get rid of the LAN/MPI implementation? Thanks, Vimal From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Wednesday, June 13, 2012 4:49 AM To: Open MPI Users Cc: Mathew, Vimal Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Hi Vimal, The output looks strange. If you use the installer under Cygwin, mpicc shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I guess the mpicc is messed up with some previously installed MPI implementations. Could you please verify that 'which mpicc' is the one you installed? Anyway, here I sent some screen shots that how it should look like under Cygwin. 1 - run command 'mpicc chello.c' 2 - run command 'mpicc chello.c -o chello' Regards, Shiqing On 2012-06-12 8:44 PM, vimalmat...@eaton.com wrote: I ran OpenMPI_v1.6-1_win64.exe. Now I get this message: C9995799@SOUMIWHP5003567 ~/openmpi-1.6 $ mpicc hello.c -o hello WARNING: mpicc expected to find liblammpio.* in /usr/local/lib WARNING: MPI-2 IO support will be disabled gcc: hello.c: No such file or directory mpicc: No such file or directory -- Vimal -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:30 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Probably easier to just run the Open MPI binary installer. On Jun 12, 2012, at 2:24 PM, <vimalmat...@eaton.com> <mailto:vimalmat...@eaton.com> wrote: So I simply download and run OpenMPI_v1.6-1_win64.exe? Or is there a way to fix the Fortran compiler? -- Vimal -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:20 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) It does not look like you successfully built Open MPI -- it looks like Open MPI's configure script aborted because your Fortran compiler wasn't behaving: - checking if Fortran 77 compiler supports COMPLEX*16... yes checking size of Fortran 77 COMPLEX*16... 16 checking alignment of Fortran COMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32... no checking for max Fortran MPI handle index... ( 0x7fff < 2147483647 ? 0x7fff : 2147483647 ) checking Fortran value for .TRUE. logical type... configure: error: Could not determine value of Fortran .TRUE.. Aborting. - Anything that happened after that is somewhat irrelevant because Open MPI didn't configure properly. Looking in config.log, I see why: - configure:44290: checking Fortran value for .TRUE. logical type configure:44386: gcc -DNDEBUG -g -O2 -finline-functions -fno-strict-aliasing -I. -c conftest.c configure:44393: $? = 0 configure:44403: gfortran -o conftest conftest.o conftestf.f /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cyg
Re: [OMPI users] Building MPI on Windows
..@open-mpi.org Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) I did make uninstall. I also deleted the folders of the other implementation. I ran ./configure and make all install. At the end of the make I saw a bunch of errors for the makefiles. I've attached the .log and .out files. Please tell me if I'm on the right track. Thanks, Vimal From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Wednesday, June 13, 2012 9:37 AM To: Mathew, Vimal Cc: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Hi Vimal, I'm not sure how you can uninstall the other one, may be 'make uninstall' from the source? Or you may also ask in their mailing list. Another solution might use the full path for the executables, like "c:\Program Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: "/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c". Of course, I suggest to get rid of the other MPI implementation. Shiqing On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote: Hi Shiqing, I installed the LAN/MPI implementation first then the Open MPI implementation. Could this be the problem? If yes, how do I get rid of the LAN/MPI implementation? Thanks, Vimal From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Wednesday, June 13, 2012 4:49 AM To: Open MPI Users Cc: Mathew, Vimal Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Hi Vimal, The output looks strange. If you use the installer under Cygwin, mpicc shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I guess the mpicc is messed up with some previously installed MPI implementations. Could you please verify that 'which mpicc' is the one you installed? Anyway, here I sent some screen shots that how it should look like under Cygwin. 1 - run command 'mpicc chello.c' 2 - run command 'mpicc chello.c -o chello' Regards, Shiqing On 2012-06-12 8:44 PM, vimalmat...@eaton.com wrote: I ran OpenMPI_v1.6-1_win64.exe. Now I get this message: C9995799@SOUMIWHP5003567 ~/openmpi-1.6 $ mpicc hello.c -o hello WARNING: mpicc expected to find liblammpio.* in /usr/local/lib WARNING: MPI-2 IO support will be disabled gcc: hello.c: No such file or directory mpicc: No such file or directory -- Vimal -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:30 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Probably easier to just run the Open MPI binary installer. On Jun 12, 2012, at 2:24 PM, <vimalmat...@eaton.com> <mailto:vimalmat...@eaton.com> wrote: So I simply download and run OpenMPI_v1.6-1_win64.exe? Or is there a way to fix the Fortran compiler? -- Vimal -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:20 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) It does not look like you successfully built Open MPI -- it looks like Open MPI's configure script aborted because your Fortran compiler wasn't behaving: - checking if Fortran 77 compiler supports COMPLEX*16... yes checking size of Fortran 77 COMPLEX*16... 16 checking alignment of Fortran COMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32... no checking for max Fortran MPI handle index... ( 0x7fff < 2147483647 ? 0x7fff : 2147483647 ) checking Fortran value for .TRUE. logical type... configure: error: Could not determine value of Fortran .TRUE.. Aborting. - Anything that happened after that is somewhat irrelevant because Open MPI didn't configure properly. Looking in config.log, I see why: - configure:44290: checking Fortran value for .TRUE. logical type configure:44386: gcc -DNDEBUG -g -O2 -finline-functions -fno-strict-aliasing -I. -c conftest.c configure:44393: $? = 0 configure:44403: gfortran -o conftest conftest.o conftestf.f /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: reopening conftest.exe: Device or resource busy /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: final link failed: Device or resource busy collect2: ld returned 1 exit status configure:44410: $? = 1 configure:44427: error: Could not determine value of Fortran .TRUE.. Aborting. - All this may be irrelevant, though, because it looks like you're building on
Re: [OMPI users] Building MPI on Windows
h of errors for the makefiles. I've attached the .log and .out files. Please tell me if I'm on the right track. Thanks, Vimal From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Wednesday, June 13, 2012 9:37 AM To: Mathew, Vimal Cc: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Hi Vimal, I'm not sure how you can uninstall the other one, may be 'make uninstall' from the source? Or you may also ask in their mailing list. Another solution might use the full path for the executables, like "c:\Program Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: "/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c". Of course, I suggest to get rid of the other MPI implementation. Shiqing On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote: Hi Shiqing, I installed the LAN/MPI implementation first then the Open MPI implementation. Could this be the problem? If yes, how do I get rid of the LAN/MPI implementation? Thanks, Vimal From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Wednesday, June 13, 2012 4:49 AM To: Open MPI Users Cc: Mathew, Vimal Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Hi Vimal, The output looks strange. If you use the installer under Cygwin, mpicc shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I guess the mpicc is messed up with some previously installed MPI implementations. Could you please verify that 'which mpicc' is the one you installed? Anyway, here I sent some screen shots that how it should look like under Cygwin. 1 - run command 'mpicc chello.c' 2 - run command 'mpicc chello.c -o chello' Regards, Shiqing On 2012-06-12 8:44 PM, vimalmat...@eaton.com wrote: I ran OpenMPI_v1.6-1_win64.exe. Now I get this message: C9995799@SOUMIWHP5003567 ~/openmpi-1.6 $ mpicc hello.c -o hello WARNING: mpicc expected to find liblammpio.* in /usr/local/lib WARNING: MPI-2 IO support will be disabled gcc: hello.c: No such file or directory mpicc: No such file or directory -- Vimal -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:30 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Probably easier to just run the Open MPI binary installer. On Jun 12, 2012, at 2:24 PM, <vimalmat...@eaton.com> <mailto:vimalmat...@eaton.com> wrote: So I simply download and run OpenMPI_v1.6-1_win64.exe? Or is there a way to fix the Fortran compiler? -- Vimal -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:20 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) It does not look like you successfully built Open MPI -- it looks like Open MPI's configure script aborted because your Fortran compiler wasn't behaving: - checking if Fortran 77 compiler supports COMPLEX*16... yes checking size of Fortran 77 COMPLEX*16... 16 checking alignment of Fortran COMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32... no checking for max Fortran MPI handle index... ( 0x7fff < 2147483647 ? 0x7fff : 2147483647 ) checking Fortran value for .TRUE. logical type... configure: error: Could not determine value of Fortran .TRUE.. Aborting. - Anything that happened after that is somewhat irrelevant because Open MPI didn't configure properly. Looking in config.log, I see why: - configure:44290: checking Fortran value for .TRUE. logical type configure:44386: gcc -DNDEBUG -g -O2 -finline-functions -fno-strict-aliasing -I. -c conftest.c configure:44393: $? = 0 configure:44403: gfortran -o conftest conftest.o conftestf.f /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: reopening conftest.exe: Device or resource busy /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: final link failed: Device or resource busy collect2: ld returned 1 exit status configure:44410: $? = 1 configure:44427: error: Could not determine value of Fortran .TRUE.. Aborting. - All this may be irrelevant, though, because it looks like you're building on Windows. In that case, you might well want to just download the OMPI Windows binaries. I don't know offhand if we support building on Windows with the normal configure / make methodology; we normally use cmake to build from source on Windows. On Jun 12, 2012, at 1:2
Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)
Hi Vimal, I'm not sure how you can uninstall the other one, may be 'make uninstall' from the source? Or you may also ask in their mailing list. Another solution might use the full path for the executables, like "c:\Program Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: "/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c". Of course, I suggest to get rid of the other MPI implementation. Shiqing On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote: Hi Shiqing, I installed the LAN/MPI implementation first then the Open MPI implementation. Could this be the problem? If yes, how do I get rid of the LAN/MPI implementation? Thanks, Vimal *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:* Wednesday, June 13, 2012 4:49 AM *To:* Open MPI Users *Cc:* Mathew, Vimal *Subject:* Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Hi Vimal, The output looks strange. If you use the installer under Cygwin, mpicc shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I guess the mpicc is messed up with some previously installed MPI implementations. Could you please verify that 'which mpicc' is the one you installed? Anyway, here I sent some screen shots that how it should look like under Cygwin. 1 - run command 'mpicc chello.c' 2 - run command 'mpicc chello.c -o chello' Regards, Shiqing On 2012-06-12 8:44 PM, vimalmat...@eaton.com <mailto:vimalmat...@eaton.com> wrote: I ran OpenMPI_v1.6-1_win64.exe. Now I get this message: C9995799@SOUMIWHP5003567 ~/openmpi-1.6 $ mpicc hello.c -o hello WARNING: mpicc expected to find liblammpio.* in /usr/local/lib WARNING: MPI-2 IO support will be disabled gcc: hello.c: No such file or directory mpicc: No such file or directory -- Vimal -Original Message- From:users-boun...@open-mpi.org <mailto:users-boun...@open-mpi.org> [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:30 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Probably easier to just run the Open MPI binary installer. On Jun 12, 2012, at 2:24 PM,<vimalmat...@eaton.com> <mailto:vimalmat...@eaton.com> wrote: So I simply download and run OpenMPI_v1.6-1_win64.exe? Or is there a way to fix the Fortran compiler? -- Vimal -Original Message- From:users-boun...@open-mpi.org <mailto:users-boun...@open-mpi.org> [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:20 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) It does not look like you successfully built Open MPI -- it looks like Open MPI's configure script aborted because your Fortran compiler wasn't behaving: - checking if Fortran 77 compiler supports COMPLEX*16... yes checking size of Fortran 77 COMPLEX*16... 16 checking alignment of Fortran COMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32... no checking for max Fortran MPI handle index... ( 0x7fff< 2147483647 ? 0x7fff : 2147483647 ) checking Fortran value for .TRUE. logical type... configure: error: Could not determine value of Fortran .TRUE.. Aborting. - Anything that happened after that is somewhat irrelevant because Open MPI didn't configure properly. Looking in config.log, I see why: - configure:44290: checking Fortran value for .TRUE. logical type configure:44386: gcc -DNDEBUG -g -O2 -finline-functions -fno-strict-aliasing -I. -c conftest.c configure:44393: $? = 0 configure:44403: gfortran -o conftest conftest.o conftestf.f /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: reopening conftest.exe: Device or resource busy /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: final link failed: Device or resource busy collect2: ld returned 1 exit status configure:44410: $? = 1 configure:44427: error: Could not determine value of Fortran .TRUE.. Aborting. - All this may be irrelevant, though, because it looks like you're building on Windows. In that case, you might well want to just download the OMPI Windows binaries. I don't know offhand if we support building on Windows with the normal configure / make methodology; we normally use cmake to build from source on Windows. On Jun 12, 2012, at 1:25 PM,<vimalmat...@eaton.com> <mailto:vimalmat...@eaton.com> wrote: Hi, I was directed to the OpenMPI webs
Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)
Hi Vimal, The output looks strange. If you use the installer under Cygwin, mpicc shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I guess the mpicc is messed up with some previously installed MPI implementations. Could you please verify that 'which mpicc' is the one you installed? Anyway, here I sent some screen shots that how it should look like under Cygwin. 1 - run command 'mpicc chello.c' 2 - run command 'mpicc chello.c -o chello' Regards, Shiqing On 2012-06-12 8:44 PM, vimalmat...@eaton.com wrote: I ran OpenMPI_v1.6-1_win64.exe. Now I get this message: C9995799@SOUMIWHP5003567 ~/openmpi-1.6 $ mpicc hello.c -o hello WARNING: mpicc expected to find liblammpio.* in /usr/local/lib WARNING: MPI-2 IO support will be disabled gcc: hello.c: No such file or directory mpicc: No such file or directory -- Vimal -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:30 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) Probably easier to just run the Open MPI binary installer. On Jun 12, 2012, at 2:24 PM,<vimalmat...@eaton.com> wrote: So I simply download and run OpenMPI_v1.6-1_win64.exe? Or is there a way to fix the Fortran compiler? -- Vimal -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: Tuesday, June 12, 2012 2:20 PM To: Open MPI Users Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found) It does not look like you successfully built Open MPI -- it looks like Open MPI's configure script aborted because your Fortran compiler wasn't behaving: - checking if Fortran 77 compiler supports COMPLEX*16... yes checking size of Fortran 77 COMPLEX*16... 16 checking alignment of Fortran COMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32... no checking for max Fortran MPI handle index... ( 0x7fff< 2147483647 ? 0x7fff : 2147483647 ) checking Fortran value for .TRUE. logical type... configure: error: Could not determine value of Fortran .TRUE.. Aborting. - Anything that happened after that is somewhat irrelevant because Open MPI didn't configure properly. Looking in config.log, I see why: - configure:44290: checking Fortran value for .TRUE. logical type configure:44386: gcc -DNDEBUG -g -O2 -finline-functions -fno-strict-aliasing -I. -c conftest.c configure:44393: $? = 0 configure:44403: gfortran -o conftest conftest.o conftestf.f /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: reopening conftest.exe: Device or resource busy /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: final link failed: Device or resource busy collect2: ld returned 1 exit status configure:44410: $? = 1 configure:44427: error: Could not determine value of Fortran .TRUE.. Aborting. - All this may be irrelevant, though, because it looks like you're building on Windows. In that case, you might well want to just download the OMPI Windows binaries. I don't know offhand if we support building on Windows with the normal configure / make methodology; we normally use cmake to build from source on Windows. On Jun 12, 2012, at 1:25 PM,<vimalmat...@eaton.com> wrote: Hi, I was directed to the OpenMPI website from the Boost Libraries page to install an MPI Installation. I've followed all the steps in the installation guide to configure and build MPI. When I try to compile the hello.c program which contains . I get an error message saying mpi.h does not exist I've attached the config.log, config.out, make.out , ompi_info all and make-install.out files. Any help will be greatly appreciated! Thanks, Vimal Mathew ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(
Re: [OMPI users] scope of MPI_publish/Lookup_name of openmpi on windows 7
Hi Toufik, I'm not 100% sure about this. Could you provide a small example that I can test on? Thanks. Regards, Shiqing On 2012-04-17 4:43 PM, toufik hadjazi wrote: Hi, does openmpi (installed on windows 7) support name publication throw different jobs? if yes, how to make two different jobs communicate using the name of the server ? best regards, Toufik. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio
Hi Toufik, That might explain something. Open MPI detects that you have CCP installed on your system, which actually doesn't work. Could you please check if CCP has been removed completely? Run "set" command to make sure there is no CCP_* env variable any more. That should solve the problem. Regards, Shiqing On 2012-04-16 3:07 PM, toufik hadjazi wrote: Hi Jayesh, I am working on a 32-bit windows 7 and yes, I had a HPC pack installed but i removed it before installing openMPI. best regards, Toufik. Date: Mon, 16 Apr 2012 10:47:43 +0200 From: f...@hlrs.de To: us...@open-mpi.org CC: h_touf...@hotmail.fr Subject: Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio Hi Toufik, Do you have a HPC pack or CCP installed on your windows 7? It seems that Open MPI is trying to use ccp to allocate resources. Is your windows 7 64 bit or 32 bit? Regards, Shiqing On 2012-04-10 7:43 PM, toufik hadjazi wrote: Hi, even when i try to run : ompi_clean.exe or any other commande in the commande line with a supervisor account it fails and gives me the same error message. best regards, Toufik From: h_touf...@hotmail.fr <mailto:h_touf...@hotmail.fr> To: f...@hlrs.de <mailto:f...@hlrs.de>; us...@open-mpi.org <mailto:us...@open-mpi.org> Date: Tue, 10 Apr 2012 17:34:23 + Subject: Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio Hi, still not working for me :( (PS: it compiles well without any error but it fails in the execution). the error message is : [Toufik-PC:05628] [[21037,0],0] ORTE_ERROR_LOG: Error in file ..\..\..\openmpi-1.5.4\orte\mca\ess\hnp\ess_hnp_module.c at line 215 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_rml_base_select failed --> Returned value Error (-1) instead of ORTE_SUCCESS best regards, Toufik > Date: Mon, 9 Apr 2012 22:13:20 +0200 > From: f...@hlrs.de <mailto:f...@hlrs.de> > To: us...@open-mpi.org <mailto:us...@open-mpi.org> > CC: greg.bl...@morgansolar.com <mailto:greg.bl...@morgansolar.com> > Subject: Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio > > Hi Greg, > > Glad to hear that it works for you. > > And yes, these definitions are necessary for compiling any MPI > application on Windows. > > > Regards, > Shiqing > > On 2012-04-09 6:12 PM, Greg Blair wrote: > > After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without incident. > > > > However, neither 1.54 nor 1.55 would link any reference to comm_world > > generated > > from C or C++ until we defined the following three compiler defines > > 1. OMPI_IMPORTS > > 2. OPAL_IMPORTS > > 3. ORTE_IMPORTS > > > > (drill down the MSVC IDE menu system: View Solution Explorer, > > Solution explorer, properties, C/C++, Preprocessor, Preprocessor > > Definitions and set OMPI_IMPORTS OPAL_IMPORTS and ORTE_IMPORTS) > > > > On 4/9/12, Greg Blair<greg.bl...@morgansolar.com> <mailto:greg.bl...@morgansolar.com> wrote: > >> After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without > >> incident. > >> > >> However, neither 1.54 nor 1.55 would link any reference to comm_world > >> from C or C++ until we defined the following three compile defines > >> > > > > > -- > ----------- > Shiqing Fan > High Performance Computing Center Stuttgart (HLRS) > Tel: ++49(0)711-685-87234 Nobelstrasse 19 > Fax: ++49(0)711-685-65832 70569 Stuttgart > http://www.hlrs.de/organization/people/shiqing-fan/ > email: f...@hlrs.de <mailto:f...@hlrs.de> > > ___ > users mailing list > us...@open-mpi.org <mailto:us...@open-mpi.org> > http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio
Hi Jeff, They are definitions for enabling dllexport/import declarations on Windows, and they existed since the initial version for Cygwin. Normally these definitions are hidden via mpicc command wrapper, but on Windows, when user tries to compile a project in Visual Studio, they have to be added manually. I think there might be some workaround to get rid of them. Need some time to test. Regards, Shiqing On 2012-04-16 3:48 PM, Jeffrey Squyres wrote: Shiqing -- What are these defines? Shouldn't they be invisible when compiling MPI applications? On Apr 9, 2012, at 4:13 PM, Shiqing Fan wrote: Hi Greg, Glad to hear that it works for you. And yes, these definitions are necessary for compiling any MPI application on Windows. Regards, Shiqing On 2012-04-09 6:12 PM, Greg Blair wrote: After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without incident. However, neither 1.54 nor 1.55 would link any reference to comm_world generated from C or C++ until we defined the following three compiler defines 1. OMPI_IMPORTS 2. OPAL_IMPORTS 3. ORTE_IMPORTS (drill down the MSVC IDE menu system: View Solution Explorer, Solution explorer, properties, C/C++, Preprocessor, Preprocessor Definitions and set OMPI_IMPORTS OPAL_IMPORTS and ORTE_IMPORTS) On 4/9/12, Greg Blair<greg.bl...@morgansolar.com> wrote: After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without incident. However, neither 1.54 nor 1.55 would link any reference to comm_world from C or C++ until we defined the following three compile defines -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio
Hi Toufik, Do you have a HPC pack or CCP installed on your windows 7? It seems that Open MPI is trying to use ccp to allocate resources. Is your windows 7 64 bit or 32 bit? Regards, Shiqing On 2012-04-10 7:43 PM, toufik hadjazi wrote: Hi, even when i try to run : ompi_clean.exe or any other commande in the commande line with a supervisor account it fails and gives me the same error message. best regards, Toufik From: h_touf...@hotmail.fr To: f...@hlrs.de; us...@open-mpi.org Date: Tue, 10 Apr 2012 17:34:23 + Subject: Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio Hi, still not working for me :( (PS: it compiles well without any error but it fails in the execution). the error message is : [Toufik-PC:05628] [[21037,0],0] ORTE_ERROR_LOG: Error in file ..\..\..\openmpi-1.5.4\orte\mca\ess\hnp\ess_hnp_module.c at line 215 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_rml_base_select failed --> Returned value Error (-1) instead of ORTE_SUCCESS best regards, Toufik > Date: Mon, 9 Apr 2012 22:13:20 +0200 > From: f...@hlrs.de > To: us...@open-mpi.org > CC: greg.bl...@morgansolar.com > Subject: Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio > > Hi Greg, > > Glad to hear that it works for you. > > And yes, these definitions are necessary for compiling any MPI > application on Windows. > > > Regards, > Shiqing > > On 2012-04-09 6:12 PM, Greg Blair wrote: > > After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without incident. > > > > However, neither 1.54 nor 1.55 would link any reference to comm_world > > generated > > from C or C++ until we defined the following three compiler defines > > 1. OMPI_IMPORTS > > 2. OPAL_IMPORTS > > 3. ORTE_IMPORTS > > > > (drill down the MSVC IDE menu system: View Solution Explorer, > > Solution explorer, properties, C/C++, Preprocessor, Preprocessor > > Definitions and set OMPI_IMPORTS OPAL_IMPORTS and ORTE_IMPORTS) > > > > On 4/9/12, Greg Blair<greg.bl...@morgansolar.com> wrote: > >> After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without > >> incident. > >> > >> However, neither 1.54 nor 1.55 would link any reference to comm_world > >> from C or C++ until we defined the following three compile defines > >> > > > > > -- > ----------- > Shiqing Fan > High Performance Computing Center Stuttgart (HLRS) > Tel: ++49(0)711-685-87234 Nobelstrasse 19 > Fax: ++49(0)711-685-65832 70569 Stuttgart > http://www.hlrs.de/organization/people/shiqing-fan/ > email: f...@hlrs.de > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] OpenMpi on a windows Xp tcp network
Hi Bradi, Yes, as you are on an XP machine, the io forwarding is not working for Open MPI. So you won't see the remote output from the local command windows. The only way is to direct the output into a file, for example: mpirun -n 2 app.exe > output.txt . This will generate the output file on remote computer under the same path where you run on local computer. Regards, Shiqing On 2012-04-15 10:11 AM, Bradi Rares wrote: Hello, I have 2 windows Xp computers connected through an ethernet network. I have installed openMPI using the windows installer OpenMPI_v1.5.4-1_win32.exe <http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.4-1_win32.exe> on every computer. I have set the LD_LIBRARY_PATH variable to "C:\Program Files\OpenMPI_v1.5.4-win32\lib" (this is the directory where the installation extracted my files) and the PATH "C:\Program Files\OpenMPI_v1.5.4-win32\bin". I have configured the 2 computers so that I can launch processes remotely. The command used to launch the process is *mpirun -H Cooler.lan,mugiwara-4adeb0 -n 2 MPI1.exe *where the program simply outputs the rank and the processor name. My problem is that the output is not collected to the stdout of the rank 0 process. On the remote machine I simply see that the process is launched and when execution finishes is destroyed. I want to find a solution to this , because I have no ideea what could be causing this. Please if you could suggest a solution to my problem I would be very thankful. The process can be launched locally with success. ethNode1.txt contains the ipconfig /all on node 1, ompi_infoNode1.txt contains the result of command *ompi_info -v ompi full --parsable *and ompi_info.txt the result of ompi_info -all command. Thank-you in advance. * ** ** ** WARNING: This email contains an attachment of a very suspicious type. ** ** You are urged NOT to open this attachment unless you are absolutely ** ** sure it is legitimate. Opening this attachment may cause irreparable ** ** damage to your computer and your files. If you have any questions ** ** about the validity of this message, PLEASE SEEK HELP BEFORE OPENING IT. ** ** ** ** This warning was added by the IU Computer Science Dept. mail scanner. ** * ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Myid changes to 0 after using a mpi_recv
1, MPI_COMM_WORLD, ierr ) > print 10, flag2, myid >10format('Master says, Flag2: ',i0.1, ' MyID: ', i0.1) > enddo > c -- > c Slave portion > c -- > elseif (myid.ne.0) then > c to see ID before mpi_rcv > print *, 'Slave: ', myid > call mpi_recv( flag, 1, MPI_INTEGER, 0, > + 1, MPI_COMM_WORLD, status, ierr ) > c check myid after recv which turns to 0 on my environment > print 9, flag, myid >9 format('Slave says, Flag: ',i0.1, ' MyID: ', i0.1) > call mpi_recv( flag2, 1, MPI_INTEGER, 0, > + 1, MPI_COMM_WORLD, status, ierr ) > print 11, flag2, myid >11format('Slave says, Flag2: ',i0.1, ' MyID: ', i0.1) > endif > > call mpi_finalize(rc) > stop > end > c -- > > Simple makefile for my environment: > # > # MPI makefile > # > #INSTALL_DIR = ./ > F77= x86_64-w64-mingw32-gfortran > # Progra~2 because it is located in Program Files (x86) > LIB= -L/cygdrive/c/Progra~2/OpenMPI_v1.5.5-x64/bin > INCLUDE= -I/cygdrive/c/Progra~2/OpenMPI_v1.5.5-x64/include > FFLAGS= > MAKE= make > SHELL= /bin/sh > # > ### End User configurable options ### > > SRC1= mpihello > OBJS= $(SRC1).o > > pikaia : $(OBJS) > $(F77) $(FFLAGS) -o mpihello $(OBJS) $(LIB) -lmpi_f77 > #rm -f *.o > > $(SRC1).o : $(SRC1).f > $(F77) $(FFLAGS) $(INCLUDE) -c $(SRC1).f > > So I am wondering if this is something that is an issue with the current build of openMPI , if I am missing something or if it's my convoluted environment. Attached is the source and makefile of what is above and then my built .exe and a libgcc_s_sjlj-1.dll to run the .exe. > > Thank you for the help > > -- > AMorgan > > > > ___ > users mailing list > us...@open-mpi.org <mailto:us...@open-mpi.org> > http://www.open-mpi.org/mailman/listinfo.cgi/users -- Jeff Squyres jsquy...@cisco.com <mailto:jsquy...@cisco.com> For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- *AMorgan* _______ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio
Hi Greg, Glad to hear that it works for you. And yes, these definitions are necessary for compiling any MPI application on Windows. Regards, Shiqing On 2012-04-09 6:12 PM, Greg Blair wrote: After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without incident. However, neither 1.54 nor 1.55 would link any reference to comm_world generated from C or C++ until we defined the following three compiler defines 1. OMPI_IMPORTS 2. OPAL_IMPORTS 3. ORTE_IMPORTS (drill down the MSVC IDE menu system: View Solution Explorer, Solution explorer, properties, C/C++, Preprocessor, Preprocessor Definitions and set OMPI_IMPORTS OPAL_IMPORTS and ORTE_IMPORTS) On 4/9/12, Greg Blair<greg.bl...@morgansolar.com> wrote: After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without incident. However, neither 1.54 nor 1.55 would link any reference to comm_world from C or C++ until we defined the following three compile defines -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio
Hi Toufik, Could you please try the 1.5.5 installer? http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.5-1_win32.exe Please let me know if it works for you. Thanks. Shiqing On 2012-04-02 8:02 PM, toufik hadjazi wrote: Hi Shiqing, i haven't yet find a solution and for the record, i have installed openmpi from an executable on windows 7(i don't know if i mentioned that before). at first, i had an error message while compiling the hello world application : unresolved link or something like that, then i added "OMPI_IMPORTS" to the configuration of visual studio it's here when i got the error message described before. and for the output of ompi_info it's attached to this email. best regards. Toufik ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio
Hi Toufik Sorry for answering late. Have you found a solution for this problem? Could you please provide me some information of your CMake configuration and an output of ompi_info? This might be helpful for me to know what is wrong. Regards, Shiqing On 2012-03-19 11:57 AM, Toufik wrote: Hi everybody, I'm trying lately to configure openmpi with visual studio 2010, i did all the linking staff but i keep getting this message : [Toufik-PC:05628] [[21037,0],0] ORTE_ERROR_LOG: Error in file ..\..\..\openmpi-1.5.4\orte\mca\ess\hnp\ess_hnp_module.c at line 215 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_rml_base_select failed --> Returned value Error (-1) instead of ORTE_SUCCESS could anybody tell me what the problem could be 'cause i don't really know what to do. Thanks& regards, Toufik ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] OpenMPI at windows
Hi Tal, The released Windows binaries are built only for Microsoft VS compilers. If you want to use gcc and g++, you have to build Open MPI by yourself using CMake. Just select "MSYS Makefiles" as the generator, you can build binaries under MinGW. Please note that, this is only supported for 32bit MinGW, and there may be run-time problems, as it is still experimental. Regards, Shiqing On 2012-02-26 7:33 AM, Tal Regev wrote: Hi all, I am using windows 7 64 bit, and i want to compile with mpicc and mpic++. i download OpenMPI_v1.5.4-1_win32.exe <http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.4-1_win32.exe> and when i compile with it, it say i need lc.exe. there is a way to config mpicc and mpic++ to use customize compiler? I want that mpicc.exe will use mingw gcc -> gcc.exe and mpic++ will use mingw g++ -> g++.exe. can you help me what I need to do? thx Tal. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] O-MPI Support for Windows 7
I'm afraid "--mca plm rsh" is not going to work. James is using a Windows build, which doesn't have the rsh plm module. There are only two plm modules for windows: MCA plm: process (MCA ... MCA plm: ccp (MCA ... I think the binaries built by James contains only the process module, which is internaly using WMI. So there is no way to switch to ssh or rsh, because they are not built. To use ssh, one has to build Open MPI source under Cygwin, using the auto-tools chain (the same as on Linux). Unfortunately, the CMake support in OMPI was only for the native windows build, it won't work under Cygwin. On 2012-02-07 1:51 PM, George Bosilca wrote: Let's try to force the usage of ssh. First try: mpirun --mca plm rsh hostname If not, go in the installation directory and rename lib/openmpi/mca_plm_rsh.* to something without the .la and .so extension. Then re-run the hostname via mpirun. george. On Feb 7, 2012, at 06:32 , James Torossian wrote: Hi Shiqing, I agree. I think that I am somehow using WMI, but this is happening both with the Open-MPI windows binary (OpenMPI_v1.5.4-1_win32.exe) and also with versions of the binaries I built (1.4.3 & 1.5.1 from svn). What do I have to do to get OpenMPI to use ssh instead of WMI. From what I can see of the configuration with ompi_info, the following seems correct: $ ompi_info -all Package: Open MPI hpcfan@VISCLUSTER26 Distribution Open MPI: 1.5.4 Open MPI SVN revision: r25060 Open MPI release date: Aug 18, 2011 Open RTE: 1.5.4 Open RTE SVN revision: r25060 Open RTE release date: Aug 18, 2011 OPAL: 1.5.4 OPAL SVN revision: r25060 OPAL release date: Aug 18, 2011 Ident string: 1.5.4 …. MCA orte: parameter "orte_rsh_agent" (current value: , …. …. MCA plm: parameter "plm_rsh_agent" (current value: , …. …. Is there a cmake configuration option I need to set for a Windows build to use ssh? Is there some environment or package configuration option I need to set? Thanks again for your help, I am keen to know what I am missing. Best regards, Jim *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:*Tuesday, February 07, 2012 8:20 PM *To:*Open MPI Users; james.toross...@essetek.com <mailto:james.toross...@essetek.com> *Cc:*Ralph Castain *Subject:*Re: [OMPI users] O-MPI Support for Windows 7 Hi James, One other possibility could be that ssh is actually not used at all. Did you build Open MPI under Cygwin? Is the ssh module shown up in the ompi_info output? The user credential message looks very familiar to me as it seems from the WMI (Windows Management Instrumentation) module, where the 'save credential' option has not been implemented. Shiqing On 2012-02-07 4:11 AM, Ralph Castain wrote: Afraid I'm no OpenSSH expert, but it sounds like there is an issue with its configuration. Check out the OpenSSH config options to see if something fits. I did a quick search and found this, as an example: http://mah.everybody.org/docs/ssh Note the need to run ssh-agent to cache login credentials. On Feb 6, 2012, at 5:05 PM, James Torossian wrote: Hi all, I am trying to setup Open-MPI across two Windows 7 machines with UAC disabled …… Cygwin with OpenSSH is installed, and I can successfully ssh to each machine without entry of username and password: JimT@JimT-PC ~ $ ssh NanoOneQuad Last login: Tue Feb 7 01:42:02 2012 from jimt-pc JimT@NanoOneQuad ~ $ Regardless of this, mpirun insists on asking for a username and password; then asks to save credentials, but if selected, responds with not implemented. If saving credentials is not selected, then I can see that the task starts on the other machine (in task manager) and that the task runs to completion OK: JimT@JimT-PC ~ $ mpirun -H NanoOneQuad ipconfig.exe connecting to NanoOneQuad username:JimT password:** Save Credential?(Y/N) y [JimT-PC:03784] This feature hasn't been implemented yet. JimT@JimT-PC ~ $ mpirun -H NanoOneQuad ipconfig.exe connecting to NanoOneQuad username:JimT password:** Save Credential?(Y/N) n JimT@JimT-PC ~ $ Please let me know what I have missed. I have gone through the FAQs and have rebuilt the windows version but can’t seem to get past this. Thanks and best regards, Jim ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email:f...@hlrs.de <mailto:f...@hlrs.de> ___ users mailing list us...@open-m
Re: [OMPI users] O-MPI Support for Windows 7
Hi James, One other possibility could be that ssh is actually not used at all. Did you build Open MPI under Cygwin? Is the ssh module shown up in the ompi_info output? The user credential message looks very familiar to me as it seems from the WMI (Windows Management Instrumentation) module, where the 'save credential' option has not been implemented. Shiqing On 2012-02-07 4:11 AM, Ralph Castain wrote: Afraid I'm no OpenSSH expert, but it sounds like there is an issue with its configuration. Check out the OpenSSH config options to see if something fits. I did a quick search and found this, as an example: http://mah.everybody.org/docs/ssh Note the need to run ssh-agent to cache login credentials. On Feb 6, 2012, at 5:05 PM, James Torossian wrote: Hi all, I am trying to setup Open-MPI across two Windows 7 machines with UAC disabled .. Cygwin with OpenSSH is installed, and I can successfully ssh to each machine without entry of username and password: JimT@JimT-PC ~ $ ssh NanoOneQuad Last login: Tue Feb 7 01:42:02 2012 from jimt-pc JimT@NanoOneQuad ~ $ Regardless of this, mpirun insists on asking for a username and password; then asks to save credentials, but if selected, responds with not implemented. If saving credentials is not selected, then I can see that the task starts on the other machine (in task manager) and that the task runs to completion OK: JimT@JimT-PC ~ $ mpirun -H NanoOneQuad ipconfig.exe connecting to NanoOneQuad username:JimT password:** Save Credential?(Y/N) y [JimT-PC:03784] This feature hasn't been implemented yet. JimT@JimT-PC ~ $ mpirun -H NanoOneQuad ipconfig.exe connecting to NanoOneQuad username:JimT password:** Save Credential?(Y/N) n JimT@JimT-PC ~ $ Please let me know what I have missed. I have gone through the FAQs and have rebuilt the windows version but can't seem to get past this. Thanks and best regards, Jim ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Openmpi in Mingw
Hi, Are you using 32 bit Windows or 64 bit? Because as far as I know, the build for 64 bit windows with MinGW is not working. Which CMake Generator did you use? Did you run CMake from the MSYS command window? Thanks, Shiqing On 2012-01-24 9:24 PM, Temesghen Kahsai wrote: Hello, I am having truble compiling openmpi (version 1.5.5rc2r25765 - nightly built) on Mingw. I am running Windows 7 and the latest version of Mingw. I keep on getting the following error: In file included from ../../opal/include/opal_config_bottom.h:258:0, from ../../opal/include/opal_config.h:2327, from asm.c:19: ../../opal/win32/win_compat.h:93:14: error: conflicting types for 'ssize_t' c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/sys/types.h:118:18: note: previous declaration of 'ssize_t' wa s here In file included from ../../opal/include/opal_config_bottom.h:258:0, from ../../opal/include/opal_config.h:2327, from asm.c:19: ../../opal/win32/win_compat.h:321:0: warning: "OPAL_HAVE_HWLOC" redefined [enabled by default] ../../opal/include/opal_config.h:1876:0: note: this is the location of the previous definition In file included from ../../opal/include/opal_config.h:2327:0, from asm.c:19: ../../opal/include/opal_config_bottom.h:559:0: warning: "PF_UNSPEC" redefined [enabled by default] c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:368:0: note: this is the location of the previous definition ../../opal/include/opal_config_bottom.h:562:0: warning: "AF_INET6" redefined [enabled by default] c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:329:0: note: this is the location of the previous definition ../../opal/include/opal_config_bottom.h:565:0: warning: "PF_INET6" redefined [enabled by default] c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:392:0: note: this is the location of the previous definition Thank you. T ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] How to configure Intel Visual Fortran to work with OpenMPI
Hi, I made a binary package based on the current 1.5 rc2. Please find it in the download link here: http://db.tt/AXJF40ph. It should work on your win XP. Thanks a lot for testing it. Regards, Shiqing On 2012-01-19 8:36 AM, Robert garcia wrote: Thanks for clarification, For now I 'll stick with current version of Win32 XP , if it's not a heavy workload, could you build a binary package ? Regards, Date: Wed, 18 Jan 2012 23:38:06 +0100 From: f...@hlrs.de To: us...@open-mpi.org CC: robertgarcia2...@hotmail.com Subject: Re: [OMPI users] How to configure Intel Visual Fortran to work with OpenMPI Hi Robert, This is a known issue. The released binary was built on Windows Server 2008, which has newer Windows system dependencies. We have fixed this problem and it is included for the next release. If you don't want to switch to another Windows version, I can build one working binary package and pass it to you off-list, meanwhile, you can also wait for the upcoming release. Best Regards, Shiqing On 2012-01-18 6:21 PM, Robert garcia wrote: hi all, I'm experiencing a difficulty when I'm trying to run the fortran code which which uses parallel processing. I started with downloading the /"OpenMPI_v1.5.4-1_win32.exe/ <http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.4-1_win32.exe>" I've configured everything in IVF to point out to the correct static libs and search paths, also set the enviromental variables Path to directory where OpenMPI dll's(e.g. libmpi.dll, libmpid.dll etc..) reside. Program compiles and links properly till the message pops out like "The procedure entry point InterlockedCompareExchange64 could not be located in the dynamic link library KERNEL32.dll" What can be the problem ? Regards, ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email:f...@hlrs.de <mailto:f...@hlrs.de> -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] How to configure Intel Visual Fortran to work with OpenMPI
Hi Robert, This is a known issue. The released binary was built on Windows Server 2008, which has newer Windows system dependencies. We have fixed this problem and it is included for the next release. If you don't want to switch to another Windows version, I can build one working binary package and pass it to you off-list, meanwhile, you can also wait for the upcoming release. Best Regards, Shiqing On 2012-01-18 6:21 PM, Robert garcia wrote: hi all, I'm experiencing a difficulty when I'm trying to run the fortran code which which uses parallel processing. I started with downloading the /"OpenMPI_v1.5.4-1_win32.exe/ <http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.4-1_win32.exe>" I've configured everything in IVF to point out to the correct static libs and search paths, also set the enviromental variables Path to directory where OpenMPI dll's(e.g. libmpi.dll, libmpid.dll etc..) reside. Program compiles and links properly till the message pops out like "The procedure entry point InterlockedCompareExchange64 could not be located in the dynamic link library KERNEL32.dll" What can be the problem ? Regards, ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] feature requests: mpic++ to report both release and debug flags
Hi MM, Actually option 3 has already been implemented for Windows build, and it seems adequate. But it was not targeting for the windows binary, as only quite a few users require this feature. When enabling WANT_EXE_DEBUG_POSTFIX option in CMake GUI, the build system will generate mpic++.exe (release) and mpic++d.exe (debug), and also their wrapper data files. So it is possible so just use mpic++ -showsome for release options and mpic++d -showsome for debug options. Is this what you are looking for? If it is really necessary, I don't see any problem to include it in the windows binary releases. I don't know how this is done on Linux system, can anyone comment? Regards, Shiqing On 2012-01-16 3:51 PM, MM wrote: Hello, It would be useful for the end user to use mpic++ to obtain the compile and link flags for both release and debug builds. There is a number of possible solutions: 1.add the showme flags of mpic++ and any other similar binary to something like -showme:compile_debug -showme:compile_release -showme:link_release -showme:link_debug 2.add a -showme_debug flag to tune the -showme:compile -showme:link 3.have 2 versions of the binary mpic++(release) and mpic++(debug) 4.have 1 version of the mpic++ but 2 versions of the of wrapper-data.txt file 5.have 1 version of mpic++ and 1 version of the wrapper-data file, and 2 sections in the wrapper-data file It would be great to have this delivered in the win binaries package (include both release and debug libs, that's already the case), and advise 3rd party packagers on unix/linux/mac distributions to do similarily It would be also useful to publish the cmake flags used by default to produce the win binaries I am available to test the packages if possible, also is there a wiki for requests or a similar system where I should file the above. MM Regards, *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:* 19 November 2011 04:44 *To:* Open MPI Users *Cc:* MM *Subject:* Re: [OMPI users] mpic++-wrapper-data.txt msvc10 Release/Debug 1.5.4 Hi, There is no easy solution. But you can try to use WANT_EXE_DEBUG_POSTFIX option in CMake GUI. Enabling this option will generate different executable.library names for debug and release build. For example, mpic++d.exe for debug and mpic++.exe for release. For you case, just build both debug and release version of Open MPI 1.5.4, and install them into the same path, you will get two sets of executables/libraries (with "d" postfix for debug version) and mpic++ config files (mpic++d-wrapper-data.txt for debug version). Then just append your own debug/release compile options in the config files, and build with boost mpi as you need. Hope this helps. Regards, Shiqing On 2011-11-18 9:44 PM, MM wrote: Hello, Compiling boost mpi library uses mpic++ to get the compile flags to pass to cl.exe and link libs to pass to the linker. In my case: >>> mpic++ -showme:compile /I"C:\Program Files\openmpi\bin/../include" /TP /EHsc */MD* >>> mpic++ -showme:link /link /LIBPATH:"C:\Program Files\openmpi\bin/../lib" *libmpi_cxx.lib libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib* To choose Release build or Debug build, is it possible to use mpic++-wrapper-data.txt to specify both options? Release */MD* *libmpi_cxx.lib libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib* ** Debug */MDd* *libmpi_cxxd.lib libmpid.lib libopen-pald.lib libopen-rted.lib advapi32.lib Ws2_32.lib shlwapi.lib* is there a debug version of "*advapi32.lib Ws2_32.lib shlwapi.lib"* ** For now, I will just override that file for Release, build boost mpi, override for Debug, build for Debug. thanks, MM ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email:f...@hlrs.de <mailto:f...@hlrs.de> -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Problem launching application on windows
Hi Alex, Have you solved the problem? Another user also spotted the same problem but under Cygwin. Did you also see the problem under Cygwin, or in normal Windows command prompt? Actually, there shouldn't be anything wrong with sockets in Open MPI to cause such errors anymore, but they of course won't work correctly under Cygwin in some cases. Regards, Shiqing On 2011-10-28 1:33 PM, Alex van 't Veer wrote: Hi Shiqing, Unfortunately that did not solve the problem. Can you tell me something more about how the sockets work and how they could get corrupted? Maybe I can figure out what is going wrong. Thanks *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:* Friday, October 28, 2011 12:16 PM *To:* Open MPI Users *Cc:* Alex van 't Veer *Subject:* Re: [OMPI users] Problem launching application on windows Hi, This looks not normal, because this error might happen mainly by improper sockets. I don't have any clue at moment, as I can't reproduce it. Could you try to reinstall Open MPI? And make sure there is no other installation on your system. If this is still not working, try using Open MPI 1.5.3. Please let me know whether these will work for you or not. Regards, Shiqing On 2011-10-27 11:35 AM, Alex van 't Veer wrote: Hi I've installed the OpenMPI 1.5.4-1 64-bit binaries on windows 7 when I run mpirun.exe without any options I get the help text and everything seems to work fine but when I try to actually run a application, I get the following error: ..\..\..\openmpi-1.5.4\opal\event\event.c: ompi_evesel->dispatch() failed. I get the error when running any application, to exclude my own application I tried the hello world example and it returns the same error. (The command I used is mpirun.exe helloworld.exe) Searching for the error in the list or looking at event.c didn't get me much further, can anyone point me in the right direction for solving this problem? Thanks ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing CenterStuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email:f...@hlrs.de <mailto:f...@hlrs.de> ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] OBJ_CLASS_INSTANCE error: initializer element is not constant - Windows 7 64 bit mingw-w64 4.6.3
Hi Roger, Have you tested also with 32 bit build? I was able to build the open-rte and the rest by applying g++.exe instead of gcc.exe. I couldn't find any combination of --std=C9x to make the c compiling happy for gcc.exe. Actually, the C9x option is not really necessary here, but "-x c" should do the work. It is defined in the CMake variable OMPI_C_LAN_FLAG, is it also empty in your CMakeCache file? For open-rte build I ran into issues with opal_ifisloopback impl unreferenced. I'll regenerate my steps and post more discrete pieces. It would be great if you can provide your CMake Config settings and log/cache file. Thanks a lot. Regards, Shiqing Regards, Roger On 12/28/2011 06:15 PM, Shiqing Fan wrote: Hi Roger, To be honest, this MinGW support for Open MPI was integrated when the 64 bit MinGW wasn't available, so I haven't tested it for the 64 bit build. I'll give a try, and come back to you soon. Thanks for your report. Regards, Shiqing On 2011-12-22 4:54 PM, Roger Martin wrote: Hi, Working on building on windows with MinGW. Have built libopen-pal, opal-restart, opal-wrapper and am at the open-rte stage of the build. The OBJ_CLASS_INSTANCE hits errors about 'initializer element is not constant'. Open-pal also uses OBJ_CLASS_INSTANCE and doesn't throw this error. Tried g++ instead of gcc and source such as rmcast_base_open.c compiled successfully but then I get into name mangling issues. Being not familiar with the code I haven't yet determined why open-pal is successful and open-rte isn't. Flag difference? Is there code difference between them in how they apply the OBJ_CLASS_INSTANCE? $ ../../mingw64/bin/gcc.exe --version gcc.exe (GCC) 4.6.3 2005 (prerelease) ..line 325 of rmcast_base_open.c. OBJ_CLASS_INSTANCE(rmcast_base_send_t, opal_list_item_t, send_construct, send_destruct); C:\Software\openmpi-build>gmake [ 14%] Built target libopen-pal [ 14%] Built target opal-restart [ 14%] Built target opal-wrapper [ 14%] Building C object orte/CMakeFiles/libopen-rte.dir/mca/rmcast/base/rmcast_ base_open.obj C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:325:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:325:1: erro r: (near initialization for 'rmcast_base_send_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:363:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:363:1: erro r: (near initialization for 'rmcast_base_recv_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:403:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:403:1: erro r: (near initialization for 'rmcast_base_channel_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:413:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:413:1: erro r: (near initialization for 'rmcast_seq_tracker_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:434:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:434:1: erro r: (near initialization for 'rmcast_recv_log_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:451:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:451:1: erro r: (near initialization for 'rmcast_send_log_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:466:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:466:1: erro r: (near initialization for 'orte_rmcast_msg_t_class.cls_parent') gmake[2]: *** [orte/CMakeFiles/libopen-rte.dir/mca/rmcast/base/rmcast_base_open. obj] Error 1 gmake[1]: *** [orte/CMakeFiles/libopen-rte.dir/all] Error 2 gmake: *** [all] Error 2 ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] OBJ_CLASS_INSTANCE error: initializer element is not constant - Windows 7 64 bit mingw-w64 4.6.3
Hi Roger, To be honest, this MinGW support for Open MPI was integrated when the 64 bit MinGW wasn't available, so I haven't tested it for the 64 bit build. I'll give a try, and come back to you soon. Thanks for your report. Regards, Shiqing On 2011-12-22 4:54 PM, Roger Martin wrote: Hi, Working on building on windows with MinGW. Have built libopen-pal, opal-restart, opal-wrapper and am at the open-rte stage of the build. The OBJ_CLASS_INSTANCE hits errors about 'initializer element is not constant'. Open-pal also uses OBJ_CLASS_INSTANCE and doesn't throw this error. Tried g++ instead of gcc and source such as rmcast_base_open.c compiled successfully but then I get into name mangling issues. Being not familiar with the code I haven't yet determined why open-pal is successful and open-rte isn't. Flag difference? Is there code difference between them in how they apply the OBJ_CLASS_INSTANCE? $ ../../mingw64/bin/gcc.exe --version gcc.exe (GCC) 4.6.3 2005 (prerelease) ..line 325 of rmcast_base_open.c. OBJ_CLASS_INSTANCE(rmcast_base_send_t, opal_list_item_t, send_construct, send_destruct); C:\Software\openmpi-build>gmake [ 14%] Built target libopen-pal [ 14%] Built target opal-restart [ 14%] Built target opal-wrapper [ 14%] Building C object orte/CMakeFiles/libopen-rte.dir/mca/rmcast/base/rmcast_ base_open.obj C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:325:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:325:1: erro r: (near initialization for 'rmcast_base_send_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:363:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:363:1: erro r: (near initialization for 'rmcast_base_recv_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:403:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:403:1: erro r: (near initialization for 'rmcast_base_channel_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:413:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:413:1: erro r: (near initialization for 'rmcast_seq_tracker_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:434:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:434:1: erro r: (near initialization for 'rmcast_recv_log_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:451:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:451:1: erro r: (near initialization for 'rmcast_send_log_t_class.cls_parent') C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:466:1: erro r: initializer element is not constant C:\Software\openmpi-1.5.5rc1\orte\mca\rmcast\base\rmcast_base_open.c:466:1: erro r: (near initialization for 'orte_rmcast_msg_t_class.cls_parent') gmake[2]: *** [orte/CMakeFiles/libopen-rte.dir/mca/rmcast/base/rmcast_base_open. obj] Error 1 gmake[1]: *** [orte/CMakeFiles/libopen-rte.dir/all] Error 2 gmake: *** [all] Error 2 ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Open MPI 1.5.4 on windows g95 / mpif90 support
Hi, The Fortran 90 bindings on Windows is still not available yet. Regards, Shiqing On 2011-12-14 12:56 PM, Joao Amaral wrote: Hi all, I am trying to have a working mpif90 on my laptop PC (windows 7 64 bits), so that I can develop/test fortran 90 MPI code before running it on a cluster. I have tried the 1.5.4 installer on windows, cygwin, installed ubuntu, tried cygwin again, and now am back to the Open MPI 1.5.4 windows build. Is it possible to use my existing g95 installation on windows so that I can compile fortran 90 mpi code? These are the top lines from the output of the "ompi_info" command. Package: Open MPI hpcfan@VISCLUSTER26 Distribution Open MPI: 1.5.4 Open MPI SVN revision: r25060 Open MPI release date: Aug 18, 2011 Open RTE: 1.5.4 Open RTE SVN revision: r25060 Open RTE release date: Aug 18, 2011 OPAL: 1.5.4 OPAL SVN revision: r25060 OPAL release date: Aug 18, 2011 Ident string: 1.5.4 Prefix: C:\Program Files (x86)\OpenMPI_v1.5.4-x64 Configured architecture: x86 Windows-6.1 Configure host: VISCLUSTER26 Configured by: hpcfan Configured on: 10:44 AM 08/19/2011 Configure host: VISCLUSTER26 Built by: hpcfan Built on: 10:44 AM 08/19/2011 Built host: VISCLUSTER26 C bindings: yes C++ bindings: yes Fortran77 bindings: yes (caps) Fortran90 bindings: no Fortran90 bindings size: na C compiler: cl C compiler absolute: D:/MSDev10/VC/bin/amd64/cl.exe C compiler family name: MICROSOFT C compiler version: 1600 C++ compiler: cl C++ compiler absolute: D:/MSDev10/VC/bin/amd64/cl.exe Fortran77 compiler: ifort Fortran77 compiler abs: C:/Program Files (x86)/Intel/ComposerXE-2011/bin/amd64/ifort.exe Fortran90 compiler: none Fortran90 compiler abs: none C profiling: yes C++ profiling: yes Fortran77 profiling: yes Fortran90 profiling: no C++ exceptions: no Thread support: no Sparse Groups: no Internal debug support: no MPI interface warnings: no MPI parameter check: never (...) Thanks for your help. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] orte_debugger_select and orte_ess_set_name failed
Hi MM, That doesn't really help. Do you need a debug version on your 32 bit Windows XP? Maybe I can build one for you. Will send it to you off the mailing list. Regards, Shiqing On 2011-11-29 2:59 PM, MM wrote: debugging mpirund arrives to openmpi-1.5.4\opal\mca\base\mca_base_components_select.c: function mca_base_select components_available list appears to be empty, ie orte_debugger_base_components_available appears to be empty (opal list length=0) Is this an indication of something meaningful? Note, I built opnempi static libs (with dll c/c++ runtime) OMPI_IMPORTS is __not__ defined, that's how I got it to compile MM -Original Message- From: Shiqing Fan [mailto:f...@hlrs.de] Sent: 25 November 2011 22:19 To: MM Subject: Re: [OMPI users] orte_debugger_select and orte_ess_set_name failed Hi MM, Do you really want to build Open MPI by yourself? If you only need the libraries, probably you may stick to 1.5.4 binaries, which you said works for you. Anyway, if you want to debug mpirun, you can step into orterun project, which generates mpirun executable. Which version of Open MPI are you building? I'm not sure whether I'll have time this days to look closely to this problem, but if you can reproduce this problem with a small test program, and send it to me, I would like also help debug it. Best Regards, Shiqing On 2011-11-25 11:06 PM, MM wrote: Shiqing, As I built the mpi libs in debug as well, can I break point somehow when I run mpirun -np 1 : -np 1 and I get those 2 errors. Can I breakpoint somehow inside vs2010? maybe to investigate what's going on? How do I launch "mpirun" in debug from the openmpi solution. Which project generates the mpirun binary? I am a bit stuck and would appreciate help to progress, rds, MM -Original Message----- From: Shiqing Fan [mailto:f...@hlrs.de] Sent: 24 November 2011 16:44 To: MM Cc: 'Open MPI Users' Subject: Re: [OMPI users] orte_debugger_select and orte_ess_set_name failed Hi MM, Sorry for the delayed reply, I was busy in a meeting these days. The log files seem not very helpful to solve the problem. May be your CMakeCache.txt file would help. Currently we don't provided binaries built from trunk. Have you also tried the 1.5.x binaries? Best Regards, Shiqing On 2011-11-23 10:08 PM, MM wrote: Hi Shiqing, Is the info provided useful to understand what's going on? Alternatively, is there a way to get the provided binaries for win but off trunk rather than off 1.5.4 as on the website, because I don't have this problem when I link against those libs, Thanks MM -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of MM Sent: 21 November 2011 21:08 To: f...@hlrs.de Cc: 'Open MPI Users' Subject: Re: [OMPI users] orte_debugger_select and orte_ess_set_name failed Hi, I have placed the source in \Program Files\openmpi-1.5.4 the build dir in \Program Files\openmpi.build and the install dir in \Program Files\openmpi I could not find config.log in any of the 3 directories nor in the directory from which I run mpirun. The build log attached is a zip of all the .log under \Program Files\openmpi.build First, I installed the provided binaries on xp32bit, and successfully ran the program in Release mode. in debug mode, there was that error of some function missing in kernel, that you fixed in svn. Second, I then downloaded the source and built the static libraries w cmake according to README.windows, and against these home built libs, the same program run neithers in debug nor in release, because of the error below. How can I generate the config.log? About Debug/Release, thinking about it at this time, I don't really need the debug libs of openmpi. but to be able to link against vs2010 Release libs of openmpi, I need them to be linked against the Release c runtime, so I might as well link against the debug version of the openmpi libs. Your help is very appreciated, MM -Original Message----- From: Shiqing Fan [mailto:f...@hlrs.de] Sent: 21 November 2011 12:48 To: Open MPI Users Cc: MM Subject: Re: [OMPI users] orte_debugger_select and orte_ess_set_name failed Hi, Could you please send your config and build log to me? Have you tried with a simpler program? Does this error always happen? Regards, Shiqing On 2011-11-19 4:24 PM, MM wrote: Trying to run my program linked against debug 1.5.4 on vs2010 fails: mpirun -np 1 .\nhui\Debug\nhui.exe : -np 1 .\nhcomp\Debug\nhcomp.exe [PCNAME:04960] [[1282,0],0] ORTE_ERROR_LOG: Not found in file C:\Program Files\openmpi-1.5.4\orte\mca\ess\hnp\ess_hnp_module.c at line 536 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failu
Re: [OMPI users] orte_debugger_select and orte_ess_set_name failed
Hi MM, Sorry for the delayed reply, I was busy in a meeting these days. The log files seem not very helpful to solve the problem. May be your CMakeCache.txt file would help. Currently we don't provided binaries built from trunk. Have you also tried the 1.5.x binaries? Best Regards, Shiqing On 2011-11-23 10:08 PM, MM wrote: Hi Shiqing, Is the info provided useful to understand what's going on? Alternatively, is there a way to get the provided binaries for win but off trunk rather than off 1.5.4 as on the website, because I don't have this problem when I link against those libs, Thanks MM -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of MM Sent: 21 November 2011 21:08 To: f...@hlrs.de Cc: 'Open MPI Users' Subject: Re: [OMPI users] orte_debugger_select and orte_ess_set_name failed Hi, I have placed the source in \Program Files\openmpi-1.5.4 the build dir in \Program Files\openmpi.build and the install dir in \Program Files\openmpi I could not find config.log in any of the 3 directories nor in the directory from which I run mpirun. The build log attached is a zip of all the .log under \Program Files\openmpi.build First, I installed the provided binaries on xp32bit, and successfully ran the program in Release mode. in debug mode, there was that error of some function missing in kernel, that you fixed in svn. Second, I then downloaded the source and built the static libraries w cmake according to README.windows, and against these home built libs, the same program run neithers in debug nor in release, because of the error below. How can I generate the config.log? About Debug/Release, thinking about it at this time, I don't really need the debug libs of openmpi. but to be able to link against vs2010 Release libs of openmpi, I need them to be linked against the Release c runtime, so I might as well link against the debug version of the openmpi libs. Your help is very appreciated, MM -Original Message- From: Shiqing Fan [mailto:f...@hlrs.de] Sent: 21 November 2011 12:48 To: Open MPI Users Cc: MM Subject: Re: [OMPI users] orte_debugger_select and orte_ess_set_name failed Hi, Could you please send your config and build log to me? Have you tried with a simpler program? Does this error always happen? Regards, Shiqing On 2011-11-19 4:24 PM, MM wrote: Trying to run my program linked against debug 1.5.4 on vs2010 fails: mpirun -np 1 .\nhui\Debug\nhui.exe : -np 1 .\nhcomp\Debug\nhcomp.exe [PCNAME:04960] [[1282,0],0] ORTE_ERROR_LOG: Not found in file C:\Program Files\openmpi-1.5.4\orte\mca\ess\hnp\ess_hnp_module.c at line 536 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_debugger_select failed --> Returned value Not found (-13) instead of ORTE_SUCCESS -- [PCNAME:04960] [[1282,0],0] ORTE_ERROR_LOG: Not found in file C:\Program Files\openmpi-1.5.4\orte\runtime\orte_init.c at line 128 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_ess_set_name failed --> Returned value Not found (-13) instead of ORTE_SUCCESS -- [LLDNRATDHY9H4J:04960] [[1282,0],0] ORTE_ERROR_LOG: Not found in file C:\Program Files\openmpi-1.5.4\orte\tools\orterun\orterun.c at line 616 any help is appreciated, MM ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de * ** ** ** WARNING: This email contains an attachment of a very suspicious type. ** ** You are urged NOT to open this attachment unless you are absolutely ** ** sure it is legitimate. Opening this attachment may cause irreparable ** ** damage to your computer and your files. If yo
Re: [OMPI users] orte_debugger_select and orte_ess_set_name failed
Hi, Could you please send your config and build log to me? Have you tried with a simpler program? Does this error always happen? Regards, Shiqing On 2011-11-19 4:24 PM, MM wrote: Trying to run my program linked against debug 1.5.4 on vs2010 fails: mpirun -np 1 .\nhui\Debug\nhui.exe : -np 1 .\nhcomp\Debug\nhcomp.exe [PCNAME:04960] [[1282,0],0] ORTE_ERROR_LOG: Not found in file C:\Program Files\openmpi-1.5.4\orte\mca\ess\hnp\ess_hnp_module.c at line 536 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_debugger_select failed --> Returned value Not found (-13) instead of ORTE_SUCCESS -- [PCNAME:04960] [[1282,0],0] ORTE_ERROR_LOG: Not found in file C:\Program Files\openmpi-1.5.4\orte\runtime\orte_init.c at line 128 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_ess_set_name failed --> Returned value Not found (-13) instead of ORTE_SUCCESS -- [LLDNRATDHY9H4J:04960] [[1282,0],0] ORTE_ERROR_LOG: Not found in file C:\Program Files\openmpi-1.5.4\orte\tools\orterun\orterun.c at line 616 any help is appreciated, MM ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] openmpi and mingw32?
Hi John, Yes, there will be an initial build support for MinGW, but a few runtime issues still need to be fixed. If you want to try the current one, please download one of the latest 1.5 nightly tarballs. Please just let me know if you got problems on that. Feedback would be helpful and appreciated. Regards, Shiqing On 2011-11-20 10:13 PM, John R. Cary wrote: Are there plans for mingw32 support in openmpi? If so, any time scale? I configured with cmake and errored out at In file included from C:/winsame/builds-mingw/facetsall-mingw/openmpi-1.5.4/opal/include/opal_config_bottom.h:258:0, from C:/winsame/builds-mingw/facetsall-mingw/openmpi-1.5.4/try/opal/include/opal_config.h:1423, from C:\winsame\builds-mingw\facetsall-mingw\openmpi-1.5.4\try\opal\datatype\opal_datatype_pack_checksum.c:21: C:/winsame/builds-mingw/facetsall-mingw/openmpi-1.5.4/opal/win32/win_compat.h:104:14: error: conflicting types for 'ssize_t' Thx...John ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] vs2010: MPI_Address() unresolved
Does this happen also for other MPI_* functions? Probably you need to add OMPI_IMPORTS as an extra preprocessor. Regards, Shiqing On 2011-11-19 1:02 AM, MM wrote: Hi, I get this style of errors when trying to link against libmpid.lib (compiled with instructions from README.Windows part 1 cmake): mylib.lib(myfile.obj): : error LNK2001: unresolved external symbol __imp__MPI_Address I set BUILD_SHARED_LIBS to false, so I generate static libs. I've also checked that the /MDd is set and indeed libmpid.lib are built against the DLL version of the C++ runtime when I open the solution in vs2010. I myself link my application against the /MDd as well. I don't know why it's looking for __impl__MPI_Address (__impl__ is a prefix related to DLLs somehow). I gather this MPI_Address() function resides in libmpi.lib and libmpid.lib PS: I didn't have these link errors when I built against the prebuilt win libraries from the website, what are the CMAke flags for those? Thanks, MM ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] mpic++-wrapper-data.txt msvc10 Release/Debug 1.5.4
Hi, There is no easy solution. But you can try to use WANT_EXE_DEBUG_POSTFIX option in CMake GUI. Enabling this option will generate different executable.library names for debug and release build. For example, mpic++d.exe for debug and mpic++.exe for release. For you case, just build both debug and release version of Open MPI 1.5.4, and install them into the same path, you will get two sets of executables/libraries (with "d" postfix for debug version) and mpic++ config files (mpic++d-wrapper-data.txt for debug version). Then just append your own debug/release compile options in the config files, and build with boost mpi as you need. Hope this helps. Regards, Shiqing On 2011-11-18 9:44 PM, MM wrote: Hello, Compiling boost mpi library uses mpic++ to get the compile flags to pass to cl.exe and link libs to pass to the linker. In my case: >>> mpic++ -showme:compile /I"C:\Program Files\openmpi\bin/../include" /TP /EHsc */MD* >>> mpic++ -showme:link /link /LIBPATH:"C:\Program Files\openmpi\bin/../lib" *libmpi_cxx.lib libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib* To choose Release build or Debug build, is it possible to use mpic++-wrapper-data.txt to specify both options? Release */MD* *libmpi_cxx.lib libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib* ** Debug */MDd* *libmpi_cxxd.lib libmpid.lib libopen-pald.lib libopen-rted.lib advapi32.lib Ws2_32.lib shlwapi.lib* is there a debug version of "*advapi32.lib Ws2_32.lib shlwapi.lib"* ** For now, I will just override that file for Release, build boost mpi, override for Debug, build for Debug. thanks, MM ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Is it not possible to run a program with MPI code without mpirun/mpiexec?
I just found out that there were missing updates for Windows in singleton module (in trunk but not in 1.5 branch). I'll make a CMR for this. On 2011-11-14 1:45 PM, Ralph Castain wrote: Hmmm...it -should- work, but I've never tried it on Windows. I will verify it under Linux, but will have to defer to Shiqing to see if there is something particular about the Windows environment. On Nov 13, 2011, at 8:13 PM, Naor Movshovitz wrote: I have open-mpi v1.5.4, installed from the binary installer for Windows. The following program test.c #include #include int main(int argc, char *argv[]) { int rank, size; MPI_Init(,); MPI_Comm_size(MPI_COMM_WORLD,); MPI_Comm_rank(MPI_COMM_WORLD,); printf("hellow world from rank %d of %d.\n",rank,size); MPI_Finalize(); return 0; } is compiled and linked without issue with c:\temp\mpicc test.c It also runs without issue with c:\temp\mpirun test.exe and prints the expected output. However, running the executable directly, as in c:\temp\test prints the following and then hangs: [COMPUTERNAME:03060] [[34061,0],0] ORTE_ERROR_LOG: Value out of bounds in file ../../../openmpi-1.5.4\orte\mca\oob\tcp\oob_tcp.c at line 1193 Is this a bug? I normally expect mpi programs to run without problem as a standalone executable. I should add that the mpi installation does not have any directories/files named in the error log, only pre-built binaries. Thanks muchly, -nuun ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Problem launching application on windows
Hi, This looks not normal, because this error might happen mainly by improper sockets. I don't have any clue at moment, as I can't reproduce it. Could you try to reinstall Open MPI? And make sure there is no other installation on your system. If this is still not working, try using Open MPI 1.5.3. Please let me know whether these will work for you or not. Regards, Shiqing On 2011-10-27 11:35 AM, Alex van 't Veer wrote: Hi I've installed the OpenMPI 1.5.4-1 64-bit binaries on windows 7 when I run mpirun.exe without any options I get the help text and everything seems to work fine but when I try to actually run a application, I get the following error: ..\..\..\openmpi-1.5.4\opal\event\event.c: ompi_evesel->dispatch() failed. I get the error when running any application, to exclude my own application I tried the hello world example and it returns the same error. (The command I used is mpirun.exe helloworld.exe) Searching for the error in the list or looking at event.c didn't get me much further, can anyone point me in the right direction for solving this problem? Thanks ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] successful story of building openmpi on cygwin?
Hi Yue, If you want to build Open MPI on Windows, there is another way by using CMake and Visual Studio, take a look into the windows readme file in the source root. If you want to use the GNU compilers, you might also use CMake with MinGW. But the MinGW support is only basically supported. Regards, Shiqing On 2011-10-27 6:14 AM, Yue Guan wrote: Hi, there Any successful story of building openmpi on cygwin? I run the default building process and stuck at /opal/mca/maffinity for gcc: vfork: Resource temporarily unavailable. Best --Yue ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] revisiting topic: prebuilt on windows7 not xp
Hi, On 2011-10-16 10:25 PM, MM wrote: in http://www.open-mpi.org/community/lists/users/2011/07/16854.php, Shiqing says it is impossible to use the prebuilt binaries with Windows xp, however I manage to use them in Release mode with vc2010, but not in debug mode. Can this be some indication that there is a tweak to have both the release and debug version of the libs when built on windows 7 work also for xp? Yes, this will be definitely available for the next 1.5 release. I would definitely rather use prebuilt openmpi libs as it's easier to change versions, thanks, MM ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Building with thread support on Windows?
Hi Bjorn, Unfortunately, the currently version of Open MPI for Windows doesn't support Posix nor Solaris threads. However, the work of supporting MinGW is proceeding, which will support GNU compilers for building Open MPI on Windows, and it may partly support pthread, but still needs a lot of tests. Regards, Shiqing On 2011-09-21 8:33 PM, Björn Regnström wrote: I am building with VS 2008 and the compiler (cl) and the standard libraries that goes with it, including the windows thread library. I have noted that ompi_info requires either Posix or Solaris threads to report that open-mpi has thread support. Do I need to change the thread library and/or do I need another compiler? Regards, Bjorn Regnstrom At Wednesday, 2011-09-21 on 17:32 Tim Prince wrote: On 9/21/2011 11:18 AM, Björn Regnström wrote: > Hi, > > I am trying to build Open MPI 1.4.3 with thread support on Windows. A > trivial test program > runs if it calls MPI_Init or MP_Init_thread(int *argc, char ***argv, int > required, int *provide) with > reguired=0 but hangs if required>0. ompi_info for my build reports that > there is no thread > support but MPI_Init_thread returns provide==required. > > The only change in the CMake configuration was to check > OMPI_ENABLE_MPI_THREADS. > Is there anything else that needs to be done with the configuration? > > I have built 1.4.3 with thread support on several linuxes and mac and it > works fine there. > Not all Windows compilers work well enough with all threading models that you could expect satisfactory results; in particular, the compilers and thread libraries you use on linux may not be adequate for Windows thread support. -- Tim Prince ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Mingw - Gfortran - Cmake : 'gettimeofday'
Hi Fabien, I've done some tests these days. g95 works with Open MPI 1.4.3, you need to start the cmake-gui from a Visual Studio command prompt in order to grand all correct environment settings, then after the first time configuration, set CMAKE_Fortran_COMPILER to the path of g95.exe, and enable OMPI_F77_BINDINGS option. The F90 bindings are not supported yet. Regards, Shiqing On Friday, September 02, 2011 12:30:31 AM, Fabien wrote: Hi, Thanks for your answers. - I encountered some errors with MinGW makefiles on "trunk". - So, I dived into VS_Express_2010 makefiles and only specified Mingw/gfortran as compiler. (I'm not sure : should I choose CMAKE_Fortran_COMPILER:FILEPATH=C:/MinGW/bin/gfortran.exe or mingw32-gfortran.exe?) + But, configuring with F77+F90 bindings leads to this error : CMake Error at contrib/platform/win32/CMakeModules/f77_get_sizeof.cmake:86 (MESSAGE): Could not determine size of CHARACTER. Call Stack (most recent call first): contrib/platform/win32/CMakeModules/f77_check.cmake:60 (OMPI_F77_GET_SIZEOF) contrib/platform/win32/CMakeModules/ompi_configure.cmake:637 (OMPI_F77_CHECK) CMakeLists.txt:99 (BEGIN_CONFIGURE) + When disabling F77 bindings and only keeping F90 bindings, I was able to configure/build/install but no "mpif90" are installed in OUTPUT_PATH. Only C-like. I suppose that F77 is then mandatory but what about this error...? Should I give a try with G95 instead? Thanks for your attention& Best regards, Fabien Decung -Message d'origine- De : Jeff Squyres [mailto:jsquy...@cisco.com] Envoyé : mercredi 31 août 2011 14:30 À : f...@hlrs.de; Open MPI Users Cc : Fabien Objet : Re: [OMPI users] Mingw - Gfortran - Cmake : 'gettimeofday' Shiqing -- Do you want to add this kind of info to the FAQ? I seem to recall that the gettimeofday question has come up before...? On Aug 31, 2011, at 8:27 AM, Shiqing Fan wrote: Hi Fabien, The GCC build under MinGW is not supported in Open MPI 1.4.3. The initial support is now in trunk, but needs more test. Actually, you may also try building 1.4.3 with Visual Studio Express with Fortran bindings for gfortran. Just configure the solution for Visual Studio, and specify the fortran compiler full path and name in variable CMAKE_Fortran_COMPILER. Please try it out. It worked for me before. Regards, Shiqing On 2011-08-30 11:45 PM, Fabien wrote: Hello, I’m trying to compile Open-MPI 1.4.3 using {MinGW;CMake} on a Vista-32-Bits. I’m interested in running in parallel a fortran program (compiled with C:\MINGW\bin\gfortran.exe ) I’m aware that a binary package has been released but – unfortunately – it has been configured with the Intel compiler (ifort). So, I configured and generated solution with MinGW makefiles and Native compilers. Then compiling the generated solutions with mingw32-make leads to the following errors : 1/ config.h is requested in …openmpi-1.4.3\opal\event but not found. ð Solved by adding config.h from …openmpi-1.4.3\opal\event\WIN32-Code 2/ Then : error: redefinition of `struct timezone' … error: conflicting types for 'gettimeofday' … error: conflicting types for 'gettimeofday' ð Any idea would be more than welcome. I’m aware that it has been addressed before in http://www.open-mpi.org/community/lists/users/2009/06/9622.php. 3/ I also tried to try mingw32-gcc/g++/gfortran.exe compilers. Without success. 4/ I also tried with Visual Studio 2010 without success. I only have Visual Studio C++ Express… ð Will I be able to build mpif90/mpif77/orterun/mpirun with these Visual Studio makefiles coupled with MinGW compilers? Thanks for your attention& Best regards, Fabien Decung Configurations& Tools : - Open-MPI : 1.4.3 - MinGW : latest stable (08/2011), using GCC 4.5.2& C:\MINGW\bin has correctly been updated in PATH. - CMake : 2.8.3 - ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] Mingw - Gfortran - Cmake : 'gettimeofday'
On 2011-08-31 7:26 PM, Jeff Squyres wrote: On Aug 31, 2011, at 1:23 PM, Gus Correa wrote: Hmmm ... maybe it was a mix of both? From the very pen ... er ... keyboard (I-phone?, tablet?) of Jeff Squyres: http://www.open-mpi.org/community/lists/users/2010/10/14463.php Good searching! No, my dim recollection has something to do with functions that are in Windows 7 / 2008 server, but not in XP. Perhaps it wasn't gettimeofday... What Jeff mentioned was related to inet_pton and inet_ntop. The problem in the first email was caused by building Open MPI in MinGW environment, which is not supported yet in 1.4 branch (the testing version is in trunk). Regards, Shiqing -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Mingw - Gfortran - Cmake : 'gettimeofday'
Hi Fabien, The GCC build under MinGW is not supported in Open MPI 1.4.3. The initial support is now in trunk, but needs more test. Actually, you may also try building 1.4.3 with Visual Studio Express with Fortran bindings for gfortran. Just configure the solution for Visual Studio, and specify the fortran compiler full path and name in variable CMAKE_Fortran_COMPILER. Please try it out. It worked for me before. Regards, Shiqing On 2011-08-30 11:45 PM, Fabien wrote: Hello, I'm trying to compile Open-MPI 1.4.3 using {MinGW;CMake} on a Vista-32-Bits. I'm interested in running in parallel _a fortran program_ (compiled with C:\MINGW\bin\gfortran.exe ) I'm aware that a binary package has been released but -- unfortunately -- it has been configured with the Intel compiler (ifort). So, I configured and generated solution with MinGW makefiles and Native compilers. Then compiling the generated solutions with /mingw32-make/ leads to the following errors : 1/ /config.h/ is requested in /...openmpi-1.4.3\opal\event/ but not found. ðSolved by adding /config.h/ from /...openmpi-1.4.3\opal\event\WIN32-Code/ 2/ Then : /error: redefinition of `struct timezone' ... error: conflicting types for 'gettimeofday' ... error: conflicting types for 'gettimeofday'/ ðAny idea would be more than welcome. I'm aware that it has been addressed before in http://www.open-mpi.org/community/lists/users/2009/06/9622.php. 3/ I also tried to try /mingw32-gcc/g++/gfortran.exe/ compilers. Without success. 4/ I also tried with Visual Studio 2010 without success. I only have Visual Studio C++ Express... ðWill I be able to build /mpif90/mpif77/orterun/mpirun/ with these Visual Studio makefiles coupled with MinGW compilers? Thanks for your attention & Best regards, Fabien Decung Configurations & Tools : -Open-MPI : 1.4.3 -MinGW : latest stable (08/2011), using GCC 4.5.2 & /C:\MINGW\bin/ has correctly been updated in /PATH/. -CMake : 2.8.3 - ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email:f...@hlrs.de
Re: [OMPI users] How to setup and use nodes for OpenMPI on Windows
Hi Clinton, I suggest that you build Open MPI directly on the Windows Server, so that the system dependencies wouldn't get wrong. If you just copy around the binaries, there will be problems: your local PC (I guess it's Windows Vista or 7) has inet_pton, but the Windows Server 2003 doesn't have it in the system level. So the binaries won't work. I'll fix this problem very soon. Regards, Shiqing On 2011-08-10 9:56 AM, Chee, Clinton wrote: Hi Shiqing, Thanks very much for your last email -- it was good help. I think my questions about security and group permissions on Windows are answered with the MSDN links for configuring remote access. Anyway, I have managed to compile using VS C++ 2008 on my local PC (32bit) and it worked. Then I moved to our Windows Server 2003 x64. I compiled the x64 test code and and I run it, I got "The procedure entry point inet_pton could not be located in the dynamic link library WS2_32.lib" 1.I found a thread on this message but there was no solution at that time. Has this problem been solved? If yes, How do I fix this? 2.Also I read somewhere in the web that OpenMPI on Windows x64 for Fortran does not work properly yet. Is this still true? Thanks for your help. ___ *Commonwealth*Bank Clinton Chee Manager, Quantitative Analytics Risk Management Centre Lvl 14, Darling Park, 201 Sussex Street, Sydney NSW 2000 M: 0402 058 983 P: 61 (0)2 9117 7544 F: 61 (0)2 9118 6509, 1300 711 441 E: clinton.c...@cba.com.au *Our vision is to be Australia's finest financial services organisation through excelling in customer service.* *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:* Tuesday, 9 August 2011 7:50 PM *To:* Open MPI Users *Cc:* Chee, Clinton *Subject:* Re: [OMPI users] How to setup and use nodes for OpenMPI on Windows Hi Clinton, Just wondering if anyone can point me to the detailed information on how to setup multiple nodes and network them together to use OpenMPI. Also what is the proper way to specify which nodes to run on. I wish to use OpenMPI on the Windows XP or Windows Server 2008 platform, with Intel Fortran 11 as the programming language. If you use Windows XP, you have to specify --host or --hostfile option in the command line. see mpirun --help for more details. On Windows server 2008, you can also specify the node names through the Job Monitor GUI. I have searched Google and also looked through the OpenMPI website but there does not seem to be any comprehensive documents to run OpenMPI on Windows, especially setting up the nodes. For working on multiple nodes on Windows XP, the only thing you have to make sure is that the WMI is able to launch process remotely, which referred to the two MSDN links in the WINDOWS.TXT file. Other then this, no other special setting is necessary, just install one pre-compiled installer, it will configure the environment automatically for you. Many years ago, I played a bit with Mpich and LAM MPI on a purely Linux platform. On Linux clusters, it is easy -- the head node see each of the compute nodes. As I remember, the programmer need to only write the names of the compute nodes in some sort of config file. The job is submitted and based on the compute nodes listed, the mpi will run on them. On Windows, what kind of networking is needed to tie the nodes together? (assuming we are not using any of the MS HPC Pack or Compute Cluster). How do we specify which nodes to use? How do we specify any security or group permissions for the nodes? You should have at least TCP connections among the nodes. I don't understand what security and group permissions stands for here. Regards, Shiqing ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/pe
Re: [OMPI users] [WARNING: SPOOFED E-MAIL--Non-Aerospace Sender] Re: Problem with prebuilt ver 1.5.3 for windows
Hi Jeff, Sorry for answering late. These emails were hidden in another thread in my email client, so I didn't catch it until now. The prebuild version of Open MPI was based on Windows 2008, which has InterlockedCompareExchange64 natively. Windows XP doesn't have support of this function, so the prebuild Open MPI is not possible to be used under Windows XP. The only solution now is to build Open MPI on your XP from source. Regards, Shiqing On 2011-07-08 1:28 PM, Jeffrey A Cummings wrote: I've been following this list for several months now and have been quite impressed by the helpfulness of the list experts in response to most questions. So how come the pregnant silence in response to my question? I could really use some help here. - Jeff From: Jeffrey A Cummings <jeffrey.a.cummi...@aero.org> To: Open MPI Users <us...@open-mpi.org> Date: 06/29/2011 04:18 PM Subject: [WARNING: SPOOFED E-MAIL--Non-Aerospace Sender] Re: [OMPI users] Problem with prebuilt ver 1.5.3 for windows Sent by: users-boun...@open-mpi.org Anyone (Shiqing perhaps) have any more thoughts on this problem? - Jeff From: Damien <dam...@khubla.com> To: Open MPI Users <us...@open-mpi.org> Date: 06/24/2011 03:59 PM Subject: Re: [OMPI users] Problem with prebuilt ver 1.5.3 for windows Sent by: users-boun...@open-mpi.org Yeah, and I'm wrong too, InterlockedCompareExchange64 is available on 32-bit. I think this is one for Shiqing. You could build OpenMPI yourself if you have VS2008. It's pretty easy to do. Damien On 24/06/2011 1:51 PM, Jeffrey A Cummings wrote: Damien - I'm using the 32 bit version of OpenMPI. I think the 64 refers to the size of integer that the function works on, not the operating system version. I didn't have this problem with VS 2008, so I think they've changed something in VS 2010. I just don't know how to fix it. - Jeff From: Damien _<dam...@khubla.com>_ <mailto:dam...@khubla.com> To: Open MPI Users _<us...@open-mpi.org>_ <mailto:us...@open-mpi.org> Date: 06/24/2011 02:35 PM Subject: Re: [OMPI users] Problem with prebuilt ver 1.5.3 for windows Sent by: _users-bounces@open-mpi.org_ <mailto:users-boun...@open-mpi.org> Jeff, InterlockedCompareExchange64 is a 64-bit-only instruction. Are you running XP 32-bit (I think you are b/c I don't think there was a XP64 SP3...). You need the 32-bit OpenMPI version. If you are running a 64-bit OS, but building a 32-bit executable, that instruction isn't available in 32-bit and you still need to link with 32-bit OpenMPI. Damien On 24/06/2011 12:16 PM, Jeffrey A Cummings wrote: I'm having a problem using the prebuilt Windows version 1.5.3 with my app built with MS VisualStudio 2010. I get an error message (for each node) that says: "The procedure entry point InterlockedCompareExchange64 could not be located in the dynamic link library KERNEL32.dll". I'm running Windows XP, sp 3. - Jeff Cummings ___ users mailing list_ __users@open-mpi.org_ <mailto:us...@open-mpi.org>_ __http://www.open-mpi.org/mailman/listinfo.cgi/users users mailing list_ __users@open-mpi.org_ <mailto:us...@open-mpi.org>_ __http://www.open-mpi.org/mailman/listinfo.cgi/users_ ___ users mailing list_ __users@open-mpi.org_ <mailto:us...@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 users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Windows: msv*.dll files presence in Release build
Hi Hiral, They are dependent libraries for OMPI libraries. It's the default behavior using CMake. How to aviod this? Any workaround or fix? I'm not sure if it's possible. The msvc dll files are copied for new installation on computers, which might not have the required dependencies. The postfix d means it's a debug version library. You can build release libraries which do not have this postfix. I am building "Release version" from VS2008, even then it builds *d.dll; how to resolve this? You have to change CMAKE_BUILD_TYPE to "release" first in the cmake GUI, and then change correspondingly the build type in VS. Regards, Shiqing Thank you. -Hiral On Mon, Jul 4, 2011 at 5:27 PM, Shiqing Fan<f...@hlrs.de> wrote: Hi, In this regard I have following two questions... 1) For Release build using VS2008, why it generates msv*.dll files? They are dependent libraries for OMPI libraries. It's the default behavior using CMake. 2) For Release build using VS2008, why it generates *d.dll files (i.e. debug libraries)? The postfix d means it's a debug version library. You can build release libraries which do not have this postfix. Regards, Shiqing -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Windows: msv*.dll files presence in Release build
Hi, In this regard I have following two questions... 1) For Release build using VS2008, why it generates *msv*.dll* files? They are dependent libraries for OMPI libraries. It's the default behavior using CMake. 2) For Release build using VS2008, why it generates **d.dll* files (i.e. debug libraries)? The postfix d means it's a debug version library. You can build release libraries which do not have this postfix. Regards, Shiqing -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Building OpenMPI v. 1.4.3 in VS2008
Hi Alan, Thanks Shiqing, It turns out that I was able to get the build to work in VS2008, by stepping back to CMake 2.6 to build it. Not sure why that did the trick but I'm not complaining... Which version did you use before? Another question: Is it possible to run an OpenMPI-based executable on a single process, without invoking mpiexec? Say for example that I compiled a simple "Hello world" program such as src/examples/hello_cxx.cc that calls MPI_Init(...). I'd like to start it up (as a serial process) by just calling it from the command line, without reference to mpiexec. Can this be done? If so, could you provide an example syntax? I'm used to doing this with MPICH2, where it works with no problem. Yes, just run your compiled hello_cxx.exe in the command line prompt, nothing special. Regards, Shiqing Thanks, Alan Nichols AWR - STAAR 11520 N. Port Washington Rd. Mequon, WI 53092 P: 1.262.240.0291 x 103 F: 1.262.240.0294 E: anich...@awrcorp.com <mailto:anich...@awrcorp.com> http://www.awrcorp.com <http://www.awrcorp.com/> *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:* Tuesday, June 21, 2011 3:10 AM *To:* Alan Nichols *Cc:* Open MPI Users *Subject:* Re: [OMPI users] Building OpenMPI v. 1.4.3 in VS2008 Hi Alan, I was able to test it again on a machine that has a VS2008 installed. But everything worked just fine for me. I looked into the generated config file(build_dir/opal/include/opal_config.h), and the CMake build system didn't find stdint.h, but it still compiled. So it was probably some other issues on your platform. It would be very helpful for me to figure out the problem, if you can provide more information, e.g. configure log, compilation error messages and so on. Regards, Shiqing On 2011-06-10 8:34 PM, Alan Nichols wrote: Hi Shiquing, OK I'll give this a try... however, I realized after some Google searching in the aftermath of my previous attempt to build on VS2008 that the file that I'm missing on that platform is shipped with VS2010. So I suspect that building on VS2010 will go smoothly as you said. My problem is that my current effort is part of a much larger project that is being built on VS2008. On the one hand I don't want at all to shift that larger code base from VS2008 to VS2010 (and fight the numerous problems that always follow an upheaval of that sort); on the other hand I'm dubious about trying to build my parallel support library on VS2010 and the rest of the code on VS2008. Is there a way to do what I really want to do, which is build the openmpi source on VS2008? Alan Nichols AWR - STAAR 11520 N. Port Washington Rd. Mequon, WI 53092 P: 1.262.240.0291 x 103 F: 1.262.240.0294 E: anich...@awrcorp.com <mailto:anich...@awrcorp.com> http://www.awrcorp.com <http://www.awrcorp.com/> *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:* Thursday, June 09, 2011 6:43 PM *To:* Open MPI Users *Cc:* Alan Nichols *Subject:* Re: [OMPI users] Building OpenMPI v. 1.4.3 in VS2008 Hi Alan, It looks like a problem of using a wrong generator in CMake GUI. I double tested a fresh new downloaded 1.4.3 on my win7 machine with VS2010, everything worked well. Please check: 1. a proper CMake generator is used. 2. the CMAKE_BUILD_TYPE in CMake GUI and the build type in VS are both Release If the error still happens, please provide me the file name and line number where triggers the error when compiling it. Regards, Shiqing On 2011-06-07 5:37 PM, Alan Nichols wrote: Hello, I'm currently trying to build OpenMPI v. 1.4.3 from source, in VS2008. Platform is Win7, SP1 installed ( I realize that this is possibly not an ideal approach as v. 1.5.3 has installers for Windows binaries. However for compatibility with other programs I need to use v. 1.4.3 if at all possible; also as I have many other libraries build under VS2008, I need to use the VS2008 compiler if at all possible). Following the README.WINDOWS file I found, I used CMake to build a Windows .sln file. I accepted the default CMake settings, with the exception that I only created a Release build of OpenMPI. Upon my first attempt to build the solution, I got an error about a missing file stdint.h. I was able to fix this by including the stdint.h from VS2010. However I now get new errors referencing __attribute__((__always_inline__)) __asmvolatile__("": : :"memory") These look to me like linux-specific problems -- is it even possible to do what I'm attempting, or are the code bases and compiler fundamentally at odds here? If it is possible can you explain where my error lies? Thanks for your help, Alan Nichols ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan Hi
Re: [OMPI users] Building OpenMPI v. 1.4.3 in VS2008
Hi Alan, I was able to test it again on a machine that has a VS2008 installed. But everything worked just fine for me. I looked into the generated config file(build_dir/opal/include/opal_config.h), and the CMake build system didn't find stdint.h, but it still compiled. So it was probably some other issues on your platform. It would be very helpful for me to figure out the problem, if you can provide more information, e.g. configure log, compilation error messages and so on. Regards, Shiqing On 2011-06-10 8:34 PM, Alan Nichols wrote: Hi Shiquing, OK I'll give this a try... however, I realized after some Google searching in the aftermath of my previous attempt to build on VS2008 that the file that I'm missing on that platform is shipped with VS2010. So I suspect that building on VS2010 will go smoothly as you said. My problem is that my current effort is part of a much larger project that is being built on VS2008. On the one hand I don't want at all to shift that larger code base from VS2008 to VS2010 (and fight the numerous problems that always follow an upheaval of that sort); on the other hand I'm dubious about trying to build my parallel support library on VS2010 and the rest of the code on VS2008. Is there a way to do what I really want to do, which is build the openmpi source on VS2008? Alan Nichols AWR - STAAR 11520 N. Port Washington Rd. Mequon, WI 53092 P: 1.262.240.0291 x 103 F: 1.262.240.0294 E: anich...@awrcorp.com <mailto:anich...@awrcorp.com> http://www.awrcorp.com <http://www.awrcorp.com/> *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:* Thursday, June 09, 2011 6:43 PM *To:* Open MPI Users *Cc:* Alan Nichols *Subject:* Re: [OMPI users] Building OpenMPI v. 1.4.3 in VS2008 Hi Alan, It looks like a problem of using a wrong generator in CMake GUI. I double tested a fresh new downloaded 1.4.3 on my win7 machine with VS2010, everything worked well. Please check: 1. a proper CMake generator is used. 2. the CMAKE_BUILD_TYPE in CMake GUI and the build type in VS are both Release If the error still happens, please provide me the file name and line number where triggers the error when compiling it. Regards, Shiqing On 2011-06-07 5:37 PM, Alan Nichols wrote: Hello, I'm currently trying to build OpenMPI v. 1.4.3 from source, in VS2008. Platform is Win7, SP1 installed ( I realize that this is possibly not an ideal approach as v. 1.5.3 has installers for Windows binaries. However for compatibility with other programs I need to use v. 1.4.3 if at all possible; also as I have many other libraries build under VS2008, I need to use the VS2008 compiler if at all possible). Following the README.WINDOWS file I found, I used CMake to build a Windows .sln file. I accepted the default CMake settings, with the exception that I only created a Release build of OpenMPI. Upon my first attempt to build the solution, I got an error about a missing file stdint.h. I was able to fix this by including the stdint.h from VS2010. However I now get new errors referencing __attribute__((__always_inline__)) __asmvolatile__("": : :"memory") These look to me like linux-specific problems -- is it even possible to do what I'm attempting, or are the code bases and compiler fundamentally at odds here? If it is possible can you explain where my error lies? Thanks for your help, Alan Nichols ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email:f...@hlrs.de <mailto:f...@hlrs.de> -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] mpi.h:: OMPI_HAVE_FORTRAN_LOGICAL / INTEGER / REAL are set to 0 (zero)
Hi, I did a few tests to reproduce the problem, and found out that it is because of using a single cmake cache to handle the fortran settings, so in some cases the part of the cache can be refreshed. I'm thinking to have a second cache to make it more convenient for users. So the current solution is just to run "configure" only once after enabling OMPI_WANT_F77_BINDINGS. I will implement the update for the CMake files soon. Thanks, Shiqing On 2011-05-31 2:32 PM, hi wrote: Greetings once again !!! Environment: OS: Windows 7 64-bit Compilers: ifort and cl.exe (both 64-bit) CMAKE: version-2.8.4 OpenMPI: version 1.5.3 As described in the README.WINDOWS.txt, when performing 'First approach:" I am observing following... 1) via cmake-gui.exe clicked 'Configure' and it shown all config options in pink color see output of this step in attached cmake_gui_output1.txt 2) then I enabled OMPI_WANT_F77_BINDING and OMPI_WANT_F90_BINDING to true and then clicked 'Configure'. see output of this step in attached cmake_gui_output2.txt As you can observe in cmake_gui_output2.txt file, it succeeded on all Fortran data types (except INTEGER*16 and REAL*2). Now what I am observing is that eventho' fortran compiler supports most of the datatypes, but still mpi.h file reports '0' for corresponding datatype. /* Whether we have FORTRAN LOGICAL*1 or not */ #define OMPI_HAVE_FORTRAN_LOGICAL1 0 /* Whether we have FORTRAN LOGICAL*2 or not */ #define OMPI_HAVE_FORTRAN_LOGICAL2 0 /* Whether we have FORTRAN LOGICAL*4 or not */ #define OMPI_HAVE_FORTRAN_LOGICAL4 0 /* Whether we have FORTRAN LOGICAL*8 or not */ #define OMPI_HAVE_FORTRAN_LOGICAL8 0 /* Whether we have FORTRAN INTEGER*1 or not */ #define OMPI_HAVE_FORTRAN_INTEGER1 0 /* Whether we have FORTRAN INTEGER*16 or not */ #define OMPI_HAVE_FORTRAN_INTEGER16 0 /* Whether we have FORTRAN INTEGER*2 or not */ #define OMPI_HAVE_FORTRAN_INTEGER2 0 /* Whether we have FORTRAN INTEGER*4 or not */ #define OMPI_HAVE_FORTRAN_INTEGER4 0 /* Whether we have FORTRAN INTEGER*8 or not */ #define OMPI_HAVE_FORTRAN_INTEGER8 0 /* Whether we have FORTRAN REAL*16 or not */ #define OMPI_HAVE_FORTRAN_REAL16 0 /* Whether we have FORTRAN REAL*2 or not */ #define OMPI_HAVE_FORTRAN_REAL2 0 /* Whether we have FORTRAN REAL*4 or not */ #define OMPI_HAVE_FORTRAN_REAL4 0 /* Whether we have FORTRAN REAL*8 or not */ #define OMPI_HAVE_FORTRAN_REAL8 0 == Any idea on why mpi.h is setting zero for all above fortran datatypes despite fortran compiler supports most of the datatypes (see cmake_gui_output2.txt)??? Thank you in advance. -Hiral ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ----------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email:f...@hlrs.de
Re: [OMPI users] FW: Issue with mpicc --showme in windows
That's very strange. From my test, everything is just fine, I tried "mpif77 --showme" and got following result even I don't have a Intel fortran compiler installed: C:\Program Files\OpenMPI_v1.5.3-win32\bin>mpif77 --showme ifort.exe /I"C:\Program Files\OpenMPI_v1.5.3-win32\include" /link /LIBPATH:"C:\P rogram Files\OpenMPI_v1.5.3-win32\lib" libmpi_f77d.lib libmpid.lib libopen-pald. lib libopen-rted.lib advapi32.lib Ws2_32.lib shlwapi.lib Maybe your installation was corrupted? Did you do a normal installation without any special configuration? This problem might also happen if you directly copy a installed directory from one computer to another, and the registry on the second computer doesn't have necessary information. Could you also look into your registry, and look for HKLM\\software\\OpenMPI, if anything exists there, please send me their value. Regards, Shiqing On 2011-06-10 5:41 AM, AMARNATH, Balachandar wrote: Hi, I use this version http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.3-2_win32.exe Regards Balachandar *From:*Shiqing Fan [mailto:f...@hlrs.de] *Sent:* 10 June 2011 03:31 *To:* Open MPI Users *Cc:* AMARNATH, Balachandar *Subject:* Re: [OMPI users] FW: Issue with mpicc --showme in windows Hi Balachandar, Which version of OMPI did you use? I know old versions on Windows have such problem. Using a newer version will solve your problem. Regards, Shiqing On 2011-05-23 11:45 AM, AMARNATH, Balachandar wrote: Hi, I still don't understand why the command is trying to open a configuration file from a non-existing location. For me its weird..!! May be, I am doing wrong somewhere? Am I missing some environment variables which I need to set before starts working with it ? Regards Balachandar _ *From:* AMARNATH, Balachandar *Sent:* 20 May 2011 17:48 *To:* 'us...@open-mpi.org <mailto:us...@open-mpi.org>' *Subject:* Issue with mpicc --showme in windows Hello, Here in my windows machine, if i ran mpicc --showme, i get erroneous output like below:- ** C:\>C:\Users\BAAMARNA5617\Programs\mpi\OpenMPI_v1.5.3-win32\bin\mpicc.exe --showme Cannot open configuration file C:/Users/hpcfan/Documents/OpenMPI/openmpi-1.5.3/i nstalled-32/share/openmpi\mpif77.exe-wrapper-data.txt Error parsing data file mpif77.exe: Not found ** I installed openmpi from http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.3-2_win32.exe and end up with error. (Read in a forum that 1.4 version of openmpi does not support fortran bindings and hence obtained one of the recent releases). Hope to fix this soon, With thanks and regards Balachandar The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free. ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email:f...@hlrs.de <mailto:f...@hlrs.de> This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
Re: [OMPI users] Building OpenMPI v. 1.4.3 in VS2008
Hi Alan, It looks like a problem of using a wrong generator in CMake GUI. I double tested a fresh new downloaded 1.4.3 on my win7 machine with VS2010, everything worked well. Please check: 1. a proper CMake generator is used. 2. the CMAKE_BUILD_TYPE in CMake GUI and the build type in VS are both Release If the error still happens, please provide me the file name and line number where triggers the error when compiling it. Regards, Shiqing On 2011-06-07 5:37 PM, Alan Nichols wrote: Hello, I'm currently trying to build OpenMPI v. 1.4.3 from source, in VS2008. Platform is Win7, SP1 installed ( I realize that this is possibly not an ideal approach as v. 1.5.3 has installers for Windows binaries. However for compatibility with other programs I need to use v. 1.4.3 if at all possible; also as I have many other libraries build under VS2008, I need to use the VS2008 compiler if at all possible). Following the README.WINDOWS file I found, I used CMake to build a Windows .sln file. I accepted the default CMake settings, with the exception that I only created a Release build of OpenMPI. Upon my first attempt to build the solution, I got an error about a missing file stdint.h. I was able to fix this by including the stdint.h from VS2010. However I now get new errors referencing __attribute__((__always_inline__)) __asmvolatile__("": : :"memory") These look to me like linux-specific problems -- is it even possible to do what I'm attempting, or are the code bases and compiler fundamentally at odds here? If it is possible can you explain where my error lies? Thanks for your help, Alan Nichols ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] FW: Issue with mpicc --showme in windows
Hi Balachandar, Which version of OMPI did you use? I know old versions on Windows have such problem. Using a newer version will solve your problem. Regards, Shiqing On 2011-05-23 11:45 AM, AMARNATH, Balachandar wrote: Hi, I still don't understand why the command is trying to open a configuration file from a non-existing location. For me its weird..!! May be, I am doing wrong somewhere? Am I missing some environment variables which I need to set before starts working with it ? Regards Balachandar _ *From:* AMARNATH, Balachandar *Sent:* 20 May 2011 17:48 *To:* 'us...@open-mpi.org' *Subject:* Issue with mpicc --showme in windows Hello, Here in my windows machine, if i ran mpicc --showme, i get erroneous output like below:- ** C:\>C:\Users\BAAMARNA5617\Programs\mpi\OpenMPI_v1.5.3-win32\bin\mpicc.exe --showme Cannot open configuration file C:/Users/hpcfan/Documents/OpenMPI/openmpi-1.5.3/i nstalled-32/share/openmpi\mpif77.exe-wrapper-data.txt Error parsing data file mpif77.exe: Not found ** I installed openmpi from _http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.3-2_win32.exe_ and end up with error. (Read in a forum that 1.4 version of openmpi does not support fortran bindings and hence obtained one of the recent releases). Hope to fix this soon, With thanks and regards Balachandar The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] missing symbols in Windows 1.5.3 binaries?
Hi Damien, Which version of Intel MPI do you use? The only difference between 1.5.3 and .1.52 I can tell is that 1.5.3 was built with Intel Fortran Composer XE 2011. That might be the reason of the problem. Shiqing On 4/16/2011 4:01 AM, Damien wrote: Hiya, I just tested the 1.5.3 binaries and my link pass broke. Using 1.5.3 I get unresolved externals on things like _MPI_NULL_COPY_FN. On 1.5.2.2 it's fine. I did a dumpbin on libmpi.lib for both versions, and in 1.5.3 there's upper-case symbols for _OMPI_C_MPI_NULL_COPY_FN, but not _MPI_NULL_COPY_FN. In the 1.5.2.2 libmpi.lib there's symbols for both. Damien ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Building OpenMPI on Windows 7
Hi Hiral, You have to add "OMPI_IMPORTS" as a preprocessor definition in you project configuration. Or a easier way is to use the mpicc command line. Please also take a look into the output of "mpicc --showme", it will give you the complete compile options. Regards, Shiqing On 3/22/2011 10:36 AM, hi wrote: Hi Shiqing, While building my application (on Windows 7, Vistual Studio 2008 32-bit application) with openmpi-1.5.2, getting following error... util.o : error LNK2001: unresolved external symbol _ompi_mpi_byte util.o : error LNK2001: unresolved external symbol _ompi_mpi_op_max util.o : error LNK2001: unresolved external symbol _ompi_mpi_int util.o : error LNK2001: unresolved external symbol _ompi_mpi_char util.o : error LNK2001: unresolved external symbol _ompi_mpi_comm_world util.o : error LNK2001: unresolved external symbol _ompi_mpi_op_sum Linking options... /LIBPATH:""c:\openmpi-1.5.2\installed"/lib/" libmpi_cxxd.lib libmpid.lib libmpi_f77d.lib libopen-pald.lib libopen-rted.lib I seems that 'dllexport' is missing for above symbols. Thank you. -Hiral On Fri, Mar 18, 2011 at 1:53 AM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi Hiral, > There is no f90 bindings at moment for Windows. Any idea when this available? At moment, no. But only if there is strong requirements. Regards, Shiqing Thank you. -Hiral On Thu, Mar 17, 2011 at 5:21 PM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: I tried building openmpi-1.5.2 on Windows 7 (as described below environment) with OMPI_WANT_F77_BINDINGS_ON and OMPI_WANT_F90_BINDINGS_ON using "ifort". I observed that it has generated mpif77.exe but didn't generated mpif90.exe, any idea??? There is no f90 bindings at moment for Windows. BTW: while using above generated mpif77.exe to compile hello_f77.f got following errors... c:\openmpi-1.5.2\examples> mpif77 hello_f77.f Intel(R) Visual Fortran Compiler Professional for applications running on IA-32, Version 11.1Build 20100414 Package ID: w_cprof_p_11.1.065 Copyright (C) 1985-2010 Intel Corporation. All rights reserved. C:/openmpi-1.5.2/installed/include\mpif-config.h(91): error #5082: Syntax error, found ')' when expecting one of: ( ... parameter (MPI_STATUS_SIZE=) -^ compilation aborted for hello_f77.f (code 1) It seems MPI_STATUS_SIZE is not set. Could you please send me your CMakeCache.txt to me off the mailing list, so that I can check what is going wrong? A quick solution would be just set it to 0. Regards, Shiqing Thank you. -Hiral On Wed, Mar 16, 2011 at 8:11 PM, Damien <dam...@khubla.com <mailto:dam...@khubla.com>> wrote: Hiral, To add to Shiqing's comments, 1.5 has been running great for me on Windows for over 6 months since it was in beta. You should give it a try. Damien On 16/03/2011 8:34 AM, Shiqing Fan wrote: Hi Hiral, > it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Can you please provide steps to build 1.4.3 with experimental f77 bindings on Windows? Well, I highly recommend to use 1.5 series, but I can also take a look and probably provide you a patch for 1.4 . BTW: Do you have any idea on: when next stable release with full fortran support on Windows would be available? There is no plan yet. Regards, Shiqing Thank you. -Hiral On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi Hiral, 1.3.4 is quite old, please use the latest version. As Damien noted, the full fortran support is in 1.5 series, it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Another choice is to use the released binary installers to avoid compiling everything by yourself. Best Regards, Shiqing On 3/16/2011 11:47 AM, hi wrote: Greetings!!! I am trying to build openmpi-1.3.4 and openmpi-1.4.3 on Windows 7 (64-bit OS), but getting some difficuty... My build environment: OS : Win
Re: [OMPI users] Building OpenMPI on Windows 7
Hi Hiral, > There is no f90 bindings at moment for Windows. Any idea when this available? At moment, no. But only if there is strong requirements. Regards, Shiqing Thank you. -Hiral On Thu, Mar 17, 2011 at 5:21 PM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: I tried building openmpi-1.5.2 on Windows 7 (as described below environment) with OMPI_WANT_F77_BINDINGS_ON and OMPI_WANT_F90_BINDINGS_ON using "ifort". I observed that it has generated mpif77.exe but didn't generated mpif90.exe, any idea??? There is no f90 bindings at moment for Windows. BTW: while using above generated mpif77.exe to compile hello_f77.f got following errors... c:\openmpi-1.5.2\examples> mpif77 hello_f77.f Intel(R) Visual Fortran Compiler Professional for applications running on IA-32, Version 11.1Build 20100414 Package ID: w_cprof_p_11.1.065 Copyright (C) 1985-2010 Intel Corporation. All rights reserved. C:/openmpi-1.5.2/installed/include\mpif-config.h(91): error #5082: Syntax error, found ')' when expecting one of: ( ... parameter (MPI_STATUS_SIZE=) -^ compilation aborted for hello_f77.f (code 1) It seems MPI_STATUS_SIZE is not set. Could you please send me your CMakeCache.txt to me off the mailing list, so that I can check what is going wrong? A quick solution would be just set it to 0. Regards, Shiqing Thank you. -Hiral On Wed, Mar 16, 2011 at 8:11 PM, Damien <dam...@khubla.com <mailto:dam...@khubla.com>> wrote: Hiral, To add to Shiqing's comments, 1.5 has been running great for me on Windows for over 6 months since it was in beta. You should give it a try. Damien On 16/03/2011 8:34 AM, Shiqing Fan wrote: Hi Hiral, > it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Can you please provide steps to build 1.4.3 with experimental f77 bindings on Windows? Well, I highly recommend to use 1.5 series, but I can also take a look and probably provide you a patch for 1.4 . BTW: Do you have any idea on: when next stable release with full fortran support on Windows would be available? There is no plan yet. Regards, Shiqing Thank you. -Hiral On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi Hiral, 1.3.4 is quite old, please use the latest version. As Damien noted, the full fortran support is in 1.5 series, it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Another choice is to use the released binary installers to avoid compiling everything by yourself. Best Regards, Shiqing On 3/16/2011 11:47 AM, hi wrote: Greetings!!! I am trying to build openmpi-1.3.4 and openmpi-1.4.3 on Windows 7 (64-bit OS), but getting some difficuty... My build environment: OS : Windows 7 (64-bit) C/C++ compiler : Visual Studio 2008 and Visual Studio 2010 Fortran compiler: Intel "ifort" Approach: followed the "First Approach" described in README.WINDOWS file. *1) Using openmpi-1.3.4:*** Observed build time error in version.cc(136). This error is related to getting SVN version information as described in http://www.open-mpi.org/community/lists/users/2010/01/11860.php. As we are using this openmpi-1.3.4 stable version on Linux platform, is there any fix to this compile time error? *2) Using openmpi-1.4.3:*** Builds properly without F77/F90 support (i.e. i.e. Skipping MPI F77 interface). Now to get the "mpif*.exe" for fortran programs, I provided proper "ifort" path and enabled "OMPI_WANT_F77_BINDINGS=ON" and/or OMPI_WANT_F90_BINDINGS=ON flag; but getting following errors... * 2.a) "ifort" with OMPI_WANT_F77_BINDINGS=ON gave following errors... * Check ifort external symbol convention... Check ifort external symbol convention...single underscore Check if Fortran 77 compiler supports LOGICAL... Check if Fortran 77 compiler supports LOGICAL...done Check size of Fortran 77 LOGICAL... CMake Error at contrib/platform/win32/CMakeModules/f77_get_siz
Re: [OMPI users] Building OpenMPI on Windows 7
I tried building openmpi-1.5.2 on Windows 7 (as described below environment) with OMPI_WANT_F77_BINDINGS_ON and OMPI_WANT_F90_BINDINGS_ON using "ifort". I observed that it has generated mpif77.exe but didn't generated mpif90.exe, any idea??? There is no f90 bindings at moment for Windows. BTW: while using above generated mpif77.exe to compile hello_f77.f got following errors... c:\openmpi-1.5.2\examples> mpif77 hello_f77.f Intel(R) Visual Fortran Compiler Professional for applications running on IA-32, Version 11.1Build 20100414 Package ID: w_cprof_p_11.1.065 Copyright (C) 1985-2010 Intel Corporation. All rights reserved. C:/openmpi-1.5.2/installed/include\mpif-config.h(91): error #5082: Syntax error, found ')' when expecting one of: ( ... parameter (MPI_STATUS_SIZE=) -^ compilation aborted for hello_f77.f (code 1) It seems MPI_STATUS_SIZE is not set. Could you please send me your CMakeCache.txt to me off the mailing list, so that I can check what is going wrong? A quick solution would be just set it to 0. Regards, Shiqing Thank you. -Hiral On Wed, Mar 16, 2011 at 8:11 PM, Damien <dam...@khubla.com <mailto:dam...@khubla.com>> wrote: Hiral, To add to Shiqing's comments, 1.5 has been running great for me on Windows for over 6 months since it was in beta. You should give it a try. Damien On 16/03/2011 8:34 AM, Shiqing Fan wrote: Hi Hiral, > it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Can you please provide steps to build 1.4.3 with experimental f77 bindings on Windows? Well, I highly recommend to use 1.5 series, but I can also take a look and probably provide you a patch for 1.4 . BTW: Do you have any idea on: when next stable release with full fortran support on Windows would be available? There is no plan yet. Regards, Shiqing Thank you. -Hiral On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi Hiral, 1.3.4 is quite old, please use the latest version. As Damien noted, the full fortran support is in 1.5 series, it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Another choice is to use the released binary installers to avoid compiling everything by yourself. Best Regards, Shiqing On 3/16/2011 11:47 AM, hi wrote: Greetings!!! I am trying to build openmpi-1.3.4 and openmpi-1.4.3 on Windows 7 (64-bit OS), but getting some difficuty... My build environment: OS : Windows 7 (64-bit) C/C++ compiler : Visual Studio 2008 and Visual Studio 2010 Fortran compiler: Intel "ifort" Approach: followed the "First Approach" described in README.WINDOWS file. *1) Using openmpi-1.3.4:*** Observed build time error in version.cc(136). This error is related to getting SVN version information as described in http://www.open-mpi.org/community/lists/users/2010/01/11860.php. As we are using this openmpi-1.3.4 stable version on Linux platform, is there any fix to this compile time error? *2) Using openmpi-1.4.3:*** Builds properly without F77/F90 support (i.e. i.e. Skipping MPI F77 interface). Now to get the "mpif*.exe" for fortran programs, I provided proper "ifort" path and enabled "OMPI_WANT_F77_BINDINGS=ON" and/or OMPI_WANT_F90_BINDINGS=ON flag; but getting following errors... * 2.a) "ifort" with OMPI_WANT_F77_BINDINGS=ON gave following errors... * Check ifort external symbol convention... Check ifort external symbol convention...single underscore Check if Fortran 77 compiler supports LOGICAL... Check if Fortran 77 compiler supports LOGICAL...done Check size of Fortran 77 LOGICAL... CMake Error at contrib/platform/win32/CMakeModules/f77_get_sizeof.cmake:76 (MESSAGE): Could not determine size of LOGICAL. Call Stack (most recent call first): contrib/platform/win32/CMakeModules/f77_check.cmake:82 (OMPI_F77_GET_SIZEOF) contrib/platform/win32/CMakeModules/ompi_configure.cmake:1123 (OMPI_F77_CHECK) CMakeLists.txt:87 (INCLUDE) Configuring incomplete, errors occurred! *2.b) "ifort" with OMPI_WANT_F90_BINDINGS=ON gave following errors... * Skipping MPI F77 interface CMake Error: File C:/openmpi-1.4.3/contrib/platform/win32/ConfigFiles/mpif90-wrapper-data.txt.cmake does not exist.
Re: [OMPI users] Building OpenMPI on Windows 7
Hi Hiral, > it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Can you please provide steps to build 1.4.3 with experimental f77 bindings on Windows? Well, I highly recommend to use 1.5 series, but I can also take a look and probably provide you a patch for 1.4 . BTW: Do you have any idea on: when next stable release with full fortran support on Windows would be available? There is no plan yet. Regards, Shiqing Thank you. -Hiral On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi Hiral, 1.3.4 is quite old, please use the latest version. As Damien noted, the full fortran support is in 1.5 series, it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Another choice is to use the released binary installers to avoid compiling everything by yourself. Best Regards, Shiqing On 3/16/2011 11:47 AM, hi wrote: Greetings!!! I am trying to build openmpi-1.3.4 and openmpi-1.4.3 on Windows 7 (64-bit OS), but getting some difficuty... My build environment: OS : Windows 7 (64-bit) C/C++ compiler : Visual Studio 2008 and Visual Studio 2010 Fortran compiler: Intel "ifort" Approach: followed the "First Approach" described in README.WINDOWS file. *1) Using openmpi-1.3.4:*** Observed build time error in version.cc(136). This error is related to getting SVN version information as described in http://www.open-mpi.org/community/lists/users/2010/01/11860.php. As we are using this openmpi-1.3.4 stable version on Linux platform, is there any fix to this compile time error? *2) Using openmpi-1.4.3:*** Builds properly without F77/F90 support (i.e. i.e. Skipping MPI F77 interface). Now to get the "mpif*.exe" for fortran programs, I provided proper "ifort" path and enabled "OMPI_WANT_F77_BINDINGS=ON" and/or OMPI_WANT_F90_BINDINGS=ON flag; but getting following errors... * 2.a) "ifort" with OMPI_WANT_F77_BINDINGS=ON gave following errors... * Check ifort external symbol convention... Check ifort external symbol convention...single underscore Check if Fortran 77 compiler supports LOGICAL... Check if Fortran 77 compiler supports LOGICAL...done Check size of Fortran 77 LOGICAL... CMake Error at contrib/platform/win32/CMakeModules/f77_get_sizeof.cmake:76 (MESSAGE): Could not determine size of LOGICAL. Call Stack (most recent call first): contrib/platform/win32/CMakeModules/f77_check.cmake:82 (OMPI_F77_GET_SIZEOF) contrib/platform/win32/CMakeModules/ompi_configure.cmake:1123 (OMPI_F77_CHECK) CMakeLists.txt:87 (INCLUDE) Configuring incomplete, errors occurred! *2.b) "ifort" with OMPI_WANT_F90_BINDINGS=ON gave following errors... * Skipping MPI F77 interface CMake Error: File C:/openmpi-1.4.3/contrib/platform/win32/ConfigFiles/mpif90-wrapper-data.txt.cmake does not exist. CMake Error at ompi/tools/CMakeLists.txt:93 (CONFIGURE_FILE): configure_file Problem configuring file CMake Error: File C:/openmpi-1.4.3/contrib/platform/win32/ConfigFiles/mpif90-wrapper-data.txt.cmake does not exist. CMake Error at ompi/tools/CMakeLists.txt:97 (CONFIGURE_FILE): configure_file Problem configuring file looking for ccp... looking for ccp...not found. looking for ccp... looking for ccp...not found. Configuring incomplete, errors occurred! *2.c) "ifort" with OMPI_WANT_F77_BINDINGS=ON and OMPI_WANT_F90_BINDINGS=ON gave following errors... * Check ifort external symbol convention... Check ifort external symbol convention...single underscore Check if Fortran 77 compiler supports LOGICAL... Check if Fortran 77 compiler supports LOGICAL...done Check size of Fortran 77 LOGICAL... CMake Error at contrib/platform/win32/CMakeModules/f77_get_sizeof.cmake:76 (MESSAGE): Could not determine size of LOGICAL. Call Stack (most recent call first): contrib/platform/win32/CMakeModules/f77_check.cmake:82 (OMPI_F77_GET_SIZEOF) contrib/platform/win32/CMakeModules/ompi_configure.cmake:1123 (OMPI_F77_CHECK) CMakeLists.txt:87 (INCLUDE) Configuring incomplete, errors occurred! Any idea on resolving above errors to get mpif*.exe generated on Windows platform using "ifort"? Please let me know if more information is required. Thank you in advance. -Hiral ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- --
Re: [OMPI users] Building OpenMPI on Windows 7
Hi Hiral, 1.3.4 is quite old, please use the latest version. As Damien noted, the full fortran support is in 1.5 series, it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Another choice is to use the released binary installers to avoid compiling everything by yourself. Best Regards, Shiqing On 3/16/2011 11:47 AM, hi wrote: Greetings!!! I am trying to build openmpi-1.3.4 and openmpi-1.4.3 on Windows 7 (64-bit OS), but getting some difficuty... My build environment: OS : Windows 7 (64-bit) C/C++ compiler : Visual Studio 2008 and Visual Studio 2010 Fortran compiler: Intel "ifort" Approach: followed the "First Approach" described in README.WINDOWS file. *1) Using openmpi-1.3.4:*** Observed build time error in version.cc(136). This error is related to getting SVN version information as described in http://www.open-mpi.org/community/lists/users/2010/01/11860.php. As we are using this openmpi-1.3.4 stable version on Linux platform, is there any fix to this compile time error? *2) Using openmpi-1.4.3:*** Builds properly without F77/F90 support (i.e. i.e. Skipping MPI F77 interface). Now to get the "mpif*.exe" for fortran programs, I provided proper "ifort" path and enabled "OMPI_WANT_F77_BINDINGS=ON" and/or OMPI_WANT_F90_BINDINGS=ON flag; but getting following errors... * 2.a) "ifort" with OMPI_WANT_F77_BINDINGS=ON gave following errors... * Check ifort external symbol convention... Check ifort external symbol convention...single underscore Check if Fortran 77 compiler supports LOGICAL... Check if Fortran 77 compiler supports LOGICAL...done Check size of Fortran 77 LOGICAL... CMake Error at contrib/platform/win32/CMakeModules/f77_get_sizeof.cmake:76 (MESSAGE): Could not determine size of LOGICAL. Call Stack (most recent call first): contrib/platform/win32/CMakeModules/f77_check.cmake:82 (OMPI_F77_GET_SIZEOF) contrib/platform/win32/CMakeModules/ompi_configure.cmake:1123 (OMPI_F77_CHECK) CMakeLists.txt:87 (INCLUDE) Configuring incomplete, errors occurred! *2.b) "ifort" with OMPI_WANT_F90_BINDINGS=ON gave following errors... * Skipping MPI F77 interface CMake Error: File C:/openmpi-1.4.3/contrib/platform/win32/ConfigFiles/mpif90-wrapper-data.txt.cmake does not exist. CMake Error at ompi/tools/CMakeLists.txt:93 (CONFIGURE_FILE): configure_file Problem configuring file CMake Error: File C:/openmpi-1.4.3/contrib/platform/win32/ConfigFiles/mpif90-wrapper-data.txt.cmake does not exist. CMake Error at ompi/tools/CMakeLists.txt:97 (CONFIGURE_FILE): configure_file Problem configuring file looking for ccp... looking for ccp...not found. looking for ccp... looking for ccp...not found. Configuring incomplete, errors occurred! *2.c) "ifort" with OMPI_WANT_F77_BINDINGS=ON and OMPI_WANT_F90_BINDINGS=ON gave following errors... * Check ifort external symbol convention... Check ifort external symbol convention...single underscore Check if Fortran 77 compiler supports LOGICAL... Check if Fortran 77 compiler supports LOGICAL...done Check size of Fortran 77 LOGICAL... CMake Error at contrib/platform/win32/CMakeModules/f77_get_sizeof.cmake:76 (MESSAGE): Could not determine size of LOGICAL. Call Stack (most recent call first): contrib/platform/win32/CMakeModules/f77_check.cmake:82 (OMPI_F77_GET_SIZEOF) contrib/platform/win32/CMakeModules/ompi_configure.cmake:1123 (OMPI_F77_CHECK) CMakeLists.txt:87 (INCLUDE) Configuring incomplete, errors occurred! Any idea on resolving above errors to get mpif*.exe generated on Windows platform using "ifort"? Please let me know if more information is required. Thank you in advance. -Hiral ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- --- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: f...@hlrs.de
Re: [OMPI users] Windows release 1.5.1
Hi Andy, I see the problem, your version is not up-to-date, as it is shown "16/12/2010" in your jpeg. You can go to Open MPI website, and download the latest one, which was out on 1st, Feb. Regards, Shiqing On 2/3/2011 2:28 PM, Page, Andy (UK) wrote: Shiqing Thanks for reply. Maybe i was niot that clear in what i meant. I was looking for a library mpi_f77.lib and mpif.h neither of which i could see in the install direction see attached jpeg ---- *From:* Shiqing Fan [mailto:f...@hlrs.de] *Sent:* 03 February 2011 13:20 *To:* Open MPI Users *Cc:* Page, Andy (UK) *Subject:* Re: [OMPI users] Windows release 1.5.1 *** WARNING *** This message has originated outside your organisation, either from an external partner or the Global Internet. Keep this in mind if you answer this message. Hi, I'm not sure if I got it correct. The libraries provided in the installers are MPI libraries with Fortran bindings, but they are not the Fortran libraries. If you want to compile Open MPI, you need to install a Fortran compiler, for example, Intel Fortran Compiler. And in the CMake GUI, you'll be able to enable building MPI Fortran bindings. Regards, Shiqing On 2/3/2011 11:53 AM, Page, Andy (UK) wrote: Dear Users, I am looking to compile on windows against openmpi in particular the Fortran libraries, I looked at the *MS Release notes for 1.5.1* and it gave the *impression Fortran libraries were included but* after installing *i dont see them !!* Can you advise what i am doing wrong. Can i download just the Fortran side of openmpi and compile it up ( using hopefully a vsiual studio project file) ? Or should a download the full release and try compiling it up ? Cheers. BAE Systems (Operations) Limited Registered Office: Warwick House, PO Box 87, Farnborough Aerospace Centre, Farnborough, Hants, GU14 6YU, UK Registered in England & Wales No: 1996687 This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] Windows release 1.5.1
Hi, I'm not sure if I got it correct. The libraries provided in the installers are MPI libraries with Fortran bindings, but they are not the Fortran libraries. If you want to compile Open MPI, you need to install a Fortran compiler, for example, Intel Fortran Compiler. And in the CMake GUI, you'll be able to enable building MPI Fortran bindings. Regards, Shiqing On 2/3/2011 11:53 AM, Page, Andy (UK) wrote: Dear Users, I am looking to compile on windows against openmpi in particular the Fortran libraries, I looked at the *MS Release notes for 1.5.1* and it gave the *impression Fortran libraries were included but* after installing *i dont see them !!* Can you advise what i am doing wrong. Can i download just the Fortran side of openmpi and compile it up ( using hopefully a vsiual studio project file) ? Or should a download the full release and try compiling it up ? Cheers. BAE Systems (Operations) Limited Registered Office: Warwick House, PO Box 87, Farnborough Aerospace Centre, Farnborough, Hants, GU14 6YU, UK Registered in England & Wales No: 1996687 This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users
[OMPI users] Open MPI v1.5.1 Windows Installer with Fortran 77 bindings released
The Open MPI Team, representing a consortium of research, academic, and industry partners, is pleased to announce the release of Open MPI version 1.5.1 Windows Installers with Fortran 77 bindings. This release is an Fortran 77 bindings update over the previous v1.5.1 release. We recommend that all users upgrade to this latest version when possible. The latest Open MPI Windows installers can be downloaded from the main Open MPI web site or any of its mirrors (mirrors will be updating shortly). Many thanks to Damien Hocking who helped us with Intel Fortran compiler issues for the Windows binaries.
Re: [OMPI users] Windows installers of 1.5.1 - No Fortan ?
Hi Damien, Unfortunately, we don't have a valid license for Intel Fortran compiler at moment on the machine that we built this installer. Regards, Shiqing On 12/29/2010 6:47 AM, Damien Hocking wrote: Jeff, Shiqing, anyone... I notice there's no Fortan support in the Windows binary versions of 1.5.1 on the website. Is that a deliberate decision? Damien ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] Open MPI on Cygwin
Hi Siegmar, Building Open MPI under Cygwin is not the way we recommend, it's not easy, and the building time is extremely long. Actually if you have CMake and Visual Studio installed, then it's pretty easy to build Open MPI binary, but of course you have to port your GNU makefiles. If there is anything I can help, e.g. providing an installer of Open MPI binary, please just let me know. Regards, Shiqing On 12/10/2010 3:54 PM, Siegmar Gross wrote: Hello Shiqing, thank you very much for your reply. I want a working MPI implementation on my Notebook. At the moment I still use LAM-MPI on Cygwin on Windows XP Professional SP3. Unfortunately LAM-MPI will not be supported any longer so that I am looking for a replacement. I use MPI for my courses and I implement small programs on my Notebook before I run them on our Solaris and Linux machines. I thought that I need some kind of Windows Server for MPI on Windows so that I didn't try building it on Windows. If I can build Open MPI on Cygwin, I would prefer Cygwin because I have for all programs GNUmakefiles which I would have to port to Windows Makefiles if I use MPI on Windows. If it isn't possible to build Open MPI on Cygwin, I will try to build it directly on Windows and I will port my GNUmakefiles in that case. Kind regards Siegmar On Fri, 10 Dec 2010 09:16:53 +0100, Shiqing Fan<f...@hlrs.de> wrote: Hello Siegmar, Do you have to use Open MPI that build with Cygwin? If not, you can simply use CMake and Visual Studio to compile it. Please refer to the README.WINDOWS file in the main directory. Regards, Shiqing On 12/9/2010 4:24 PM, Siegmar Gross wrote: Hi, I know that you don't try to port Open Mpi to Cygwin at the moment but perhaps you can give me a hint how to proceed. I tried to build openmpi-1.5.1rc1 on Cygwin 1.5.25 with gcc-4 with the following options. ../openmpi-1.5.1rc1r24104/configure --prefix=/usr/local/openmpi-1.5.1-gcc-4 CC=gcc-4 CPP=cpp-4 CXX=g++-4 CXXCPP=cpp-4 F77=gfortran-4 FC=gfortran-4 CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32 CXXLDFLAGS=-m32 LDFLAGS=-m32 CPPFLAGS= C_INCL_PATH= C_INCLUDE_PATH= CPLUS_INCLUDE_PATH= OBJC_INCLUDE_PATH= MPIHOME= --without-udapl --without-openib --without-cs-fs --enable-mpi-f90 --with-mpi-f90-size=small --enable-heterogeneous --enable-cxx-exceptions --enable-shared --enable-orterun-prefix-by-default --with-threads=posix --enable-mpi-threads --disable-progress-threads --disable-vt "--disable-vt" was necessary to avoid some errors. I got the following output in config.log. ## - ## ## Platform. ## ## - ## hostname = eiger uname -m = i686 uname -r = 1.5.25(0.156/4/2) uname -s = CYGWIN_NT-5.1 uname -v = 2008-06-12 19:34 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown ... My configure-log-file contains the following two lines: checking for architecture... i686 configure: WARNING: Unknown architecture ... proceeding anyway In my opinion all other warnings in that file are unimportant because I get them on Solaris and Linux as well. "make" breaks with some errors. eiger openmpi-1.5.1-Cygwin.x86_gcc-4 56 grep -i error log.make.Cygwin.x86_gcc-4 | more ... CC error.lo .../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error: 'HKEY' undeclared (first use in this function) .../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error: (Each undeclared identifier is reported only once .../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error: for each function it appears in.) .../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error: expected ';' before 'ompi_key' .../opal/mca/installdirs/windows/opal_installdirs_windows.c:82: error: 'ERROR_SUCCESS' undeclared (first use in this function) .../opal/mca/installdirs/windows/opal_installdirs_windows.c:82: error: 'HKEY_LOCAL_MACHINE' undeclared (first use in this function) ... "opal_installdirs_windows.c" needs some header files which are not available. eiger openmpi-1.5.1-Cygwin.x86_gcc-4 79 find . -name constants.h eiger openmpi-1.5.1-Cygwin.x86_gcc-4 80 find . -name installdirs.h eiger openmpi-1.5.1-Cygwin.x86_gcc-4 81 find . -name opal_config.h ./opal/include/opal_config.h What can I do, that the first two files will be created? Are they necessary for Cygwin or is it only windows stuff? How can I avoid the windows-subtree in Cygwin if it is not necessary? Thank you very much for any help in advance. Kind regards Siegmar ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] Open MPI on Cygwin
Hello Siegmar, Do you have to use Open MPI that build with Cygwin? If not, you can simply use CMake and Visual Studio to compile it. Please refer to the README.WINDOWS file in the main directory. Regards, Shiqing On 12/9/2010 4:24 PM, Siegmar Gross wrote: Hi, I know that you don't try to port Open Mpi to Cygwin at the moment but perhaps you can give me a hint how to proceed. I tried to build openmpi-1.5.1rc1 on Cygwin 1.5.25 with gcc-4 with the following options. ../openmpi-1.5.1rc1r24104/configure --prefix=/usr/local/openmpi-1.5.1-gcc-4 CC=gcc-4 CPP=cpp-4 CXX=g++-4 CXXCPP=cpp-4 F77=gfortran-4 FC=gfortran-4 CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32 CXXLDFLAGS=-m32 LDFLAGS=-m32 CPPFLAGS= C_INCL_PATH= C_INCLUDE_PATH= CPLUS_INCLUDE_PATH= OBJC_INCLUDE_PATH= MPIHOME= --without-udapl --without-openib --without-cs-fs --enable-mpi-f90 --with-mpi-f90-size=small --enable-heterogeneous --enable-cxx-exceptions --enable-shared --enable-orterun-prefix-by-default --with-threads=posix --enable-mpi-threads --disable-progress-threads --disable-vt "--disable-vt" was necessary to avoid some errors. I got the following output in config.log. ## - ## ## Platform. ## ## - ## hostname = eiger uname -m = i686 uname -r = 1.5.25(0.156/4/2) uname -s = CYGWIN_NT-5.1 uname -v = 2008-06-12 19:34 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown ... My configure-log-file contains the following two lines: checking for architecture... i686 configure: WARNING: Unknown architecture ... proceeding anyway In my opinion all other warnings in that file are unimportant because I get them on Solaris and Linux as well. "make" breaks with some errors. eiger openmpi-1.5.1-Cygwin.x86_gcc-4 56 grep -i error log.make.Cygwin.x86_gcc-4 | more ... CC error.lo .../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error: 'HKEY' undeclared (first use in this function) .../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error: (Each undeclared identifier is reported only once .../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error: for each function it appears in.) .../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error: expected ';' before 'ompi_key' .../opal/mca/installdirs/windows/opal_installdirs_windows.c:82: error: 'ERROR_SUCCESS' undeclared (first use in this function) .../opal/mca/installdirs/windows/opal_installdirs_windows.c:82: error: 'HKEY_LOCAL_MACHINE' undeclared (first use in this function) ... "opal_installdirs_windows.c" needs some header files which are not available. eiger openmpi-1.5.1-Cygwin.x86_gcc-4 79 find . -name constants.h eiger openmpi-1.5.1-Cygwin.x86_gcc-4 80 find . -name installdirs.h eiger openmpi-1.5.1-Cygwin.x86_gcc-4 81 find . -name opal_config.h ./opal/include/opal_config.h What can I do, that the first two files will be created? Are they necessary for Cygwin or is it only windows stuff? How can I avoid the windows-subtree in Cygwin if it is not necessary? Thank you very much for any help in advance. Kind regards Siegmar ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] win: mpic++ -showme reports duplicate .libs
Hi Hicham, I'm afraid that I was wrong per last email. The trunk doesn't have this problem, it's only for 1.4 branch. I'll make a ticket to fix it. Thanks a lot. Regards, Shiqing On 2010-12-1 11:16 PM, Hicham Mouline wrote: -Original Message- From: Shiqing Fan [mailto:f...@hlrs.de] Sent: 01 December 2010 11:29 To: Open MPI Users Cc: Hicham Mouline Subject: Re: [OMPI users] win: mpic++ -showme reports duplicate .libs Hi Hicham, Thanks for noticing it. It's now been fixed on trunk. Regards, Shiqing On 2010-12-1 10:02 AM, Hicham Mouline wrote: Hello, mpic++ -showme:link /TP /EHsc /link /LIBPATH:"C:/Program Files (x86)/openmpi/lib" libmpi.lib libopen-pal.lib libopen-rte.lib libmpi_cxx.lib libmpi.lib libopen- pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib reports using the 4 mpi libs twice. I've followed the cmake way in README.windows. Is this intended or have I wronged somewhere? rds, That was fast. I'm glad these are sorted quickly. This is used by FindMPI module in cmake which is hopefully being extended by the maintainer after some emails, to work on windows as well. regards, ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------ Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Problem with MPI_Comm_accept in a dynamic client/server application
Hi Kalin, Which version of Open MPI did you use? It seems that the ess component couldn't be selected. Could you please send me the output of ompi_info? Regards, Shiqing On 2010-11-30 12:32 AM, Kalin Kanov wrote: Hi Shiqing, I must have missed your response among all the e-mails that get sent to the mailing list. Here are a little more details about the issues that I am having. My client/server programs seem to run sometimes, but then after a successful run I always seem to get the error that I included in my first post. The way that I run the programs is by running the server application first, which generates the port string, etc. I then proceed to run the client application with a new call to mpirun. After getting the errors that I e-mailed about I also tried to run ompi-clean, but the results are the following: >ompi-clean [Lazar:05984] [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file ..\..\orte\r untime\orte_init.c at line 125 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_ess_base_select failed --> Returned value Not found (-13) instead of ORTE_SUCCESS -- Any help with this issue will be greatly appreciated. Thank you, Kalin On 27.10.2010 г. 05:52, Shiqing Fan wrote: Hi Kalin, Sorry for the late reply. I checked the code and got confused. (I'm not and MPI expert) I'm just wondering how to start the server and client in the same mpirun command while the client needs a hand-input port name, which is given by the server at runtime. I found a similar program on the Internet (see attached), that works well on my Windows. In this program, the generated port name will be send among the processes by MPI_Send. Regards, Shiqing On 2010-10-13 11:09 PM, Kalin Kanov wrote: Hi there, I am trying to create a client/server application with OpenMPI, which has been installed on a Windows machine, by following the instruction (with CMake) in the README.WINDOWS file in the OpenMPI distribution (version 1.4.2). I have ran other test application that compile file under the Visual Studio 2008 Command Prompt. However I get the following errors on the server side when accepting a new client that is trying to connect: [Lazar:02716] [[47880,1],0] ORTE_ERROR_LOG: Not found in file ..\..\orte\mca\grp comm\base\grpcomm_base_allgather.c at line 222 [Lazar:02716] [[47880,1],0] ORTE_ERROR_LOG: Not found in file ..\..\orte\mca\grp comm\basic\grpcomm_basic_module.c at line 530 [Lazar:02716] [[47880,1],0] ORTE_ERROR_LOG: Not found in file ..\..\ompi\mca\dpm \orte\dpm_orte.c at line 363 [Lazar:2716] *** An error occurred in MPI_Comm_accept [Lazar:2716] *** on communicator MPI_COMM_WORLD [Lazar:2716] *** MPI_ERR_INTERN: internal error [Lazar:2716] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort) -- mpirun has exited due to process rank 0 with PID 476 on node Lazar exiting without calling "finalize". This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here). -- The server and client code is attached. I have straggled with this problem for quite a while, so please let me know what the issue might be. I have looked at the archives and the FAQ, and the only thing similar that I have found had to do with different version of OpenMPI installed, but I only have one version, and I believe it is the one being used. Thank you, Kalin ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fanhttp://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email:f...@hlrs.de 70569 Stuttgart -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] win: mpic++ -showme reports duplicate .libs
Hi Hicham, Thanks for noticing it. It's now been fixed on trunk. Regards, Shiqing On 2010-12-1 10:02 AM, Hicham Mouline wrote: Hello, mpic++ -showme:link /TP /EHsc /link /LIBPATH:"C:/Program Files (x86)/openmpi/lib" libmpi.lib libopen-pal.lib libopen-rte.lib libmpi_cxx.lib libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib reports using the 4 mpi libs twice. I've followed the cmake way in README.windows. Is this intended or have I wronged somewhere? rds, ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------ Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] failure to launch MPMD program on win32 w 1.4.3
Hi Hicham, I've had this issue with -np 3 : -np 3 but not with -np 2: -np 2 or -np 1: -np 4 or other combinations. I've also rebuilt from vs2008 with the libs advapi32.lib Ws2_32.lib shlwapi.lib as visible in the text file: share\openmpi\mpic++.exe-wrapper-data.txt, and the problem seemed to stop happening. so now it is working. Great! But I don't see the cause of the problem. If it's missing the linking libraries, the compiler should already complain at linking time. I assume I will be able to do this on several windows boxes? Do they need to be all 32bit or 64bit or can I mix? Yes, you can mix 32 and 64 bit, but you have to take care of the executables on each machine. And for running on multiple windows boxes, please refer to the windows readme file. In order to simplify the WMI configuration process, you may also use the small tool I attached for configure users (change the file extension to .exe): Syntax: wmi-config <add|del> <domain1\username1> [<domain2\username2>] ... For example: wmi-config add LOCAL_COMPUTER\user wmi-config add DOMAIN1\user1 DOMAIN2\user2 wmi-config del DOMAIN1\user1 Regards, Shiqing -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart wmi-config.ex_ Description: Binary data
Re: [OMPI users] failure to launch MPMD program on win32 w 1.4.3
Hi, I don't have boost on my Windows, so I made a very similar program just using MPI, and everything works just fine for me: D:\work\OpenMPI\tests\CXX>more hello.cpp # include "mpi.h" using namespace std; int main ( int argc, char *argv[] ) { int rank, size; MPI::Init ( argc, argv ); size = MPI::COMM_WORLD.Get_size ( ); rank = MPI::COMM_WORLD.Get_rank ( ); printf("Process # %d \n", rank); MPI::Finalize ( ); return 0; } D:\work\OpenMPI\tests\CXX>mpirun -np 3 hello.exe : -np 3 hello.exe Process # 2 Process # 4 Process # 0 Process # 3 Process # 5 Process # 1 May be something related to boost? Regards, Shiqing On 2010-11-30 12:05 PM, Hicham Mouline wrote: Hello, I have successfully run mpirun -np 3 .\test.exe when I try MPMP mpirun -np 3 .\test.exe : -np 3 .\test2.exe where test and test2 are identical (just for a trial), I get this error: [hostname:04960] [[47427,1],0]-[[47427,0],0] mca_oob_tcp_peer_send_blocking: send() failed: Unknown error (10057) [hostname:04960] [[47427,1],0] routed:binomial: Connection to lifeline [[47427,0],0] lost Granted this uses boost::mpi, but it worked for SPMD, and the source for the main function is trivial: #include #include namespace mpi = boost::mpi; int main(int argc, char* argv[]) { mpi::environment env(argc, argv); mpi::communicator world; std::cout<< "Process #"<< world.rank()<< " says"<< std::endl; return 0; } as far as I understand, there should be 1 world with 6 processes, ranking 0 1 2 , 3 4 5 regards, ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------ Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] win32 and linux64
Hi Hicham, Unfortunately, it's not possible to run over both windows and linux. Regards, Shiqing On 2010-11-22 10:04 AM, Hicham Mouline wrote: Hello Is it possible to run openmpi application over 2 hosts win32 and linux64? I ran this from the win box mpirun -np 2 --hetero --host localhost,host2 .\Test1.exe and the error was: [:04288] This feature hasn't been implemented yet. [:04288] Could not connect to namespace cimv2 on node host2. Error code =-2147023174 Obviously I need to provide the linux binary as well, on host2. Is this at all possible? regards, ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Help passing filename arguments with spaces through mpirun on windows
Hi, You might also want to try "C:\\Program Files\\some dir". Shiqing On 2010-10-26 4:54 PM, Reuti wrote: Am 26.10.2010 um 16:48 schrieb Bill McGrory: I'm trying to pass a full path name as an argument to my executable through mpirun on a windows platform. Some of the directories have spaces embedded in the file name (e.g. C:\Program Files) When I print out the argument list from the program, it has split the argument into two (or more). I have also enclosed the arguments in quotes, but that doesn't seem to help. I don't know for Windows, but sometimes it can help to use single and double quotes in combination: '"C:\Program Files"' -- Reuti Is this a bug? or do I need to escape my argument list some way. TIA Bill This is v1.4.2 compiled with MSVS using MS compilers, and I see it on XP and Vista. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Problem with MPI_Comm_accept in a dynamic client/server application
Hi Kalin, These warning messages are harmless, some of the IPv6 feature is not yet supported on Windows, but it can still run with IPv4. If you want to get rid of these messages, just disable the IPv6 support in CMake. Regards, Shiqing On 2010-10-14 6:46 PM, Kalin Kanov wrote: Thank you for the quick response and I am looking forward to Shiqing's reply. Additionally, I noticed that I get the following warnings whenever I run an OpenMPI application. I am not sure if this has anything to do with the error that I am getting for MPI_Comm_accept: [Lazar:03288] mca_oob_tcp_create_listen: unable to disable v4-mapped addresses [Lazar:00576] mca_oob_tcp_create_listen: unable to disable v4-mapped addresses [Lazar:00576] mca_btl_tcp_create_listen: unable to disable v4-mapped addresses Kalin On 14.10.2010 г. 08:47, Jeff Squyres wrote: Just FYI -- the main Windows Open MPI guy (Shiqing) is out for a little while. He's really the best person to answer your question. I'm sure he'll reply when he can, but I just wanted to let you know that there may be some latency in his reply. On Oct 13, 2010, at 5:09 PM, Kalin Kanov wrote: Hi there, I am trying to create a client/server application with OpenMPI, which has been installed on a Windows machine, by following the instruction (with CMake) in the README.WINDOWS file in the OpenMPI distribution (version 1.4.2). I have ran other test application that compile file under the Visual Studio 2008 Command Prompt. However I get the following errors on the server side when accepting a new client that is trying to connect: [Lazar:02716] [[47880,1],0] ORTE_ERROR_LOG: Not found in file ..\..\orte\mca\grp comm\base\grpcomm_base_allgather.c at line 222 [Lazar:02716] [[47880,1],0] ORTE_ERROR_LOG: Not found in file ..\..\orte\mca\grp comm\basic\grpcomm_basic_module.c at line 530 [Lazar:02716] [[47880,1],0] ORTE_ERROR_LOG: Not found in file ..\..\ompi\mca\dpm \orte\dpm_orte.c at line 363 [Lazar:2716] *** An error occurred in MPI_Comm_accept [Lazar:2716] *** on communicator MPI_COMM_WORLD [Lazar:2716] *** MPI_ERR_INTERN: internal error [Lazar:2716] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort) -- mpirun has exited due to process rank 0 with PID 476 on node Lazar exiting without calling "finalize". This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here). -- The server and client code is attached. I have straggled with this problem for quite a while, so please let me know what the issue might be. I have looked at the archives and the FAQ, and the only thing similar that I have found had to do with different version of OpenMPI installed, but I only have one version, and I believe it is the one being used. Thank you, Kalin ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------ Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Problem with MPI_Comm_accept in a dynamic client/server application
Hi Kalin, Sorry for the late reply. I checked the code and got confused. (I'm not and MPI expert) I'm just wondering how to start the server and client in the same mpirun command while the client needs a hand-input port name, which is given by the server at runtime. I found a similar program on the Internet (see attached), that works well on my Windows. In this program, the generated port name will be send among the processes by MPI_Send. Regards, Shiqing On 2010-10-13 11:09 PM, Kalin Kanov wrote: Hi there, I am trying to create a client/server application with OpenMPI, which has been installed on a Windows machine, by following the instruction (with CMake) in the README.WINDOWS file in the OpenMPI distribution (version 1.4.2). I have ran other test application that compile file under the Visual Studio 2008 Command Prompt. However I get the following errors on the server side when accepting a new client that is trying to connect: [Lazar:02716] [[47880,1],0] ORTE_ERROR_LOG: Not found in file ..\..\orte\mca\grp comm\base\grpcomm_base_allgather.c at line 222 [Lazar:02716] [[47880,1],0] ORTE_ERROR_LOG: Not found in file ..\..\orte\mca\grp comm\basic\grpcomm_basic_module.c at line 530 [Lazar:02716] [[47880,1],0] ORTE_ERROR_LOG: Not found in file ..\..\ompi\mca\dpm \orte\dpm_orte.c at line 363 [Lazar:2716] *** An error occurred in MPI_Comm_accept [Lazar:2716] *** on communicator MPI_COMM_WORLD [Lazar:2716] *** MPI_ERR_INTERN: internal error [Lazar:2716] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort) -- mpirun has exited due to process rank 0 with PID 476 on node Lazar exiting without calling "finalize". This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here). -- The server and client code is attached. I have straggled with this problem for quite a while, so please let me know what the issue might be. I have looked at the archives and the FAQ, and the only thing similar that I have found had to do with different version of OpenMPI installed, but I only have one version, and I believe it is the one being used. Thank you, Kalin ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------ Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart #include "mpi.h" #include #include #include #include /* Sleep */ /* This test checks to make sure that two MPI_Comm_connects to two different MPI ports * match their corresponding MPI_Comm_accepts. The root process opens two MPI ports and * sends the first port to process 1 and the second to process 2. Then the root process * accepts a connection from the second port followed by the first port. * Processes 1 and 2 both connect back to the root but process 2 first sleeps for three * seconds to give process 1 time to attempt to connect to the root. The root should wait * until process 2 connects before accepting the connection from process 1. */ int main( int argc, char *argv[] ) { int num_errors = 0; int rank, size; char port1[MPI_MAX_PORT_NAME]; char port2[MPI_MAX_PORT_NAME]; MPI_Status status; MPI_Comm comm1, comm2; int data = 0; MPI_Init(, ); MPI_Comm_size(MPI_COMM_WORLD, ); MPI_Comm_rank(MPI_COMM_WORLD, ); if (size < 3) { printf("Three processes needed to run this test.\n");fflush(stdout); MPI_Finalize(); return 0; } if (rank == 0) { printf("0: opening ports.\n");fflush(stdout); MPI_Open_port(MPI_INFO_NULL, port1); MPI_Open_port(MPI_INFO_NULL, port2); printf("opened port1: <%s>\n", port1); printf("opened port2: <%s>\n", port2);fflush(stdout); MPI_Send(port1, MPI_MAX_PORT_NAME, MPI_CHAR, 1, 0, MPI_COMM_WORLD); MPI_Send(port2, MPI_MAX_PORT_NAME, MPI_CHAR, 2, 0, MPI_COMM_WORLD); printf("accepting port2.\n");fflush(stdout); MPI_Comm_accept(port2, MPI_INFO_NULL, 0, MPI_COMM_SELF, ); printf("accepting port1.\n");fflush(stdout); MPI_Comm_accept(port1, MPI_INFO_NULL, 0, MPI_COMM_SELF, ); MPI_Close_port(port1); MPI_Close_port(port2); printf("sending 1 to process 1.\n");fflush(stdout); data = 1; MPI_Send(, 1, MPI_INT, 0, 0, comm1); printf("sending 2 to process 2.\n");fflush(stdout); data = 2; MPI_Send(, 1,
Re: [OMPI users] Building OpenMPI with DevStudio 2010
Hi Rick, All the steps you've done were absolutely correct. The CMake output messages are not errors but the feature check results; if a real error occurs, CMake will just stop and pop up an error message window. Unfortunately, 1.4.2 doesn't have the VS 2010 support yet, it will be added in the upcoming releases (1.4.3 and 1.5). So the solution for the moment could be using the svn trunk or 1.5 branch. (1.4 branch will also have this very soon, see https://svn.open-mpi.org/trac/ompi/ticket/2521) Regards, Shiqing On 2010-8-17 7:26 PM, Rick Hullinger wrote: I am trying to get OpenMPI built on a windows machine using Dev Studio, and I'm not having any luck. I'm hoping someone can point me in the right direction. Here are the details: Environment: Windows 7, (64 bit OS, but I’m performing a 32 bit build), Attempting to build under Dev Studio 2010 Steps: 1) Download OpenMPI 1.4.2 to E:\\openmpi-1.4.2 2) Run the windows installer for CMake 2.8.2 3) Open a visual studio command prompt and execute cmake-gui from the command line 4) Set the “source code:” directory to: E:\\openmpi-1.4.2 Set the “Build the binaries:” directory to E:\\MPIBuild 5) Hit the configure button: Select Visual Studio 10 as the generator for this project Leave the radio button on the default “use default native compilers” Click Finish. Output: see file “cmake.output.txt” for the full output (I've added "**" to the start of each "error" line) Note: it’s my understanding that all of the “not found” messages are not necessarily errors, just CMake trying to figure out what is in place and what is not…so maybe everything so far is fine. 7) Hit the configure button again. Output: Check for working flex... Skipping MPI F77 interface looking for ccp... looking for ccp...not found. looking for ccp... looking for ccp...not found. Configuring done 8) Click Generate button. Output: “Generating done.” 9) Close CMake 10) Open MS DevStudio 2010, select “Open Project”, navigate to the MPIBuild directory and select the “OpenMPI.sln” project 11) Select “Build solution” 12) Wait 13) Full output is attached in the file DevStudio.Output.txt, but right off the bat, there are several of these messages: ..\..\openmpi-1.4.2\opal\event\WIN32-Code\win32.c(28): fatal error C1083: Cannot open include file: 'opal_config.h': No such file or directory then we get into: c1 : fatal error C1083: Cannot open source file: 'E:/Code/C++/ExternalLibs/openmpi-1.4.2/opal/event/compat': Permission denied WIN32-Code (note: compat is not a "source file" it's a directory? seems like an odd error) c1 : fatal error C1083: Cannot open source file: 'E:/Code/C++/ExternalLibs/openmpi-1.4.2/opal/event/WIN32-Code': Permission denied Generating Code... -- Build started: Project: libopen-rte, Configuration: Debug Win32 -- -- Build started: Project: opal-restart, Configuration: Debug Win32 -- opal-restart.c orted_comm.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h(73): warning C4005: 'INT16_MIN' : macro redefinition ..and a ton of the “macro redefinition” errors after that. When all is said and done: == Build: 1 succeeded, 13 failed, 0 up-to-date, 2 skipped == Anybody have any ideas? ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] How to program with openmpi under MFC?
Hi, Sorry for late answer. I've checked your source code, and I didn't find anything wrong, everything works just fine with Open MPI trunk version. Could you tell me which version did you use, so that I can debug with your generated mpi libs? By the way, I noticed that you put MPI_Init, MPI_Comm_rank, MPI_Comm_size, and MPI_Finalize in the function that will be triggered by the button press. This is only fine with the first button click, but not for the second click and so on. It's better to place them in the class initialization and finalization, so that they will only be executed once. Regards, Shiqing On 2010-8-12 1:20 PM, lyb wrote: Hi, Some other information supply. the function breaks at the 3rd ASSERT. Send you the picture. thanks Hello, the message is, Unhandle exception at 0x7835b701 (mfc80ud.dll) : 0xC005: conflit while read 0xf78e9e00. thanks. Hi, I personally haven't try to program MPI with MFC, but in principle it should work. What kind of error did you get, was there any error message? Thanks. Shiqing On 2010-8-12 9:13 AM, lyb wrote: Hi, I have a MFC project, and need to add mpi functions in it, and choose openmpi. but I searched all of mail list , not. find the answer. And I try to call mpi functions under MFC, as follows, int ompi_test(int *argc, char **argv) { int rank, size; MPI_Init(argc, ); MPI_Comm_rank(MPI_COMM_WORLD, ); MPI_Comm_size(MPI_COMM_WORLD, ); printf("Hello, world, I am %d of %d\n", rank, size); MPI_Barrier(MPI_COMM_WORLD); MPI_Finalize(); return 0; } void CSchedulerDlg::OnBnClickedButton1() { ompi_test(NULL, NULL); } but break at MPI_Init(argc, );. So what should I do? Can anybody help me? Thanks in advance. Best Regards. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------ Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] How to program with openmpi under MFC?
Hi, I couldn't get any clue. Could you please provide me a small VS solution together with source file? It might be easier if I can simply check the callstacks. BTW: please send me off-list if the file is too big. Thanks. Shiqing On 2010-8-12 1:20 PM, lyb wrote: Hi, Some other information supply. the function breaks at the 3rd ASSERT. Send you the picture. thanks Hello, the message is, Unhandle exception at 0x7835b701 (mfc80ud.dll) : 0xC005: conflit while read 0xf78e9e00. thanks. Hi, I personally haven't try to program MPI with MFC, but in principle it should work. What kind of error did you get, was there any error message? Thanks. Shiqing On 2010-8-12 9:13 AM, lyb wrote: Hi, I have a MFC project, and need to add mpi functions in it, and choose openmpi. but I searched all of mail list , not. find the answer. And I try to call mpi functions under MFC, as follows, int ompi_test(int *argc, char **argv) { int rank, size; MPI_Init(argc, ); MPI_Comm_rank(MPI_COMM_WORLD, ); MPI_Comm_size(MPI_COMM_WORLD, ); printf("Hello, world, I am %d of %d\n", rank, size); MPI_Barrier(MPI_COMM_WORLD); MPI_Finalize(); return 0; } void CSchedulerDlg::OnBnClickedButton1() { ompi_test(NULL, NULL); } but break at MPI_Init(argc, );. So what should I do? Can anybody help me? Thanks in advance. Best Regards. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------ Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] How to program with openmpi under MFC?
Hi, I personally haven't try to program MPI with MFC, but in principle it should work. What kind of error did you get, was there any error message? Thanks. Shiqing On 2010-8-12 9:13 AM, lyb wrote: Hi, I have a MFC project, and need to add mpi functions in it, and choose openmpi. but I searched all of mail list , not. find the answer. And I try to call mpi functions under MFC, as follows, int ompi_test(int *argc, char **argv) { int rank, size; MPI_Init(argc, ); MPI_Comm_rank(MPI_COMM_WORLD, ); MPI_Comm_size(MPI_COMM_WORLD, ); printf("Hello, world, I am %d of %d\n", rank, size); MPI_Barrier(MPI_COMM_WORLD); MPI_Finalize(); return 0; } void CSchedulerDlg::OnBnClickedButton1() { ompi_test(NULL, NULL); } but break at MPI_Init(argc, );. So what should I do? Can anybody help me? Thanks in advance. Best Regards. ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ------ Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] minor glitch in 1.5-rc5 Windows build - has workaround
Hi Damien, It is the user's responsibility to make sure the consistency of CMake and VS build types, but you can't change this setting from CMake in order to change it automatically in VS, it's a nature of using CMake. Shiqing On 2010-8-6 10:33 PM, Damien wrote: Hi all, There's a small hiccup in building a Windows version of 1.5-rc5. When you configure in the CMake GUI, you can ask for a Debug or Release project before you hit Generate. If you ask for a Debug project, you can still change it to Release in Visual Studio, and it will build successfully. BUT: the Install project will fail, because it tries to install libopen-pald.pdb (possibly others too, I didn't check). It's a minor thing, only nuisance value. If you set a Release project in CMake, everything works fine. Damien ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Error while compiling openMPI 1.4.2 in Cygwin 1.7.5-1. Library missing?
dows.c:96: error: expected ‘;’ before ‘cbData’ opal_installdirs_windows.c:96: error: expected ‘)’ before ‘vData’ opal_installdirs_windows.c:97: error: expected ‘;’ before ‘cbData’ opal_installdirs_windows.c:97: error: expected ‘)’ before ‘vData’ opal_installdirs_windows.c:98: error: expected ‘;’ before ‘cbData’ opal_installdirs_windows.c:98: error: expected ‘)’ before ‘vData’ opal_installdirs_windows.c:99: error: expected ‘;’ before ‘cbData’ opal_installdirs_windows.c:99: error: expected ‘)’ before ‘vData’ opal_installdirs_windows.c:100: error: expected ‘;’ before ‘cbData’ opal_installdirs_windows.c:100: error: expected ‘)’ before ‘vData’ opal_installdirs_windows.c:101: error: expected ‘;’ before ‘cbData’ opal_installdirs_windows.c:101: error: expected ‘)’ before ‘vData’ make[2]: *** [opal_installdirs_windows.lo] Error 1 make[2]: Leaving directory `/home/miguel/openmpi-1.4.2/opal/mca/installdirs/windows' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/miguel/openmpi-1.4.2/opal' make: *** [all-recursive] Error 1 -- Miguel ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Install OpenMPI on Win 7 machine
Hi Alex, Actually, I don't see the errors from your outputs, the headers that are not found won't stop you to build Open MPI, they are not errors, but only the checking results of your system for configuring Open MPI. What you need to do is just press configure button twice, and then press generate button on CMake-GUI, all the Visual Studio solution and project files will be generated. The next thing is to open the solution and build it. Just let me know if you get any further questions. Regards, Shiqing On 2010-7-12 7:35 PM, Alexandru Blidaru wrote: Hey, I installed a 90 day trial of Visual Studio 2008, and I am pretty sure I am getting the exact same thing. The log and the picture are attached just as last time. Any new ideas? Regards, Alex On Mon, Jul 12, 2010 at 9:58 AM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi Alex, When the attachment is large, you can set the email directly to me off the list. For the problem you got, the reason is that you are using MinGW, but not Microsoft C/C++ compiler. Is that possible for you to just switch to Microsoft Visual Studio 2005 or 2008? There are still many problems for supporting MinGW at moment. Regards, Shiqing On 2010-7-12 3:48 PM, Alexandru Blidaru wrote: Hi, I am attaching all the output text resulted when configuring for the first time. I am also attaching a picture of the of the main area. My main purpose of installing OpenMPI is to set up a set of "virtual cluster" on the Windows 7 machine, so I could get accustomed with the different settings, and so I could try some small programs, before being allowed to work on the actual cluster. Note, this is the first time I am using a mailing list, so if I am not allowed attachments, please tell me. I tried to keep them as small as possible. Thanks for your help, Alex On Sat, Jul 10, 2010 at 7:16 AM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi Alex, Building Open MPI using CMake is the recommended procedure, you probably should stick with it, and it has been proved working well on different Windows platforms. The other building procedures are not well supported for some time now, and they are deprecated. For the problems that you got when building with CMake, it might because some dependent headers/libraries are not installed. Could you please provide the detail CMake error output, so that I can help you fix it? Regards, Shiqing On 2010-7-9 8:19 PM, Alexandru Blidaru wrote: Hey guys, This is my first time posting on an email list, so if I don't follow certain protocols just tell me. Anyway, I am working at a research lab as a High School Summer Intern, and part of my project involves installing OpenMPI on a Windows machine to run some applications in virtual clusters. I tried following the first two methods from the Windows ReadMe file, but none of them work. For the first one, there are a bunch of header files cMake can't find. For the second one, the cannot find the ompi-static.tgz tarball. The set of files that I downloaded from OpenMPI can be found here (tried both tars): http://www.open-mpi.org/software/ompi/v1.4/ . I noticed however that the ompi-static tarball can be found in the Subversion that i obtained this way:http://www.open-mpi.org/svn/mercurial.php . Can anyone tell me what I might be doing wrong? Or maybe more detailed steps? it's the first time I work with OpenMPI or any similar technologies. Thanks for your help, Alex Blidaru ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fanhttp://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email:f...@hlrs.de <mailto:f...@hlrs.de> 70569 Stuttgart -- -- Shiqing Fanhttp://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email:f...@hlrs.de <mailto:f...@hlrs.de> 70569 Stuttgart -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Per
Re: [OMPI users] Install OpenMPI on Win 7 machine
Hi Alex, When the attachment is large, you can set the email directly to me off the list. For the problem you got, the reason is that you are using MinGW, but not Microsoft C/C++ compiler. Is that possible for you to just switch to Microsoft Visual Studio 2005 or 2008? There are still many problems for supporting MinGW at moment. Regards, Shiqing On 2010-7-12 3:48 PM, Alexandru Blidaru wrote: Hi, I am attaching all the output text resulted when configuring for the first time. I am also attaching a picture of the of the main area. My main purpose of installing OpenMPI is to set up a set of "virtual cluster" on the Windows 7 machine, so I could get accustomed with the different settings, and so I could try some small programs, before being allowed to work on the actual cluster. Note, this is the first time I am using a mailing list, so if I am not allowed attachments, please tell me. I tried to keep them as small as possible. Thanks for your help, Alex On Sat, Jul 10, 2010 at 7:16 AM, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi Alex, Building Open MPI using CMake is the recommended procedure, you probably should stick with it, and it has been proved working well on different Windows platforms. The other building procedures are not well supported for some time now, and they are deprecated. For the problems that you got when building with CMake, it might because some dependent headers/libraries are not installed. Could you please provide the detail CMake error output, so that I can help you fix it? Regards, Shiqing On 2010-7-9 8:19 PM, Alexandru Blidaru wrote: Hey guys, This is my first time posting on an email list, so if I don't follow certain protocols just tell me. Anyway, I am working at a research lab as a High School Summer Intern, and part of my project involves installing OpenMPI on a Windows machine to run some applications in virtual clusters. I tried following the first two methods from the Windows ReadMe file, but none of them work. For the first one, there are a bunch of header files cMake can't find. For the second one, the cannot find the ompi-static.tgz tarball. The set of files that I downloaded from OpenMPI can be found here (tried both tars): http://www.open-mpi.org/software/ompi/v1.4/ . I noticed however that the ompi-static tarball can be found in the Subversion that i obtained this way:http://www.open-mpi.org/svn/mercurial.php . Can anyone tell me what I might be doing wrong? Or maybe more detailed steps? it's the first time I work with OpenMPI or any similar technologies. Thanks for your help, Alex Blidaru ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fanhttp://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email:f...@hlrs.de <mailto:f...@hlrs.de> 70569 Stuttgart -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Install OpenMPI on Win 7 machine
Hi Alex, Building Open MPI using CMake is the recommended procedure, you probably should stick with it, and it has been proved working well on different Windows platforms. The other building procedures are not well supported for some time now, and they are deprecated. For the problems that you got when building with CMake, it might because some dependent headers/libraries are not installed. Could you please provide the detail CMake error output, so that I can help you fix it? Regards, Shiqing On 2010-7-9 8:19 PM, Alexandru Blidaru wrote: Hey guys, This is my first time posting on an email list, so if I don't follow certain protocols just tell me. Anyway, I am working at a research lab as a High School Summer Intern, and part of my project involves installing OpenMPI on a Windows machine to run some applications in virtual clusters. I tried following the first two methods from the Windows ReadMe file, but none of them work. For the first one, there are a bunch of header files cMake can't find. For the second one, the cannot find the ompi-static.tgz tarball. The set of files that I downloaded from OpenMPI can be found here (tried both tars): http://www.open-mpi.org/software/ompi/v1.4/ . I noticed however that the ompi-static tarball can be found in the Subversion that i obtained this way:http://www.open-mpi.org/svn/mercurial.php . Can anyone tell me what I might be doing wrong? Or maybe more detailed steps? it's the first time I work with OpenMPI or any similar technologies. Thanks for your help, Alex Blidaru ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] ompi-ps failure on WinXP
Hi Stephan, I haven't tried to generate NMake Makefile to build Open MPI on Window, the original purpose of using CMake was to generate Visual Studio solution files. But if you can provide more information, e.g. error messages, maybe I can figure out the problem for NMake. Thanks, Shiqing On 2010-6-21 7:43 PM, Stephan Hackstedt wrote: Update: NMake Makefile creation works with VC8, but using nmake to install openmpi creates an error... i will try to find a way to build it. Stephan Stephan 2010/6/21 Stephan Hackstedt <stephan.hackst...@googlemail.com <mailto:stephan.hackst...@googlemail.com>> Hi Shiqing, i just checked out the code, but i am unable to create the nmake makefile with cmake. cmake tells me, it is unable to define 8-bit types. i also noticed, that for windows, the 1.4.2 release works with cmake, version above this making cmake to fail. i am using the VC10 compiler, but as an alternative i can use VC8. maybe it's worth a try. if i can make it, i will report :) Stephan 2010/6/21 Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> Hi Stephan, For ompi-server test, you could probably refer to this Open MPI doc: http://www.open-mpi.org/doc/v1.4/man1/ompi-server.1.php . Possible tests would be "ompi-server -r -", "ompi-server -r +", "ompi-server -r file", or you can also write a MPI program using MPI_Lookup_name/MPI_Publish_name functions. Regards, Shiqing On 2010-6-20 11:14 AM, Stephan Hackstedt wrote: Hello, i found no solution for this until yet. Is there anyone who has a running ompi-server.exe on Windows XP? If so, it would be great to tell me what i can do, to make ompi-server-exe running properly on WinXP. Stephan 2010/6/16 Stephan Hackstedt <stephan.hackst...@googlemail.com <mailto:stephan.hackst...@googlemail.com>> Hello, i am using Open-MPI on a WinXP Professional VirtualBox machine. Open-MPI is build with cmake and nmake. When i'm trying to use the ompi-ps tool i got the following failure (the same with ompi-server, ompi-clean and orted): ### D:\project\cluster_ompi>ompi-ps.exe [vbox:03552] [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file D:\project\op enmpi_1_4_2_src\orte\runtime\orte_init.c at line 125 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_ess_base_select failed --> Returned value Not found (-13) instead of ORTE_SUCCESS -- on the other way, when use mpirun to start the tools like "mpirun ompi-ps.exe" there is no error. It this normal, or maybe is there an fix to solve my problem? I'm would be nice if somebody has a solution for this. Stephan ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fanhttp://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email:f...@hlrs.de <mailto:f...@hlrs.de> 70569 Stuttgart -- -- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] ompi-ps failure on WinXP
Hi Stephan, For ompi-server test, you could probably refer to this Open MPI doc: http://www.open-mpi.org/doc/v1.4/man1/ompi-server.1.php . Possible tests would be "ompi-server -r -", "ompi-server -r +", "ompi-server -r file", or you can also write a MPI program using MPI_Lookup_name/MPI_Publish_name functions. Regards, Shiqing On 2010-6-20 11:14 AM, Stephan Hackstedt wrote: Hello, i found no solution for this until yet. Is there anyone who has a running ompi-server.exe on Windows XP? If so, it would be great to tell me what i can do, to make ompi-server-exe running properly on WinXP. Stephan 2010/6/16 Stephan Hackstedt <stephan.hackst...@googlemail.com <mailto:stephan.hackst...@googlemail.com>> Hello, i am using Open-MPI on a WinXP Professional VirtualBox machine. Open-MPI is build with cmake and nmake. When i'm trying to use the ompi-ps tool i got the following failure (the same with ompi-server, ompi-clean and orted): ### D:\project\cluster_ompi>ompi-ps.exe [vbox:03552] [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file D:\project\op enmpi_1_4_2_src\orte\runtime\orte_init.c at line 125 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_ess_base_select failed --> Returned value Not found (-13) instead of ORTE_SUCCESS -- on the other way, when use mpirun to start the tools like "mpirun ompi-ps.exe" there is no error. It this normal, or maybe is there an fix to solve my problem? I'm would be nice if somebody has a solution for this. Stephan ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] ompi-ps failure on WinXP
Hi Stephan, ompi-ps is now fixed in trunk (r23286), it should work again with this fix, could you please update and try it again? Thanks, Shiqing On 2010-6-16 6:55 PM, Stephan Hackstedt wrote: Hello, i am using Open-MPI on a WinXP Professional VirtualBox machine. Open-MPI is build with cmake and nmake. When i'm trying to use the ompi-ps tool i got the following failure (the same with ompi-server, ompi-clean and orted): ### D:\project\cluster_ompi>ompi-ps.exe [vbox:03552] [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file D:\project\op enmpi_1_4_2_src\orte\runtime\orte_init.c at line 125 -- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): orte_ess_base_select failed --> Returned value Not found (-13) instead of ORTE_SUCCESS -- on the other way, when use mpirun to start the tools like "mpirun ompi-ps.exe" there is no error. It this normal, or maybe is there an fix to solve my problem? I'm would be nice if somebody has a solution for this. Stephan ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Process doesn't exit on remote machine when using hostfile
Hi, The hostfile seems working for me on my Windows XP machines, but it should be the same on Windows 7. The problem you had looks to me more like a synchronization problem. Could you send me your test program? Regards, Shiqing On 2010-5-25 11:41 AM, Rajnesh Jindel wrote: disabled the firewall and using admin account so security isnt the issue here. like I said this problem only occurs when using a hostfile, if I actually specify the hostname on the commandfline it works fine On 25 May 2010 09:08, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi, What's the firewall setting on the remote node? Could you try to add an exception for the application, or turn off the firewall completely? Regards, Shiqing On 2010-5-24 4:44 PM, Rajnesh Jindel wrote: When I specify the hosts separately on the commandline, as follows, the process completes as expected. mpirun -np 8 -host remotehost,localhost myapp Output appears for the localhost and a textfile is created on the remotehost However when I use a hostfile the remote processes never complete. I can see the output from the local processes and by remote login I can see that that processes are being started on the remote machine but never complete. The is a simple reduce example using boost.mpi (v1.43) I'm using windows 7 x64 pro on both machines and openmpi 1.4.2 the hostfile and athe app are in the same locaion on both machines. Any idea why this is happening? Raj ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fanhttp://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email:f...@hlrs.de <mailto:f...@hlrs.de> 70569 Stuttgart -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] heterogeneous cluster setup
Hi, Unfortunately, we don't have such support at moment. Regards, Shiqing On 2010-6-1 8:49 PM, Jeff Squyres wrote: Shiqing -- Do we support mixed Windows + Linux jobs? On Jun 1, 2010, at 1:17 PM, Hicham Lahlou wrote: Hi all, I have a question regarding the support for heterogeneous systems. Using the latest version of OpenMPI, is it possible to have a single MPI application running across a cluster of mixed operating systems, say for example Windows and Linux? Thanks, Hicham ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Process doesn't exit on remote machine when using hostfile
Hi, Sorry for the late reply. It seems something is still missing on Windows for supporting hostfiles, I'll fix it ASAP. Regards, Shiqing On 2010-5-25 11:41 AM, Rajnesh Jindel wrote: disabled the firewall and using admin account so security isnt the issue here. like I said this problem only occurs when using a hostfile, if I actually specify the hostname on the commandfline it works fine On 25 May 2010 09:08, Shiqing Fan <f...@hlrs.de <mailto:f...@hlrs.de>> wrote: Hi, What's the firewall setting on the remote node? Could you try to add an exception for the application, or turn off the firewall completely? Regards, Shiqing On 2010-5-24 4:44 PM, Rajnesh Jindel wrote: When I specify the hosts separately on the commandline, as follows, the process completes as expected. mpirun -np 8 -host remotehost,localhost myapp Output appears for the localhost and a textfile is created on the remotehost However when I use a hostfile the remote processes never complete. I can see the output from the local processes and by remote login I can see that that processes are being started on the remote machine but never complete. The is a simple reduce example using boost.mpi (v1.43) I'm using windows 7 x64 pro on both machines and openmpi 1.4.2 the hostfile and athe app are in the same locaion on both machines. Any idea why this is happening? Raj ___ users mailing list us...@open-mpi.org <mailto:us...@open-mpi.org> http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fanhttp://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email:f...@hlrs.de <mailto:f...@hlrs.de> 70569 Stuttgart -- ---------- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] Process doesn't exit on remote machine when using hostfile
Hi, What's the firewall setting on the remote node? Could you try to add an exception for the application, or turn off the firewall completely? Regards, Shiqing On 2010-5-24 4:44 PM, Rajnesh Jindel wrote: When I specify the hosts separately on the commandline, as follows, the process completes as expected. mpirun -np 8 -host remotehost,localhost myapp Output appears for the localhost and a textfile is created on the remotehost However when I use a hostfile the remote processes never complete. I can see the output from the local processes and by remote login I can see that that processes are being started on the remote machine but never complete. The is a simple reduce example using boost.mpi (v1.43) I'm using windows 7 x64 pro on both machines and openmpi 1.4.2 the hostfile and athe app are in the same locaion on both machines. Any idea why this is happening? Raj ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart