<div dir="ltr"><div>Thanks! I can only take credit for fixing the Fortran issue though.<br><br></div>Andy<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 4:41 PM, Scott, W Alan <span dir="ltr"><<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Andy,<br>
That worked! Master now builds and runs correctly. This includes the fortran issues as well as the kwProcessXML issue.<br>
<br>
Thanks to you and the team.<br>
<br>
Alan<br>
<br>
From: Andy Bauer [mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>]<br>
Sent: Friday, April 05, 2013 10:48 AM<br>
To: Scott, W Alan<br>
Cc: <a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a><br>
Subject: Re: [EXTERNAL] Re: [Paraview-developers] Master is broken (trying to build and link Fortran)<br>
<br>
Hi Alan,<br>
FYI: This is now fixed in master.<br>
<br>
Andy<br>
<br>
On Thu, Apr 4, 2013 at 2:04 PM, Andy Bauer <<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>>> wrote:<br>
You should be able to do:<br>
git fetch --prune<br>
# the next command should show whether or not you have the git remotes set up properly<br>
git branch -a |grep 13997_disable_phasta_adaptor<br>
git checkout -b disable_phasta_adaptor stage/13997_disable_phasta_adaptor<br>
If everything went right, if you do "git log" you'll see at the top:<br>
commit 639a0bd639a63f9b6ec92e60dc6aca6cc9be9ea6<br>
Merge: 3e5396a 22ca08d<br>
Author: Andrew Bauer <<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>>><br>
Date: Thu Apr 4 06:36:51 2013 -0400<br>
<br>
Merge topic 'disable_phasta_adaptor' into 13997_disable_phasta_adaptor<br>
<br>
Conflicts:<br>
CoProcessing/Adaptors/BuildAdaptors.cmake<br>
<br>
Change-Id: I9f0280754c45c3191206e20907efef3576cd9fe9<br>
<br>
<br>
If none of this works or you've tried all the git-fu you can deal with for the day you can just put the attached file in <pv source dir>/CoProcessing/Adaptors/<br>
Andy<br>
<br>
<br>
<br>
On Thu, Apr 4, 2013 at 1:43 PM, Scott, W Alan <<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>>> wrote:<br>
Andy,<br>
My git-fu is weak. How do I make a code pull from say a week ago (i.e., pre Utkarsh's last checkin :) )<br>
<br>
Alan<br>
<br>
From: Andy Bauer [mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>>]<br>
Sent: Thursday, April 04, 2013 11:25 AM<br>
To: Scott, W Alan<br>
Cc: <a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>><br>
Subject: Re: [EXTERNAL] Re: [Paraview-developers] Master is broken (trying to build and link Fortran)<br>
<br>
Hi Alan,<br>
You can fetch the branch at stage/13997_disable_phasta_adaptor if you want to. Otherwise, the difference is:<br>
diff --git a/CoProcessing/Adaptors/BuildAdaptors.cmake b/CoProcessing/Adaptors/BuildAdaptors.cmake<br>
index 2f5a8fb..6f2aa97 100644<br>
--- a/CoProcessing/Adaptors/BuildAdaptors.cmake<br>
+++ b/CoProcessing/Adaptors/BuildAdaptors.cmake<br>
@@ -86,18 +86,12 @@ if (PARAVIEW_USE_MPI)<br>
endif()<br>
<br>
#------------------------------------------------------------------------------<br>
-# Adaptors that need Fortran -- we disable them by default because not all<br>
-# systems load all of the proper Fortran dependencies like MPI_Fortran_LIBRARIES<br>
+# Adaptors that need Fortran<br>
#------------------------------------------------------------------------------<br>
if (CMAKE_Fortran_COMPILER_WORKS)<br>
- cmake_dependent_option(BUILD_PHASTA_ADAPTOR<br>
- "Build the Phasta Catalyst Adaptor" OFF<br>
- "PARAVIEW_BUILD_CATALYST_ADAPTORS" OFF)<br>
- if(BUILD_PHASTA_ADAPTOR)<br>
- build_adaptor(PhastaAdaptor<br>
- COMMENT "Building Phasta Adaptor"<br>
- DEPENDS vtkPVCatalyst)<br>
- endif()<br>
+ build_adaptor(PhastaAdaptor<br>
+ COMMENT "Building Phasta Adaptor"<br>
+ DEPENDS vtkPVCatalyst)<br>
endif()<br>
<br>
Andy<br>
On Thu, Apr 4, 2013 at 11:50 AM, Scott, W Alan <<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>>>> wrote:<br>
Thanks Andy!<br>
<br>
Mind e-mailing me a patch?<br>
<br>
Alan<br>
From: Andy Bauer [mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>>>]<br>
Sent: Thursday, April 04, 2013 9:01 AM<br>
To: Scott, W Alan<br>
Cc: <a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>>><br>
Subject: Re: [EXTERNAL] Re: [Paraview-developers] Master is broken (trying to build and link Fortran)<br>
<br>
Hi Alan,<br>
I have a fix for this in review. It should make it through the gatekeeper review tomorrow. Thanks for the information.<br>
<br>
Andy<br>
On Wed, Apr 3, 2013 at 12:31 PM, Scott, W Alan <<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>>>>> wrote:<br>
You are correct with regards to the complaint about MPI fortran libraries. However, it kills my build - thus is more than just an annoyance.<br>
<br>
Alan<br>
From: Andy Bauer [mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>>><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a><mailto:<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>>>>]<br>
Sent: Tuesday, April 02, 2013 8:32 PM<br>
To: Scott, W Alan<br>
Cc: <a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>>><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a><mailto:<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>>>><br>
Subject: [EXTERNAL] Re: [Paraview-developers] Master is broken (trying to build and link Fortran)<br>
<br>
Hi Alan,<br>
<br>
Thanks for the report. Technically it's complaining about not finding the MPI fortran libraries. Either way it's an annoyance that the user shouldn't have to worry about. I'll take care of it.<br>
<br>
Thanks,<br>
Andy<br>
On Tue, Apr 2, 2013 at 6:05 PM, Scott, W Alan <<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>>>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a><mailto:<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>>>>>> wrote:<br>
Master appears to be broken for an MPI cluster build of ParaView. When I do a fresh pull of Master, we are trying to compile and link against Fortran. I am seeing the following:<br>
<br>
<br>
-- The C compiler identification is GNU 4.1.2<br>
-- The CXX compiler identification is GNU 4.1.2<br>
-- Could not use git to determine source version, using version 3.98.1<br>
-- The Fortran compiler identification is Intel<br>
-- Checking whether /..../bin/intel64/ifort supports Fortran 90<br>
-- Checking whether /..../bin/intel64/ifort supports Fortran 90 -- yes<br>
<br>
..........<br>
<br>
-- Checking for C type size macros<br>
-- Checking for C type size macros - compiled<br>
-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY)<br>
-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY)<br>
VTK will be built with OSMesa support!<br>
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):<br>
Unable to find MPI library imf<br>
Call Stack (most recent call first):<br>
VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)<br>
Utilities/VisItBridge/Library/VisItLib/CMake/VisItCommon.cmake:479 (include)<br>
Utilities/VisItBridge/Library/VisItLib/CMakeLists.txt:11 (include)<br>
<br>
<br>
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES)<br>
-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY)<br>
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):<br>
Unable to find MPI library imf<br>
Call Stack (most recent call first):<br>
VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)<br>
VTK/ThirdParty/Cosmo/CMakeLists.txt:16 (find_package)<br>
<br>
<br>
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES)<br>
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):<br>
Unable to find MPI library imf<br>
Call Stack (most recent call first):<br>
VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)<br>
VTK/Parallel/MPI/CMakeLists.txt:1 (find_package)<br>
<br>
<br>
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES)<br>
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):<br>
Unable to find MPI library imf<br>
Call Stack (most recent call first):<br>
VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)<br>
VTK/IO/MPIImage/CMakeLists.txt:1 (find_package)<br>
<br>
<br>
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES)<br>
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):<br>
Unable to find MPI library imf<br>
Call Stack (most recent call first):<br>
VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)<br>
VTK/IO/ParallelNetCDF/CMakeLists.txt:1 (find_package)<br>
<br>
<br>
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES)<br>
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):<br>
Unable to find MPI library imf<br>
Call Stack (most recent call first):<br>
VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)<br>
VTK/ThirdParty/VPIC/CMakeLists.txt:28 (find_package)<br>
<br>
<br>
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES)<br>
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):<br>
Unable to find MPI library imf<br>
Call Stack (most recent call first):<br>
VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)<br>
VTK/IO/VPIC/CMakeLists.txt:2 (find_package)<br>
<br>
<br>
<br>
However, when I open ./CMakeLists.txt, line 301, and change the definition of PARAVIEW_ENABLE_CATALYST from ON to OFF, all builds well. So, the gross error is the following line:<br>
option(PARAVIEW_ENABLE_CATALYST "Enable Catalyst CoProcessing modules" ON)<br>
<br>
CMakeCache.txt available upon request.<br>
<br>
Thanks for looking at this,<br>
<br>
Alan<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>>><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>>>><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>>><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><mailto:<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>>>>><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br>
<br>
</blockquote></div><br></div>