[Trilinos-Users] Trouble configuring Trilinos 10.2.0 on Cray/PGI 11.7

Bartlett, Roscoe A. bartlettra at ornl.gov
Tue Nov 8 15:17:32 MST 2011


That is 'since added' not 'sense added' :-)

-Ross


> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-
> bounces at software.sandia.gov] On Behalf Of Bartlett, Roscoe A.
> Sent: Tuesday, November 08, 2011 5:09 PM
> To: 'Ben Cowan'; trilinos-users at software.sandia.gov
> Subject: Re: [Trilinos-Users] Trouble configuring Trilinos 10.2.0 on Cray/PGI
> 11.7
> 
> Ben,
> 
> Can you try the most recent Trilinos release 10.8.3?  We have sense added a
> nightly build of PGI and 10.8.x might work.
> 
> -Ross
> 
> 
> > -----Original Message-----
> > From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-
> > bounces at software.sandia.gov] On Behalf Of Ben Cowan
> > Sent: Tuesday, November 08, 2011 5:05 PM
> > To: trilinos-users at software.sandia.gov
> > Subject: [Trilinos-Users] Trouble configuring Trilinos 10.2.0 on Cray/PGI 11.7
> >
> > Hello,
> >
> > I'm getting the following error when I try to run cmake to configure
> > Trilinos 10.2.0 with PGI:
> >
> >      /opt/cray/xt-asyncpe/5.01/bin/CC   -DMPICH_IGNORE_CXX_SEEK -fPIC
> > CMakeFiles/VerifyFortranC.dir/main.c.o
> > CMakeFiles/VerifyFortranC.dir/VerifyC.c.o
> > CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o  -o VerifyFortranC
> > -L/opt/cray/portals/default/lib64 libVerifyFortran.a -lstdc++ -lmpichf90_pgi
> >      /opt/pgi/11.7.0/linux86-64/11.7/libso/libCmpz.a(eh_util.o): In
> > function `std::uncaught_exception(void)':
> >      eh_util.c:(.text+0x347): undefined reference to
> > `__zceh_uncaught_exception'
> >      gmake[2]: *** [VerifyFortranC] Error 2
> >
> > This occurs in testing the Fortran/C++ interface.  Now, if I add the
> > -lzceh flag before -lstdc++ on that command line, the command succeeds.
> >   But I can't figure out how to get that flag included via a cmake
> > option.  My original cmake line is:
> >
> > cmake
> > -
> >
> DCMAKE_INSTALL_PREFIX:PATH=/project/projectdirs/facets/hopper/contri
> > b-pgi-11.7/trilinos-10.2.0-par
> > -DCMAKE_BUILD_TYPE:STRING=Release -
> > DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE
> > -DCMAKE_COLOR_MAKEFILE:BOOL=FALSE  -DTPL_ENABLE_MPI:BOOL=ON
> > -DCMAKE_C_COMPILER:FILEPATH='cc' -
> > DCMAKE_CXX_COMPILER:FILEPATH='CC'
> > -DCMAKE_Fortran_COMPILER:FILEPATH='ftn' -
> DCMAKE_C_FLAGS:STRING='-
> > fPIC'
> > -DCMAKE_CXX_FLAGS:STRING='-DMPICH_IGNORE_CXX_SEEK -fPIC'
> > -DCMAKE_Fortran_FLAGS:STRING='-fPIC'
> > -DLAPACK_LIBRARY_DIRS:PATH='/opt/acml/default/pgi64/lib'
> > -DLAPACK_LIBRARY_NAMES:STRING='acml'
> > -DBLAS_LIBRARY_DIRS:PATH='/opt/acml/default/pgi64/lib'
> > -DBLAS_LIBRARY_NAMES:STRING='acml' -
> > 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
> > -DDART_TESTING_TIMEOUT:STRING=600
> > -
> >
> DPYTHON_EXECUTABLE:FILEPATH=/project/projectdirs/facets/hopper/contr
> > ib-pgi-11.7/python/bin/python
> >   /global/scratch/sd/benc/builds-hopper-pgi/trilinos-10.2.0
> >
> > I've tried adding
> >
> > -DTrilinos_EXTRA_LINK_FLAGS:STRING="-lzceh"
> >
> > as well as CMAKE_EXE_LINKER_FLAGS,
> > CMAKE_FORTRAN_IMPLICIT_LINK_LIBRARIES, and
> > CMAKE_CXX_IMPLICIT_LINK_LIBRARIES, but none of these seem to work.
> > The
> > -lzceh flag isn't added at all, let alone in the right place.
> >
> > Any thoughts on how to add this flag?
> >
> > Thanks,
> > Ben
> >
> > _______________________________________________
> > Trilinos-Users mailing list
> > Trilinos-Users at software.sandia.gov
> > hxxp://software.sandia.gov/mailman/listinfo/trilinos-users
> >
> 
> 
> 
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> hxxp://software.sandia.gov/mailman/listinfo/trilinos-users
> 





More information about the Trilinos-Users mailing list