[petsc-dev] Petsc: Error code 1

Satish Balay balay at mcs.anl.gov
Mon Apr 5 23:18:27 CDT 2021


To check the install - we suggest:

make check

'make test' runs the full test suite.

Note the test suite is parallel - so if using '-j' the multiple
parallel jobs can overload the machine and slow things down.  So best
to use a much smaller -j value, and with a larger timeout.

make -j4 test TIMEOUT=600

Satish

On Tue, 6 Apr 2021, Chen Gang wrote:

> Dear Professor,
> 
> 
> 
> 
> 
> 
> I was running the petsc test using 
> 
> 
> # make all test -j
> 
> 
> AND I got the error code 1 message of six examples.
> 
> 
> What is error code 1 and how can location the error.
> 
> 
> I went the exactly file and make, it seems the examples can be running well. I don't understand what is error code 1.
> 
> 
> The below is the summary.
> 
> 
> Looking forward to hearing you!
> 
> 
> -----
>  
> #   Summary
>  
> # -------------
>  
> # FAILED diff-tao_complementarity_tutorials-blackscholes_2 diff-tao_bound_tutorials-plate2f_2 diff-tao_complementarity_tutorials-blackscholes_6 diff-tao_bound_tutorials-plate2f_1 diff-vec_is_is_tutorials-ex2f_1 diff-tao_complementarity_tutorials-blackscholes_7
>  
> # success 7544/9528 tests (79.2%)
>  
> # failed 6/9528 tests (0.1%)
>  
> # todo 225/9528 tests (2.4%)
>  
> # skip 1753/9528 tests (18.4%)
>  
> #
>  
> # Wall clock time for tests: 1552 sec
>  
> # Approximate CPU time (not incl. build time): 106566.87999999993 sec
>  
> #
>  
> # To rerun failed tests:
>  
> #     /opt/rh/devtoolset-9/root/usr/bin/gmake -f gmakefile test test-fail=1
>  
> #
>  
> # Timing summary (actual test time / total CPU time):
>  
> #   mat_tests-ex44_mpiio_15: 220.10 sec / 221.33 sec
>  
> #   mat_tests-ex44_stdio_15: 220.07 sec / 221.15 sec
>  
> #   dm_impls_stag_tests-ex1_basic_2: 209.29 sec / 211.16 sec
>  
> #   dm_tutorials-ex15_3: 177.42 sec / 178.46 sec
>  
> #   dm_impls_stag_tutorials-ex6_4: 177.10 sec / 178.31 sec
> 
> Best,
> 
> 
> Gang Chen
> 
> 
> Sichuan Univertsity,
> School of Mathematics,
> Chengdu, China



More information about the petsc-dev mailing list