[Trilinos-Users] Trilinos-Users Digest, Vol 66, Issue 16
Timothy J. Tautges
tautges at mcs.anl.gov
Wed Feb 16 07:56:23 MST 2011
Two answers:
- the errors about missing includes is because recent versions of gcc moved the location of some of the includes; the new locations also work in previous versions, so no need to use #defs.
- versions of zoltan are available from www.cs.sandia.gov that are independent of trilinos, though they might not support cmake out of the box.
- tim
On Feb 16, 2011, at 2:11 AM, trilinos-users-request at software.sandia.gov wrote:
> Send Trilinos-Users mailing list submissions to
> trilinos-users at software.sandia.gov
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://software.sandia.gov/mailman/listinfo/trilinos-users
> or, via email, send a message with subject or body 'help' to
> trilinos-users-request at software.sandia.gov
>
> You can reach the person managing the list at
> trilinos-users-owner at software.sandia.gov
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Trilinos-Users digest..."
>
>
> Today's Topics:
>
> 1. Re: Sundance build fail (Brock Palen)
> 2. Re: Sundance build fail (Kevin Long)
> 3. Re: Sundance build fail (Brock Palen)
> 4. Re: Sundance build fail (Kevin Long)
> 5. embed a single library inside another project
> (Biddiscombe, John A.)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 15 Feb 2011 15:09:07 -0500
> From: "Brock Palen" <brockp at umich.edu>
> Subject: Re: [Trilinos-Users] Sundance build fail
> To: "Kevin Long" <kevin.long at ttu.edu>
> Cc: trilinos-users at software.sandia.gov
> Message-ID: <0F81156F-7CEA-4DB8-AB28-8A9361CB32E0 at umich.edu>
> Content-Type: text/plain; charset=us-ascii
>
> When I switched to a GNU compiler build I got the same error.
>
>
> Brock Palen
> www.umich.edu/~brockp
> Center for Advanced Computing
> brockp at umich.edu
> (734)936-1985
>
>
>
> On Feb 15, 2011, at 12:56 PM, Kevin Long wrote:
>
>>
>> Hi Brock,
>>
>> Were you able to build successfully with gcc? If it only shows up with the
>> intel compiler that might tell me something.
>>
>> I'll see if I can reproduce the problem.
>>
>> Kevin
>>
>>
>>
>> On Tuesday 15 February 2011 11:27:13 am Brock Palen wrote:
>>> I am trying to build trilinos for our users with intel/11.0 and openmpi.
>>>
>>> I get a linking error with Sundance:
>>>
>>> 91%] Built target Sundance_FunctionalTest
>>> Linking CXX executable Sundance_HelmholtzEigen2D.exe
>>> /usr/caen/intel-11.0/cc/11.0.074/lib/intel64/libimf.so: warning: warning:
>>> feupdateenv is not implemented and will always fail
>>> CMakeFiles/Sundance_HelmholtzEigen2D.dir/HelmholtzEigen2D.cpp.o: In
>>> function `main':
>>> /tmp/trilinos-10.6.2-Source/packages/Sundance/tests-std-framework/Problem/H
>>> elmholtzEigen2D.cpp:(.text+0x15b3): undefined reference to `vtable for
>>> TSFExtended::AnasaziEigensolver<double>'
>>> /tmp/trilinos-10.6.2-Source/packages/Sundance/tests-std-framework/Problem/H
>>> elmholtzEigen2D.cpp:(.text+0x15bb): undefined reference to `vtable for
>>> TSFExtended::AnasaziEigensolver<double>' make[2]: ***
>>> [packages/Sundance/tests-std-framework/Problem/Sundance_HelmholtzEigen2D.ex
>>> e] Error 1 make[1]: ***
>>> [packages/Sundance/tests-std-framework/Problem/CMakeFiles/Sundance_Helmholt
>>> zEigen2D.dir/all] Error 2 make: *** [all] Error 2
>>>
>>>
>>> my cmake configure is:
>>>
>>> cmake \
>>> -D CMAKE_BUILD_TYPE:STRING=RELEASE \
>>> -D Trilinos_ENABLE_TESTS:BOOL=ON \
>>> -D Trilinos_ENABLE_ALL_PACKAGES:BOOL=ON \
>>> -D Trilinos_ENABLE_SECONDARY_STABLE_CODE=ON \
>>> -D TPL_ENABLE_QT:BOOL=OFF \
>>> -D TPL_ENABLE_Boost:BOOL=OFF \
>>> -D Trilinos_ENABLE_TriKota:BOOL=OFF \
>>> -D Trilinos_ENABLE_PyTrilinos:BOOL=OFF \
>>> -D TPL_ENABLE_MPI:BOOL=ON \
>>> -D MPI_EXEC_MAX_NUMPROCS:STRING=4 \
>>> $EXTRA_ARGS \
>>> /tmp/trilinos-10.6.2-Source
>>>
>>> Any help would be great.
>>>
>>> Brock Palen
>>> www.umich.edu/~brockp
>>> Center for Advanced Computing
>>> brockp at umich.edu
>>> (734)936-1985
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Trilinos-Users mailing list
>>> Trilinos-Users at software.sandia.gov
>>> http://software.sandia.gov/mailman/listinfo/trilinos-users
>>
>>
>>
>> --
>> ------------------------------------------------------
>> Kevin Long
>> Associate Professor
>> Department of Mathematics and Statistics
>> Texas Tech University
>> Lubbock, TX
>>
>> "The end of fear is the beginning of wisdom"
>> -- Bertrand Russell
>> ------------------------------------------------------
>>
>>
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 15 Feb 2011 14:31:46 -0600
> From: "Kevin Long" <kevin.long at ttu.edu>
> Subject: Re: [Trilinos-Users] Sundance build fail
> To: trilinos-users at software.sandia.gov
> Message-ID: <201102151431.46726.kevin.long at ttu.edu>
> Content-Type: text/plain; charset=cp 850
>
>
> I get the same error using gnu also. I'll fix.
>
> BTW, when testing this out did you run into a bunch of errors in Zoltan with
> the gnu compiler? I got errors related to missing declarations of functions
> from <stdio.h>, probably resulting from a missing include somewhere. Probably
> easy to fix, but as I'm not a Zoltan developer I just disabled it and moved
> on to the Sundance problem.
>
> Kevin
>
>
>
> On Tuesday 15 February 2011 02:09:07 pm Brock Palen wrote:
>> When I switched to a GNU compiler build I got the same error.
>>
>>
>> Brock Palen
>> www.umich.edu/~brockp
>> Center for Advanced Computing
>> brockp at umich.edu
>> (734)936-1985
>>
>> On Feb 15, 2011, at 12:56 PM, Kevin Long wrote:
>>> Hi Brock,
>>>
>>> Were you able to build successfully with gcc? If it only shows up with
>>> the intel compiler that might tell me something.
>>>
>>> I'll see if I can reproduce the problem.
>>>
>>> Kevin
>>>
>>> On Tuesday 15 February 2011 11:27:13 am Brock Palen wrote:
>>>> I am trying to build trilinos for our users with intel/11.0 and openmpi.
>>>>
>>>> I get a linking error with Sundance:
>>>>
>>>> 91%] Built target Sundance_FunctionalTest
>>>> Linking CXX executable Sundance_HelmholtzEigen2D.exe
>>>> /usr/caen/intel-11.0/cc/11.0.074/lib/intel64/libimf.so: warning:
>>>> warning: feupdateenv is not implemented and will always fail
>>>> CMakeFiles/Sundance_HelmholtzEigen2D.dir/HelmholtzEigen2D.cpp.o: In
>>>> function `main':
>>>> /tmp/trilinos-10.6.2-Source/packages/Sundance/tests-std-framework/Proble
>>>> m/H elmholtzEigen2D.cpp:(.text+0x15b3): undefined reference to `vtable
>>>> for TSFExtended::AnasaziEigensolver<double>'
>>>> /tmp/trilinos-10.6.2-Source/packages/Sundance/tests-std-framework/Proble
>>>> m/H elmholtzEigen2D.cpp:(.text+0x15bb): undefined reference to `vtable
>>>> for TSFExtended::AnasaziEigensolver<double>' make[2]: ***
>>>> [packages/Sundance/tests-std-framework/Problem/Sundance_HelmholtzEigen2D
>>>> .ex e] Error 1 make[1]: ***
>>>> [packages/Sundance/tests-std-framework/Problem/CMakeFiles/Sundance_Helmh
>>>> olt zEigen2D.dir/all] Error 2 make: *** [all] Error 2
>>>>
>>>>
>>>> my cmake configure is:
>>>>
>>>> cmake \
>>>> -D CMAKE_BUILD_TYPE:STRING=RELEASE \
>>>> -D Trilinos_ENABLE_TESTS:BOOL=ON \
>>>> -D Trilinos_ENABLE_ALL_PACKAGES:BOOL=ON \
>>>> -D Trilinos_ENABLE_SECONDARY_STABLE_CODE=ON \
>>>> -D TPL_ENABLE_QT:BOOL=OFF \
>>>> -D TPL_ENABLE_Boost:BOOL=OFF \
>>>> -D Trilinos_ENABLE_TriKota:BOOL=OFF \
>>>> -D Trilinos_ENABLE_PyTrilinos:BOOL=OFF \
>>>> -D TPL_ENABLE_MPI:BOOL=ON \
>>>> -D MPI_EXEC_MAX_NUMPROCS:STRING=4 \
>>>> $EXTRA_ARGS \
>>>> /tmp/trilinos-10.6.2-Source
>>>>
>>>> Any help would be great.
>>>>
>>>> Brock Palen
>>>> www.umich.edu/~brockp
>>>> Center for Advanced Computing
>>>> brockp at umich.edu
>>>> (734)936-1985
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Trilinos-Users mailing list
>>>> Trilinos-Users at software.sandia.gov
>>>> http://software.sandia.gov/mailman/listinfo/trilinos-users
>>>
>>> --
>>> ------------------------------------------------------
>>> Kevin Long
>>> Associate Professor
>>> Department of Mathematics and Statistics
>>> Texas Tech University
>>> Lubbock, TX
>>>
>>> "The end of fear is the beginning of wisdom"
>>> -- Bertrand Russell
>>> ------------------------------------------------------
>>
>> _______________________________________________
>> Trilinos-Users mailing list
>> Trilinos-Users at software.sandia.gov
>> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
>
> --
> ------------------------------------------------------
> Kevin Long
> Associate Professor
> Department of Mathematics and Statistics
> Texas Tech University
> Lubbock, TX
>
> "The end of fear is the beginning of wisdom"
> -- Bertrand Russell
> ------------------------------------------------------
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 15 Feb 2011 15:34:13 -0500
> From: "Brock Palen" <brockp at umich.edu>
> Subject: Re: [Trilinos-Users] Sundance build fail
> To: "Kevin Long" <kevin.long at ttu.edu>
> Cc: trilinos-users at software.sandia.gov
> Message-ID: <1D125531-ADE6-40E0-AEF5-6CDFED0B5DE2 at umich.edu>
> Content-Type: text/plain; charset=us-ascii
>
> I did not, but I don't know if I am enabling it or not iwth my options.
> Sorry first time Trilinos builder.
>
> Brock Palen
> www.umich.edu/~brockp
> Center for Advanced Computing
> brockp at umich.edu
> (734)936-1985
>
>
>
> On Feb 15, 2011, at 3:31 PM, Kevin Long wrote:
>
>>
>> I get the same error using gnu also. I'll fix.
>>
>> BTW, when testing this out did you run into a bunch of errors in Zoltan with
>> the gnu compiler? I got errors related to missing declarations of functions
>> from <stdio.h>, probably resulting from a missing include somewhere. Probably
>> easy to fix, but as I'm not a Zoltan developer I just disabled it and moved
>> on to the Sundance problem.
>>
>> Kevin
>>
>>
>>
>> On Tuesday 15 February 2011 02:09:07 pm Brock Palen wrote:
>>> When I switched to a GNU compiler build I got the same error.
>>>
>>>
>>> Brock Palen
>>> www.umich.edu/~brockp
>>> Center for Advanced Computing
>>> brockp at umich.edu
>>> (734)936-1985
>>>
>>> On Feb 15, 2011, at 12:56 PM, Kevin Long wrote:
>>>> Hi Brock,
>>>>
>>>> Were you able to build successfully with gcc? If it only shows up with
>>>> the intel compiler that might tell me something.
>>>>
>>>> I'll see if I can reproduce the problem.
>>>>
>>>> Kevin
>>>>
>>>> On Tuesday 15 February 2011 11:27:13 am Brock Palen wrote:
>>>>> I am trying to build trilinos for our users with intel/11.0 and openmpi.
>>>>>
>>>>> I get a linking error with Sundance:
>>>>>
>>>>> 91%] Built target Sundance_FunctionalTest
>>>>> Linking CXX executable Sundance_HelmholtzEigen2D.exe
>>>>> /usr/caen/intel-11.0/cc/11.0.074/lib/intel64/libimf.so: warning:
>>>>> warning: feupdateenv is not implemented and will always fail
>>>>> CMakeFiles/Sundance_HelmholtzEigen2D.dir/HelmholtzEigen2D.cpp.o: In
>>>>> function `main':
>>>>> /tmp/trilinos-10.6.2-Source/packages/Sundance/tests-std-framework/Proble
>>>>> m/H elmholtzEigen2D.cpp:(.text+0x15b3): undefined reference to `vtable
>>>>> for TSFExtended::AnasaziEigensolver<double>'
>>>>> /tmp/trilinos-10.6.2-Source/packages/Sundance/tests-std-framework/Proble
>>>>> m/H elmholtzEigen2D.cpp:(.text+0x15bb): undefined reference to `vtable
>>>>> for TSFExtended::AnasaziEigensolver<double>' make[2]: ***
>>>>> [packages/Sundance/tests-std-framework/Problem/Sundance_HelmholtzEigen2D
>>>>> .ex e] Error 1 make[1]: ***
>>>>> [packages/Sundance/tests-std-framework/Problem/CMakeFiles/Sundance_Helmh
>>>>> olt zEigen2D.dir/all] Error 2 make: *** [all] Error 2
>>>>>
>>>>>
>>>>> my cmake configure is:
>>>>>
>>>>> cmake \
>>>>> -D CMAKE_BUILD_TYPE:STRING=RELEASE \
>>>>> -D Trilinos_ENABLE_TESTS:BOOL=ON \
>>>>> -D Trilinos_ENABLE_ALL_PACKAGES:BOOL=ON \
>>>>> -D Trilinos_ENABLE_SECONDARY_STABLE_CODE=ON \
>>>>> -D TPL_ENABLE_QT:BOOL=OFF \
>>>>> -D TPL_ENABLE_Boost:BOOL=OFF \
>>>>> -D Trilinos_ENABLE_TriKota:BOOL=OFF \
>>>>> -D Trilinos_ENABLE_PyTrilinos:BOOL=OFF \
>>>>> -D TPL_ENABLE_MPI:BOOL=ON \
>>>>> -D MPI_EXEC_MAX_NUMPROCS:STRING=4 \
>>>>> $EXTRA_ARGS \
>>>>> /tmp/trilinos-10.6.2-Source
>>>>>
>>>>> Any help would be great.
>>>>>
>>>>> Brock Palen
>>>>> www.umich.edu/~brockp
>>>>> Center for Advanced Computing
>>>>> brockp at umich.edu
>>>>> (734)936-1985
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Trilinos-Users mailing list
>>>>> Trilinos-Users at software.sandia.gov
>>>>> http://software.sandia.gov/mailman/listinfo/trilinos-users
>>>>
>>>> --
>>>> ------------------------------------------------------
>>>> Kevin Long
>>>> Associate Professor
>>>> Department of Mathematics and Statistics
>>>> Texas Tech University
>>>> Lubbock, TX
>>>>
>>>> "The end of fear is the beginning of wisdom"
>>>> -- Bertrand Russell
>>>> ------------------------------------------------------
>>>
>>> _______________________________________________
>>> Trilinos-Users mailing list
>>> Trilinos-Users at software.sandia.gov
>>> http://software.sandia.gov/mailman/listinfo/trilinos-users
>>
>>
>>
>> --
>> ------------------------------------------------------
>> Kevin Long
>> Associate Professor
>> Department of Mathematics and Statistics
>> Texas Tech University
>> Lubbock, TX
>>
>> "The end of fear is the beginning of wisdom"
>> -- Bertrand Russell
>> ------------------------------------------------------
>>
>>
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 15 Feb 2011 18:03:07 -0600
> From: "Kevin Long" <kevin.long at ttu.edu>
> Subject: Re: [Trilinos-Users] Sundance build fail
> To: trilinos-users at software.sandia.gov
> Message-ID: <201102151803.07631.kevin.long at ttu.edu>
> Content-Type: text/plain; charset=cp 850
>
>
> Hi Brock,
>
> You can fix the problem by adding
>
> -D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \
>
> to your cmake command line.
>
> Kevin
>
>
> --
> ------------------------------------------------------
> Kevin Long
> Associate Professor
> Department of Mathematics and Statistics
> Texas Tech University
> Lubbock, TX
>
> "The end of fear is the beginning of wisdom"
> -- Bertrand Russell
> ------------------------------------------------------
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 16 Feb 2011 09:08:30 +0100
> From: "Biddiscombe, John A." <biddisco at cscs.ch>
> Subject: [Trilinos-Users] embed a single library inside another
> project
> To: "trilinos-users at software.sandia.gov"
> <trilinos-users at software.sandia.gov>
> Message-ID:
> <AB48A31C4EC97E498F4235B7CEF74A1976B219A538 at MBX00.d.ethz.ch>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hello all,
>
> I am using the Zoltan library and would like to add it as a subdirectory of another project - without the rest of trilinos.
>
> Are there any CMake examples out there of projects that do this. I had a quick look, but the number of trilinos specific macros is quite large and I wonder if anyone has been though this process already and collected the required stuff into a simple to use bundle.
>
> thanks
>
> JB
>
>
> --
> John Biddiscombe,??????????????????????????? email:biddisco @ cscs.ch
> http://www.cscs.ch/
> CSCS, Swiss National Supercomputing Centre? | Tel:? +41 (91) 610.82.07
> Via Cantonale, 6928 Manno, Switzerland????? | Fax:? +41 (91) 610.82.82
>
>
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
> End of Trilinos-Users Digest, Vol 66, Issue 16
> **********************************************
>
More information about the Trilinos-Users
mailing list