[CIG-SEISMO] Unsuccessuful SW4 test (João Fontiela)

Petersson, Anders petersson1 at llnl.gov
Tue Nov 21 09:13:26 PST 2017


Hi Joao,
First, I am glad to hear that the test script worked for you. The errors reported by the test script for the first test are very small and I would not worry about it. Your installation is fine. The reason that the test failed is due to round-off errors, related to the linear system that is solved within the mesh refinement algorithm. This should not be noticeable in practical seismic simulations.
Good luck with your SW4 project!
/Anders

On 11/21/17, 7:07 AM, "CIG-SEISMO on behalf of cig-seismo-request at geodynamics.org" <cig-seismo-bounces at geodynamics.org on behalf of cig-seismo-request at geodynamics.org> wrote:

    Send CIG-SEISMO mailing list submissions to
    	cig-seismo at geodynamics.org
    
    To subscribe or unsubscribe via the World Wide Web, visit
    	http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
    or, via email, send a message with subject or body 'help' to
    	cig-seismo-request at geodynamics.org
    
    You can reach the person managing the list at
    	cig-seismo-owner at geodynamics.org
    
    When replying, please edit your Subject line so it is more specific
    than "Re: Contents of CIG-SEISMO digest..."
    
    
    Today's Topics:
    
       1. Re: 	 (João Fontiela)
    
    
    ----------------------------------------------------------------------
    
    Message: 1
    Date: Tue, 21 Nov 2017 14:11:33 +0000
    From: João Fontiela <jfontiela at uevora.pt>
    To: cig-seismo at geodynamics.org
    Subject: Re: [CIG-SEISMO] Unsuccessuful SW4 test (João Fontiela)
    Message-ID: <717C625F-DBF8-48A8-853B-C95B3A3470EB at uevora.pt>
    Content-Type: text/plain; charset="utf-8"
    
    Hi Anders,
    
    This time I was able run SW4 tests nevertheless the first test failed and the remaining ones passed. The test log: 
    
    Running all tests for level 0 ...
    Starting test # 1 in directory: meshrefine with input file: refine-el-1.in
    INFO: compare_one_line: col= 0 test= 8.7590587e-06 base= 8.7588796e-06 err= 2.0447820746341383e-05
    ERROR: compare_one_line: err= 2.0447820746341383e-05 > tolerance= 1e-05
    INFO: compare_one_line: col= 1 test= 1.4151418e-06 base= 1.4151566e-06 err= 1.0458206533397305e-05
    ERROR: compare_one_line: err= 1.0458206533397305e-05 > tolerance= 1e-05
    Test # 1 Input file: refine-el-1.in <http://refine-el-1.in/> FAILED
    Starting test # 2 in directory: meshrefine with input file: refine-att-1.in <http://refine-att-1.in/>
    Test # 2 Input file: refine-att-1.in <http://refine-att-1.in/> PASSED
    Starting test # 3 in directory: meshrefine with input file: refine-att-2nd-1.in <http://refine-att-2nd-1.in/>
    Test # 3 Input file: refine-att-2nd-1.in <http://refine-att-2nd-1.in/> PASSED
    Starting test # 4 in directory: attenuation with input file: tw-att-1.in <http://tw-att-1.in/>
    Test # 4 Input file: tw-att-1.in <http://tw-att-1.in/> PASSED
    Starting test # 5 in directory: attenuation with input file: tw-att-2.in <http://tw-att-2.in/>
    Test # 5 Input file: tw-att-2.in <http://tw-att-2.in/> PASSED
    Starting test # 6 in directory: attenuation with input file: tw-topo-att-1.in <http://tw-topo-att-1.in/>
    Test # 6 Input file: tw-topo-att-1.in <http://tw-topo-att-1.in/> PASSED
    Starting test # 7 in directory: pointsource with input file: pointsource-sg-1.in <http://pointsource-sg-1.in/>
    Test # 7 Input file: pointsource-sg-1.in <http://pointsource-sg-1.in/> PASSED
    Starting test # 8 in directory: twilight with input file: flat-twi-1.in <http://flat-twi-1.in/>
    Test # 8 Input file: flat-twi-1.in <http://flat-twi-1.in/> PASSED
    Starting test # 9 in directory: twilight with input file: flat-twi-2.in <http://flat-twi-2.in/>
    Test # 9 Input file: flat-twi-2.in <http://flat-twi-2.in/> PASSED
    Starting test # 10 in directory: twilight with input file: gauss-twi-1.in <http://gauss-twi-1.in/>
    Test # 10 Input file: gauss-twi-1.in <http://gauss-twi-1.in/> PASSED
    Starting test # 11 in directory: twilight with input file: gauss-twi-2.in <http://gauss-twi-2.in/>
    Test # 11 Input file: gauss-twi-2.in <http://gauss-twi-2.in/> PASSED
    Starting test # 12 in directory: lamb with input file: lamb-1.in <http://lamb-1.in/>
    Test # 12 Input file: lamb-1.in <http://lamb-1.in/> PASSED
    Out of 12 tests, 11 passed and 1 failed.
    
    I thing the problem is related with input file and not with SW4. My point is if I can use SW4 without concerns?
    
    Yours,
    João Fontiela
     
    *********************
    *********************
    João Fontiela
    PhD Student
    skype: fontiela
    email: fontiela at gmail.com
    mobile phone +351 917 862 830
    
    Profissional contacts:
    email: jfontiela at uevora.pt
    Tel: (+351) 266 745 354 ext: 5395 or 5413
    Fax: (+351) 266 745 394 
    
    Profissional address:
    Universidade de Évora 
    Instituto de Ciências da Terra
    Colégio Luís Verney 
    Rua Romão Ramalho, 59
    7000-671 Évora - Portugal
    
    ResearchGate: https://www.researchgate.net/profile/Joao_Fontiela
    
    > No dia 20/11/2017, às 23:17, João Fontiela <jfontiela at uevora.pt> escreveu:
    > 
    > Hi Anders,
    > 
    > 
    > Thank you very much for your availability to fix this problem
    > I will test the new release of test_sw4.py and let you know if it works.
    > 
    > Thank you,
    > João Fontiela
    > 
    > *********************
    > *********************
    > João Fontiela
    > PhD Student
    > skype: fontiela
    > email: fontiela at gmail.com <mailto:fontiela at gmail.com>
    > mobile phone +351 917 862 830
    > 
    > Profissional contacts:
    > email: jfontiela at uevora.pt <mailto:jfontiela at uevora.pt>
    > Tel: (+351) 266 745 354 ext: 5395 or 5413
    > Fax: (+351) 266 745 394 
    > 
    > Profissional address:
    > Universidade de Évora 
    > Instituto de Ciências da Terra
    > Colégio Luís Verney 
    > Rua Romão Ramalho, 59
    > 7000-671 Évora - Portugal
    > 
    > ResearchGate: https://www.researchgate.net/profile/Joao_Fontiela
    > 
    >> No dia 20/11/2017, às 21:43, Petersson, Anders <petersson1 at llnl.gov <mailto:petersson1 at llnl.gov>> escreveu:
    >> 
    >> Hi Joao,
    >> We have improved the test_sw4.py script and included it in a new release of SW4, with version 2.01. Note that only the test script was changed, and the source code is identical to version 2.0. The new version can be downloaded from the CIG website, or directly from github.
    >> It would be good to know whether the new script works for you.
    >> Thanks,
    >> Anders
    >> 
    >> 
    >> On 11/15/17, 12:00 PM, "CIG-SEISMO on behalf of cig-seismo-request at geodynamics.org <mailto:cig-seismo-request at geodynamics.org>" <cig-seismo-bounces at geodynamics.org <mailto:cig-seismo-bounces at geodynamics.org> on behalf of cig-seismo-request at geodynamics.org <mailto:cig-seismo-request at geodynamics.org>> wrote:
    >> 
    >>    Send CIG-SEISMO mailing list submissions to
    >>    	cig-seismo at geodynamics.org <mailto:cig-seismo at geodynamics.org>
    >> 
    >>    To subscribe or unsubscribe via the World Wide Web, visit
    >>    	http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo <http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo>
    >>    or, via email, send a message with subject or body 'help' to
    >>    	cig-seismo-request at geodynamics.org
    >> 
    >>    You can reach the person managing the list at
    >>    	cig-seismo-owner at geodynamics.org
    >> 
    >>    When replying, please edit your Subject line so it is more specific
    >>    than "Re: Contents of CIG-SEISMO digest..."
    >> 
    >> 
    >>    Today's Topics:
    >> 
    >>       1. Unsuccessuful SW4 test (João Fontiela)
    >> 
    >> 
    >>    ----------------------------------------------------------------------
    >> 
    >>    Message: 1
    >>    Date: Wed, 15 Nov 2017 11:49:42 +0000
    >>    From: João Fontiela <jfontiela at uevora.pt>
    >>    To: cig-seismo at geodynamics.org
    >>    Subject: [CIG-SEISMO] Unsuccessuful SW4 test
    >>    Message-ID: <2E1502C9-B63E-4C1F-9B8C-88A3EC744B47 at uevora.pt>
    >>    Content-Type: text/plain; charset="utf-8"
    >> 
    >>    Dear all,
    >> 
    >> 
    >>    We installed SW4 (latest release) successfully nevertheless when we  execute test_sw4.py (we have installed also python3) we got the following error:
    >> 
    >>    [root at terra pytest]# ./test_sw4.py
    >>    Running all tests for level 0 ...
    >>    Starting test # 1 in directory: meshrefine with input file: refine-el-1.in <http://refine-el-1.in/>
    >>    ERROR: Test refine-el-1.in <http://refine-el-1.in/> : sw4 returned non-zero exit status= 32512 aborting test
    >>    run_cmd= mpirun -np 1 /share/apps/sw4-master/optimize/sw4 /share/apps/sw4-master/pytest/reference/meshrefine/refine-el-1.in <http://refine-el-1.in/> >& refine-el-1.out
    >>    DID YOU USE THE CORRECT SW4 EXECUTABLE? (SPECIFY DIRECTORY WITH -d OPTION)
    >>    test_sw4 was unsuccessful
    >> 
    >>    Make.inc configuration is:
    >>    FC = gfortran
    >>    CXX = mpicxx
    >>    EXTRA_LINK_FLAGS =-L/usr/lib64/atlas -llapack -lblas -lgfortran
    >> 
    >>    Can anyone help understand what is going on?
    >> 
    >>    Yours,
    >>    João Fontiela
    >> 
    >>    *********************
    >>    *********************
    >>    João Fontiela
    >>    PhD Student
    >>    skype: fontiela
    >>    email: fontiela at gmail.com
    >>    mobile phone +351 917 862 830
    >> 
    >>    Profissional contacts:
    >>    email: jfontiela at uevora.pt
    >>    Tel: (+351) 266 745 354 ext: 5395 or 5413
    >>    Fax: (+351) 266 745 394 
    >> 
    >>    Profissional address:
    >>    Universidade de Évora 
    >>    Instituto de Ciências da Terra
    >>    Colégio Luís Verney 
    >>    Rua Romão Ramalho, 59
    >>    7000-671 Évora - Portugal
    >> 
    >>    ResearchGate: https://www.researchgate.net/profile/Joao_Fontiela
    >> 
    >>    -------------- next part --------------
    >>    An HTML attachment was scrubbed...
    >>    URL: <http://lists.geodynamics.org/pipermail/cig-seismo/attachments/20171115/901b5718/attachment-0001.html>
    >> 
    >>    ------------------------------
    >> 
    >>    Subject: Digest Footer
    >> 
    >>    _______________________________________________
    >>    CIG-SEISMO mailing list
    >>    CIG-SEISMO at geodynamics.org
    >>    http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
    >> 
    >>    ------------------------------
    >> 
    >>    End of CIG-SEISMO Digest, Vol 118, Issue 8
    >>    ******************************************
    >> 
    >> 
    >> _______________________________________________
    >> CIG-SEISMO mailing list
    >> CIG-SEISMO at geodynamics.org
    >> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
    > 
    > 
    > 
    > *********************
    > *********************
    > João Fontiela
    > PhD Student
    > skype: fontiela
    > email: fontiela at gmail.com <mailto:fontiela at gmail.com>
    > mobile phone +351 917 862 830
    > 
    > Profissional contacts:
    > email: jfontiela at uevora.pt
    > Tel: (+351) 266 745 354 ext: 5395 or 5413
    > Fax: (+351) 266 745 394 
    > 
    > Profissional address:
    > Universidade de Évora 
    > Instituto de Ciências da Terra
    > Colégio Luís Verney 
    > Rua Romão Ramalho, 59
    > 7000-671 Évora - Portugal
    > 
    > ResearchGate: https://www.researchgate.net/profile/Joao_Fontiela
    > 
    > _______________________________________________
    > CIG-SEISMO mailing list
    > CIG-SEISMO at geodynamics.org
    > http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
    
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.geodynamics.org/pipermail/cig-seismo/attachments/20171121/d082d7d0/attachment.html>
    
    ------------------------------
    
    Subject: Digest Footer
    
    _______________________________________________
    CIG-SEISMO mailing list
    CIG-SEISMO at geodynamics.org
    http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
    
    ------------------------------
    
    End of CIG-SEISMO Digest, Vol 118, Issue 11
    *******************************************
    



More information about the CIG-SEISMO mailing list