[Ipopt] Problems building parallel IPOPT version from v8-ifort
Stefan Brugger
stefan.brugger at autoform.ch
Wed Nov 21 08:42:16 EST 2012
Hi,
I want to build IPOPT with MKL and parallel Mumps from the v8-ifort VS project files. I could successfully build a sequential version but what is the easiest way to build a parallel one?
Until now I tried the following:
I installed MPICH2 and replaced all includes to the Mumps libseq folder with the include folder of MPICH2. Furthermore I uncomment the following define
// The following line is a fix for otherwise twice-defined global variable
// (This would have to be taken out for a parallel MUMPS version!)
# define MPI_COMM_WORLD IPOPT_MPI_COMM_WORLD
in the IpMumpsSolverInterface.cpp, as explained by the comment.
Now I'm getting the following errors if building the IpOpt project:
IpMumpsSolverInterface.cpp
6>c:\program files\mpich2\include\mpicxx.h(234): error C2526: 'MPI::Datatype::Create_struct' : C linkage function cannot return C++ class 'MPI::Datatype'
6> c:\program files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'
6>c:\program files\mpich2\include\mpicxx.h(266): error C2526: 'MPI::Datatype::Match_size' : C linkage function cannot return C++ class 'MPI::Datatype'
6> c:\program files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'
6>c:\program files\mpich2\include\mpicxx.h(318): error C2526: 'MPI::Datatype::Create_f90_real' : C linkage function cannot return C++ class 'MPI::Datatype'
6> c:\program files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'
6>c:\program files\mpich2\include\mpicxx.h(344): error C2526: 'MPI::Datatype::Create_f90_complex' : C linkage function cannot return C++ class 'MPI::Datatype'
6> c:\program files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'
6>c:\program files\mpich2\include\mpicxx.h(364): error C2526: 'MPI::Datatype::Create_struct' : C linkage function cannot return C++ class 'MPI::Datatype'
6> c:\program files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'
6>c:\program files\mpich2\include\mpicxx.h(378): error C2526: 'MPI::Datatype::Create_f90_integer' : C linkage function cannot return C++ class 'MPI::Datatype'
6> c:\program files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'
Has anyone builded a parallel version from the v8-ifort project files? If yes how did you do it? Or can anybody help me with the error messages?
Best regards,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20121121/56492099/attachment.html>
More information about the Ipopt
mailing list