Re: [OMPI users] vs2010: MPI_Address() unresolved

2011-11-19 Thread MM
I took off the OMPI_IMPORTS actually and it now compiles correctly. Maybe those are to be defined if I had built shared lib version of mpi libs. thanks From: Shiqing Fan [mailto:f...@hlrs.de] Sent: 19 November 2011 04:45 To: Open MPI Users Cc: MM Subject: Re: [OMPI users] vs2010

Re: [OMPI users] vs2010: MPI_Address() unresolved

2011-11-18 Thread Shiqing Fan
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

[OMPI users] vs2010: MPI_Address() unresolved

2011-11-18 Thread MM
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 c