Hi Yumin,
Not wanting to hijack this thread, the quick answer is this: the core of
the modifications I needed to make were mostly due to using MSVC 2008
Express and because I didn't have a compatible FORTRAN compiler installed.
I'll reply in higher detail on another mail with the subject "Unofficial
development builds of ParaView 3.98.0 for Windows based on SuperBuild".
Best regards,
Bruno
On 08-01-2013 16:45, Yumin Yuan wrote:
Hi Bruno,
Just want to be clear on this. With Paraview's superbuild (pulling
openmpi-1.6.2 by default), do you still need to modify anything to
build? Looking at paraview's nightly dashboard
(http://open.cdash.org/index.php?project=ParaView), the superbuilds on
Windows work properly. I was also able to use paraview's superbuild
successfully with Ninja on Win7-vs9 for 3.98.0 without modifying
anything related to openmpi. Unless your building problems are due to
the MSVC express or the INSTALL_DEVELOPMENT you turned on?
ParaView_INSTALL_DEVELOPMENT:BOOL=ON
mpi_INSTALL_DEVELOPMENT:BOOL=ON
ParaView_INSTALL_FULL_DEVELOPMENT:BOOL=ON
Yumin
On Tue, Jan 8, 2013 at 10:30 AM, Bruno Santos
<bruno.san...@bluecape.com.pt> wrote:
Greetings,
I've managed to get ParaView's SuperBuild working/building on Windows, which
uses Open-MPI 1.6.2 by default on ParaView 3.98.0.
From ParaView's resulting "CMakeCache.txt", these were defined for the C and
CXX flags: /DOMPI_IMPORTS /DOPAL_IMPORTS /DORTE_IMPORTS
These are the binaries and libraries that were included:
MPIEXEC:FILEPATH=P:/install/bin/mpiexec.exe
MPI_CXX_COMPILER:FILEPATH=P:/install/bin/mpicxx.exe
MPI_CXX_INCLUDE_PATH:STRING=P:/install/include
MPI_CXX_LIBRARIES:STRING=P:/install/lib/libmpi_cxx.lib
MPI_C_COMPILER:FILEPATH=P:/install/bin/mpicc.exe
MPI_C_INCLUDE_PATH:STRING=P:/install/include
MPI_C_LIBRARIES:STRING=P:/install/lib/libmpi.lib;P:/install/lib/libopen-rte.lib;P:/install/lib/libopen-pal.lib;advapi32.lib;Ws2_32.lib;shlwapi.lib
MPI_LIBRARY:FILEPATH=P:/install/lib/libmpi_cxx.lib
Hope this helps!
For those who may be curious about the modifications:
http://code.google.com/p/unofficial-paraview-dev-install/wiki/Notes3980
When I've got some more time, I'll try to push some of these mods to the
SuperBuild's Gerrit.
Best regards,
Bruno
On 08-01-2013 14:43, Utkarsh Ayachit wrote:
Ah, yea, that makes sense. On Windows shared builds with OpenMPI
(built shared), those are indeed needed to be set.
On Tue, Jan 8, 2013 at 6:05 AM, Stephan Rogge
<stephan.ro...@tu-cottbus.de> wrote:
Utkarsh,
Thank you for that hint. I've added openlib-pal.lib and openlib-rte.lib to
the linker list. No success. The linker error remains.
But after some research I found an advice to add the definition
"OMPI_IMPORTS" to pre-processor:
CMAKE_CXX_FLAGS = ... /D "OMPI_IMPORTS"
CMAKE_C_FLAGS = ... /D "OMPI_IMPORTS" => Maybe not required
This solves my problem and ninja is running until the end :-).
Is this an individual problem? I wonder if someone else had this error too.
Best regards,
Stephan
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
--
http://www.bluecape.com.pt
blueCAPE Lda - CAE solutions
Rua Fonte dos Corvos, n.29
Casais da Serra
2665-305 Milharado
PORTUGAL
(+351) 219 755 345 Tel.
(+351) 219 755 345 Fax
(+351) 926 008 657 Mob.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
--
http://www.bluecape.com.pt
blueCAPE Lda - CAE solutions
Rua Fonte dos Corvos, n.29
Casais da Serra
2665-305 Milharado
PORTUGAL
(+351) 219 755 345 Tel.
(+351) 219 755 345 Fax
(+351) 926 008 657 Mob.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview