[Trilinos-Users] [EXTERNAL] ForTrilinos Test Cases Fail

Bill Spotz wfspotz at sandia.gov
Mon Jun 29 16:53:50 EDT 2015


Look at Testing/Temporary/LastTest.log, and search for "Test #65".

> On Jun 29, 2015, at 11:45 AM, Shuang Yang <ysmashimaro at gmail.com> wrote:
> 
> Thank you! It works! I just typed "ctest" in the ForTrilinos build
> directory and it did all the tests and logs. However, one test fails
> and the result is confusing. I checked the source code, but I cannot
> find where it breaks. Any idea? Thanks.
> 
> 65/72 Test #65: ForTrilinos_check_for_memory_leaks
> ..................***Failed  Required regular expression not
> found.Regex=[End Result: TEST PASSED
> ]  0.00 sec
> 
> On Mon, Jun 29, 2015 at 10:43 AM, Bill Spotz <wfspotz at sandia.gov> wrote:
>> If you have cmake, you should have ctest, and it is the cmake-integrated testing harness.  Change directories to the ForTrilinos build directory. Running ctest from there should run only the ForTrilinos tests, complete with any required command-line arguments.  It will create a directory called Testing with logs.
>> 
>>> On Jun 29, 2015, at 10:36 AM, Shuang Yang <ysmashimaro at gmail.com> wrote:
>>> 
>>> There are a bunch of .exe files generated after I compile ForTrilinos.
>>> and yes, I am trying to run the ForTrilinos tests. I just directly
>>> type in the name of the executable, like just type in
>>> "./AztecOO_AztecOO_oo_tests.exe" and got the error message. I am not
>>> sure what ctest is, so I did not use it. Should I use ctest to run
>>> these test cases?
>>> 
>>> Thanks.
>>> 
>>> Test cases built using a sample script given in source (OO and MPI
>>> enabled, DLC, finalization, assertion, etc. disabled):
>>> 
>>> ForTrilinos_check_for_memory_leaks.exe
>>> ForTrilinos_interoperability_check.exe
>>> AztecOO_AztecOO_oo_tests.exe
>>> AztecOO_AztecOO_tests.exe
>>> Epetra_BlockMap_oo_tests.exe
>>> Epetra_BlockMap_tests.exe
>>> Epetra_Comm_oo_tests.exe
>>> Epetra_Comm_tests.exe
>>> Epetra_CrsMatrix_oo_tests.exe
>>> Epetra_CrsMatrix_tests.exe
>>> Epetra_Export_oo_tests.exe
>>> Epetra_Export_tests.exe
>>> Epetra_Import_oo_tests.exe
>>> Epetra_Import_tests.exe
>>> Epetra_Map_oo_tests.exe
>>> Epetra_Map_tests.exe
>>> Epetra_MpiComm_oo_tests.exe
>>> Epetra_MpiComm_tests.exe
>>> Epetra_MultiVector_oo_tests.exe
>>> Epetra_MultiVector_tests.exe
>>> Epetra_SerialComm_oo_tests.exe
>>> Epetra_SerialComm_tests.exe
>>> Epetra_Vector_oo_tests.exe
>>> Epetra_Vector_tests.exe
>>> ForTrilinos_Error_oo_tests.exe
>>> ForTrilinos_Error_tests.exe
>>> ForTrilinos_unittest_launcher_serial.exe
>>> ForTrilinos_Utils_oo_tests.exe
>>> ForTrilinos_Utils_tests.exe
>>> 
>>> On Mon, Jun 29, 2015 at 9:47 AM, Bill Spotz <wfspotz at sandia.gov> wrote:
>>>> The developer of ForTrilinos has left Sandia, and so this package is not well-supported these days.
>>>> 
>>>> What do you mean when you say "run the executable"?  Are you trying to run the ForTrilinos tests?  If so, how?  Are your running ctest?
>>>> 
>>>> -Bill
>>>> 
>>>>> On Jun 29, 2015, at 9:29 AM, Shuang Yang <ysmashimaro at gmail.com> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> I am trying to compile and run ForTrilinos. I can compile the
>>>>> ForTrilinos, but when I run the executable, I got this error message
>>>>> (assertions are turned on):
>>>>> 
>>>>> ERROR: No tests specified (line 107 of
>>>>> /home/shuang/trilinos-12.0.1-Source/packages/ForTrilinos/test/unittests/UNITTEST_COMMON/unittest.F90).
>>>>> TEST FAILED
>>>>> 
>>>>> STOP 1
>>>>> 
>>>>> Any idea why this happens?
>>>>> 
>>>>> I am not sure if I run these unit tests in a correct way. Just run the
>>>>> executable or some kind of interface is needed?
>>>>> 
>>>>> Thanks.
>>>>> _______________________________________________
>>>>> Trilinos-Users mailing list
>>>>> Trilinos-Users at trilinos.org
>>>>> https://trilinos.org/mailman/listinfo/trilinos-users
>>>> 
>>>> ** Bill Spotz                                              **
>>>> ** Sandia National Laboratories  Voice: (505)845-0170      **
>>>> ** P.O. Box 5800                 Fax:   (505)284-0154      **
>>>> ** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **
>>>> 
>> 
>> ** Bill Spotz                                              **
>> ** Sandia National Laboratories  Voice: (505)845-0170      **
>> ** P.O. Box 5800                 Fax:   (505)284-0154      **
>> ** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **
>> 
>> 
>> 
>> 
>> 

** Bill Spotz                                              **
** Sandia National Laboratories  Voice: (505)845-0170      **
** P.O. Box 5800                 Fax:   (505)284-0154      **
** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **







More information about the Trilinos-Users mailing list