[Trilinos-Users] 10.0.5 fails to configure with pgi-9.0.4
John Cary
cary at colorado.edu
Mon Apr 12 10:05:00 MDT 2010
Attached is the tarball of the files after doing:
rm -rf *
cmake
-DCMAKE_INSTALL_PREFIX:PATH=/project/projectdirs/facets/hopper/contrib-pgi-9.0.4/trilinos-10.0.5-ser
-DCMAKE_BUILD_TYPE:STRING=RELEASE -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE
-DCMAKE_C_COMPILER:FILEPATH=pgcc -DCMAKE_CXX_COMPILER:FILEPATH=pgCC
-DCMAKE_Fortran_COMPILER=pgf90 -DTrilinos_ENABLE_Amesos:BOOL=ON
-DTrilinos_ENABLE_ML:BOOL=ON -DTrilinos_ENABLE_AztecOO:BOOL=ON
-DTrilinos_ENABLE_EpetraExt:BOOL=ON -DTrilinos_ENABLE_Epetra:BOOL=ON
-DTrilinos_ENABLE_Triutils:BOOL=ON -DTrilinos_ENABLE_Teuchos:BOOL=ON
-DTrilinos_ENABLE_Ifpack:BOOL=ON -DTrilinos_ENABLE_Galeri:BOOL=ON
-DTrilinos_ENABLE_Anasazi:BOOL=ON -DDART_TESTING_TIMEOUT:STRING=600
-DBUILD_SHARED_LIBS:BOOL=ON -DTrilinos_ENABLE_PyTrilinos:STRING=ON
-DPyTrilinos_INSTALL_DIR:PATH=/project/projectdirs/facets/hopper/contrib-pgi-9.0.4/lib/python2.6/site-packages/PyTrilinos
-DTPL_LAPACK_LIBRARIES:FILEPATH='/opt/acml/default/pgi64/lib/libacml.a'
-DTPL_BLAS_LIBRARIES:FILEPATH='/opt/acml/default/pgi64/lib/libacml.a'
/project/projectdirs/vorpal/cary/projects/vpall-hopper/builds-pgi/trilinos
2>&1 | tee cmake.out
Thx...John
On 4/12/10 8:31 AM, Perschbacher, Brent M wrote:
> John,
> Something quick to try that should fix this is to delete your
> CMakeCache.txt file and the CMakeFiles directory and then reconfigure.
> That should erase any trace of having previously been configured with
> the wrong fortran compiler.
>
> Brent
>
>
> On 4/12/10 8:18 AM, "Brad King" <brad.king at kitware.com> wrote:
>
> John R Cary wrote:
> > On Apr 12, 2010, at 6:44 AM, Brad King wrote:
> >> Please post these files and CMakeFiles/CMake*Compiler.cmake for us
> >> to review.
> > Here you go. Thanks....John Cary
>
> In CMake*Compiler.cmake I see:
>
> SET(CMAKE_C_COMPILER
> "/global/common/carver/usg/pgi/10.0-0/linux86-64/10.0/bin/pgcc")
> ...
> SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "nspgc;pgc;m;c")
> SET(CMAKE_C_IMPLICIT_LINK_DIRECTORIES
> "/global/common/carver/usg/pgi/10.0-0/linux86-64/10.0/lib;/usr/lib64;/usr/lib/gcc/x86_64-redhat-linux/4.1.2")
>
> SET(CMAKE_CXX_COMPILER
> "/global/common/carver/usg/pgi/10.0-0/linux86-64/10.0/bin/pgCC")
> ...
> SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "std;C;nspgc;pgc;m;c")
> SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES
> "/global/common/carver/usg/pgi/10.0-0/linux86-64/10.0/lib;/usr/lib64;/usr/lib/gcc/x86_64-redhat-linux/4.1.2")
>
> SET(CMAKE_Fortran_COMPILER
> "/global/common/carver/usg/pgi/10.0-0/linux86-64/10.0/bin/pgf77")
> ...
> SET(CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES
> "pgftnrtl;nspgc;pgc;rt;pthread;m;c")
> SET(CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES
> "/global/common/carver/usg/pgi/10.0-0/linux86-64/10.0/lib;/usr/lib64;/usr/lib/gcc/x86_64-redhat-linux/4.1.2")
>
> However, your sample command line had this:
>
> -DCMAKE_Fortran_COMPILER=pgf90
>
> which is not the 'pgf77' stored in CMakeFortranCompiler.cmake.
> Also, the error message reported the C++ compiler as
>
> /opt/pgi/9.0.4/linux86-64/9.0-4/bin/pgCC
>
> It looks like something switched compilers since the build tree was
> created.
>
> -Brad
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20100412/b719f0bd/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trilinos-hopper-pgi-cmake.tar.gz
Type: application/x-gzip
Size: 180424 bytes
Desc: not available
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20100412/b719f0bd/attachment-0001.gz
More information about the Trilinos-Users
mailing list