There's two imports missing from there, OPAL_IMPORTS and ORTE_IMPORTS.
That might be part of it.
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 <cvode/cvode.h> /* prototypes for CVODE
> fcts. */
> #include <nvector/nvector_parallel.h> /* definition of N_Vector and
> macros /
> #include <sundials/sundials_types.h> /* definition of realtype /
> #include <sundials/sundials_math.h> /* 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
> /W3 /c /TC /errorReport:prompt
> 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.
> users mailing list