[Paraview-developers] [EXTERNAL] Re: Master is broken (trying to build and link Fortran)

Scott, W Alan wascott at sandia.gov
Thu Apr 4 13:43:18 EDT 2013


Andy,
My git-fu is weak.  How do I make a code pull from say a week ago (i.e., pre Utkarsh's last checkin :) )

Alan

From: Andy Bauer [mailto:andy.bauer at kitware.com]
Sent: Thursday, April 04, 2013 11:25 AM
To: Scott, W Alan
Cc: paraview-developers at paraview.org
Subject: Re: [EXTERNAL] Re: [Paraview-developers] Master is broken (trying to build and link Fortran)

Hi Alan,
You can fetch the branch at stage/13997_disable_phasta_adaptor if  you want to. Otherwise, the difference is:
diff --git a/CoProcessing/Adaptors/BuildAdaptors.cmake b/CoProcessing/Adaptors/BuildAdaptors.cmake
index 2f5a8fb..6f2aa97 100644
--- a/CoProcessing/Adaptors/BuildAdaptors.cmake
+++ b/CoProcessing/Adaptors/BuildAdaptors.cmake
@@ -86,18 +86,12 @@ if (PARAVIEW_USE_MPI)
 endif()

 #------------------------------------------------------------------------------
-# Adaptors that need Fortran -- we disable them by default because not all
-# systems load all of the proper Fortran dependencies like MPI_Fortran_LIBRARIES
+# Adaptors that need Fortran
 #------------------------------------------------------------------------------
 if (CMAKE_Fortran_COMPILER_WORKS)
-  cmake_dependent_option(BUILD_PHASTA_ADAPTOR
-    "Build the Phasta Catalyst Adaptor" OFF
-    "PARAVIEW_BUILD_CATALYST_ADAPTORS" OFF)
-  if(BUILD_PHASTA_ADAPTOR)
-    build_adaptor(PhastaAdaptor
-      COMMENT "Building Phasta Adaptor"
-      DEPENDS vtkPVCatalyst)
-  endif()
+  build_adaptor(PhastaAdaptor
+                COMMENT "Building Phasta Adaptor"
+                DEPENDS vtkPVCatalyst)
 endif()

Andy

On Thu, Apr 4, 2013 at 11:50 AM, Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov>> wrote:
Thanks Andy!

Mind e-mailing me a patch?

Alan

From: Andy Bauer [mailto:andy.bauer at kitware.com<mailto:andy.bauer at kitware.com>]
Sent: Thursday, April 04, 2013 9:01 AM
To: Scott, W Alan
Cc: paraview-developers at paraview.org<mailto:paraview-developers at paraview.org>
Subject: Re: [EXTERNAL] Re: [Paraview-developers] Master is broken (trying to build and link Fortran)

Hi Alan,
I have a fix for this in review. It should make it through the gatekeeper review tomorrow. Thanks for the information.

Andy
On Wed, Apr 3, 2013 at 12:31 PM, Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov><mailto:wascott at sandia.gov<mailto:wascott at sandia.gov>>> wrote:
You are correct with regards to the complaint about MPI fortran libraries.  However, it kills my build - thus is more than just an annoyance.

Alan
From: Andy Bauer [mailto:andy.bauer at kitware.com<mailto:andy.bauer at kitware.com><mailto:andy.bauer at kitware.com<mailto:andy.bauer at kitware.com>>]
Sent: Tuesday, April 02, 2013 8:32 PM
To: Scott, W Alan
Cc: paraview-developers at paraview.org<mailto:paraview-developers at paraview.org><mailto:paraview-developers at paraview.org<mailto:paraview-developers at paraview.org>>
Subject: [EXTERNAL] Re: [Paraview-developers] Master is broken (trying to build and link Fortran)

Hi Alan,

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.

Thanks,
Andy
On Tue, Apr 2, 2013 at 6:05 PM, Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov><mailto:wascott at sandia.gov<mailto:wascott at sandia.gov>><mailto:wascott at sandia.gov<mailto:wascott at sandia.gov><mailto:wascott at sandia.gov<mailto:wascott at sandia.gov>>>> wrote:
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:


-- The C compiler identification is GNU 4.1.2
-- The CXX compiler identification is GNU 4.1.2
-- Could not use git to determine source version, using version 3.98.1
-- The Fortran compiler identification is Intel
-- Checking whether /..../bin/intel64/ifort supports Fortran 90
-- Checking whether /..../bin/intel64/ifort supports Fortran 90 -- yes

..........

-- Checking for C type size macros
-- Checking for C type size macros - compiled
-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
VTK will be built with OSMesa support!
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):
  Unable to find MPI library imf
Call Stack (most recent call first):
  VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)
  Utilities/VisItBridge/Library/VisItLib/CMake/VisItCommon.cmake:479 (include)
  Utilities/VisItBridge/Library/VisItLib/CMakeLists.txt:11 (include)


-- Could NOT find MPI_Fortran (missing:  MPI_Fortran_LIBRARIES)
-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):
  Unable to find MPI library imf
Call Stack (most recent call first):
  VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)
  VTK/ThirdParty/Cosmo/CMakeLists.txt:16 (find_package)


-- Could NOT find MPI_Fortran (missing:  MPI_Fortran_LIBRARIES)
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):
  Unable to find MPI library imf
Call Stack (most recent call first):
  VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)
  VTK/Parallel/MPI/CMakeLists.txt:1 (find_package)


-- Could NOT find MPI_Fortran (missing:  MPI_Fortran_LIBRARIES)
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):
  Unable to find MPI library imf
Call Stack (most recent call first):
  VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)
  VTK/IO/MPIImage/CMakeLists.txt:1 (find_package)


-- Could NOT find MPI_Fortran (missing:  MPI_Fortran_LIBRARIES)
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):
  Unable to find MPI library imf
Call Stack (most recent call first):
  VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)
  VTK/IO/ParallelNetCDF/CMakeLists.txt:1 (find_package)


-- Could NOT find MPI_Fortran (missing:  MPI_Fortran_LIBRARIES)
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):
  Unable to find MPI library imf
Call Stack (most recent call first):
  VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)
  VTK/ThirdParty/VPIC/CMakeLists.txt:28 (find_package)


-- Could NOT find MPI_Fortran (missing:  MPI_Fortran_LIBRARIES)
CMake Warning at VTK/CMake/FindMPI.cmake:383 (message):
  Unable to find MPI library imf
Call Stack (most recent call first):
  VTK/CMake/FindMPI.cmake:569 (interrogate_mpi_compiler)
  VTK/IO/VPIC/CMakeLists.txt:2 (find_package)



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:
option(PARAVIEW_ENABLE_CATALYST "Enable Catalyst CoProcessing modules" ON)

CMakeCache.txt available upon request.

Thanks for looking at this,

Alan




_______________________________________________
Paraview-developers mailing list
Paraview-developers at paraview.org<mailto:Paraview-developers at paraview.org><mailto:Paraview-developers at paraview.org<mailto:Paraview-developers at paraview.org>><mailto:Paraview-developers at paraview.org<mailto:Paraview-developers at paraview.org><mailto:Paraview-developers at paraview.org<mailto:Paraview-developers at paraview.org>>>
http://public.kitware.com/mailman/listinfo/paraview-developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130404/99fd5c1b/attachment.htm>


More information about the Paraview-developers mailing list