Re: [OMPI users] Linking failure on Windows

2012-10-02 Thread Gib Bogle
gards, 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 be

Re: [OMPI users] Linking failure on Windows

2012-10-02 Thread Gib Bogle
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

Re: [OMPI users] Linking failure on Windows

2012-10-02 Thread Gib Bogle
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 begin

Re: [OMPI users] Linking failure on Windows

2012-10-02 Thread Gib Bogle
Before I added OMPI_IMPORTS there were 8 errors, so it did help. Here is the link command in VS 2005: /OUT:"E:\Sundials-Win32\examples\cvode\parallel\Release\cvAdvDiff_non_p.exe" /VERSION:0.0 /INCREMENTAL:NO /NOLOGO /LIBPATH:"c:\Program Files (x86)\OpenMPI_v1.6.2-win32\lib" /MANIFEST /MANIFES

Re: [OMPI users] Linking failure on Windows

2012-10-01 Thread Gib Bogle
absolutely sure you have everything set to 32-bit in Visual Studio? Damien On 01/10/2012 7:55 PM, Gib Bogle wrote: I am building the Sundials examples, with MS Visual Studio 2005 version 8 (i.e. 32-bit) on Windows 7 64-bit. The OpenMPI version is OpenMPI_1.6.2-win32. All the parallel example

[OMPI users] Linking failure on Windows

2012-10-01 Thread Gib Bogle
I am building the Sundials examples, with MS Visual Studio 2005 version 8 (i.e. 32-bit) on Windows 7 64-bit. The OpenMPI version is OpenMPI_1.6.2-win32. All the parallel examples fail with the same linker errors. I have added the preprocessor definitions OMPI_IMPORTS, OPAL_IMPORTS and ORTE_IMPO