Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Linking failure on Windows
From: Gib Bogle (g.bogle_at_[hidden])
Date: 2012-10-02 00:08:17


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
/MANIFESTFILE:"cvAdvDiff_non_p.dir\Release\cvAdvDiff_non_p.exe.intermediate.manifest"
/PDB:"E:\Sundials-Win32\examples\cvode\parallel\Release/cvAdvDiff_non_p.pdb"
/SUBSYSTEM:CONSOLE
/IMPLIB:"E:\Sundials-Win32\examples\cvode\parallel\Release\cvAdvDiff_non_p.lib"
/ERRORREPORT:PROMPT kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib shlwapi.lib ws2_32.lib
..\..\..\src\cvode\Release\sundials_cvode.lib
..\..\..\src\nvec_par\Release\sundials_nvecparallel.lib libmpi.lib
libopen-pal.lib libopen-rte.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib

Additional options: /STACK:10000000 /machine:X86

Gib

On 2/10/2012 3:55 p.m., Damien Hocking wrote:
> Gib,
>
> If you have OMPI_IMPORTS set that usually removes those symbol errors. Are
> you absolutely sure you have everything set to 32-bit in Visual Studio?
>