[CIG-SEISMO] SW4 Cartesian pfiles

Petersson, Anders petersson1 at llnl.gov
Wed Nov 16 12:17:01 PST 2016


Hi Manos,
The only thing I would recommend is to leave out
"-DCMAKE_BUILD_TYPE=Debug" when running cmake. This will slow down the
code because compiler optimization is turned off.
I also noticed that your error message is different from mine. I made my
input file by copying your input file from the e-mail. You might have some
little gremlin character in your input file. Try typing it in again. On
some systems the parser has problems reading the last command if it is not
followed by a blank line.
/Anders

On 11/16/16, 12:00 PM, "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: SW4 Cartesian pfiles (Petersson, Anders)
>   2. Re: Problems installing newer version of SW4 (Manos Klouvidakis)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 15 Nov 2016 20:41:36 +0000
>From: "Petersson, Anders" <petersson1 at llnl.gov>
>To: "cig-seismo at geodynamics.org" <cig-seismo at geodynamics.org>
>Subject: Re: [CIG-SEISMO] SW4 Cartesian pfiles
>Message-ID: <D450B1A9.173BB%petersson1 at llnl.gov>
>Content-Type: text/plain; charset="us-ascii"
>
>Hi Manos,
>It sounds like you managed to build sw4 from git with cmake.
>I tried running your case, but there is a problem with your pfile
>(manos.txt). It looks like the rows in the file are ordered incorrectly. I
>attach the error message I got.
>/Anders
>
>*** Reading data from Pfile manos.txt in directory ./
>'file model name (string): 'orestiada
>Step size in x and y: 3.84620000e+00
>Number of x-direction points: 365
>Min x: 0.00000000e+00 Max x: 1.40000000e+03
>Number of y-direction points: 53
>Min y: 0.00000000e+00 Max y: 2.00000000e+02
>Number of depth points: 261
>Min depth: 0.00000000e+00 Max depth: 1.00000000e+03
>Optional indices: Sediment: -99 MoHo: -99 410: -99 660: -99
>Attenuation Q-factors available: no
>--------------------------------------------------------------------------
>MPI_ABORT was invoked on rank 2 in communicator MPI_COMM_WORLD
>with errorcode 1.
>
>
>NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
>You may or may not see output from other processes, depending on
>exactly when Open MPI kills them.
>--------------------------------------------------------------------------
>ppmod: NOT allocating arrays for Qp and Qs
>pfile reader error, ppmod file line=270
>read x[1]=0 but expected x=3.8462
>read y[0]=3.8462 but expected y=0
>CHECK THE PPMOD FILE.
>DEPTH PROFILES SHOULD BE ORDERED SUCH THAT X VARIES THE FASTEST
>
>
>
>
>------------------------------
>
>Message: 2
>Date: Wed, 16 Nov 2016 01:21:07 +0200
>From: Manos Klouvidakis <manosdor2013 at gmail.com>
>To: cig-seismo at geodynamics.org
>Subject: Re: [CIG-SEISMO] Problems installing newer version of SW4
>Message-ID:
>	<CAAjMSfo+hw+vf895PjtX0rGL7wOnNQbCH9b2j941HZzAXUKPLA at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>Dear Mr Petersson,
>
>I would like to thank you once again for your immidiate response about my
>problem...
>
>I have written your error message that you have attached me and as far as
>I
>can see i have to change my pseudocode so in my depth file X varies the
>fastest...
>
>But I am concerned that SW4 the way I re-installed can't run a pfile in
>Cartesian coordinates... I got the error message (not recognizedor:
>processMaterialPfile Error: style= cartesian)...
>
>Is there any problem with my compiler in Fortran (I have Gnu 5.3.1 and in
>the installation guide "SW4-Installation.pdf" page 4 you recommend Gnu:
>g++/gcc/gfortran versions 4.5 to 4.8)?
>
>Or else, I think i have done all the appropriate steps to re-install SW4
>as
>you have told me in your reply at "
>http://lists.geodynamics.org/pipermail/cig-seismo/2016-November/001134.htm
>l
>":
>
>i) download the latest version of SW4 via git clone --recursive
>https://github.com/geodynamics/sw4.git
>
>ii) open with command "cmake -DTESTING_LEVEL=1 -DCMAKE_BUILD_TYPE=Debug"
>(or should i put instead of "Debug" ---> "RelWithDebInfo"?)
>
>iii) then run command "make"
>
>If I misunderstood something between the steps, I would be grateful to
>send
>me the exact steps how to re-install the program from the beginning...
>
>I am looking forward to hearing from you soon,
>
>Thanks in advance,
>
>Manos Klouvidakis
>
>2016-11-15 14:32 GMT+02:00 Manos Klouvidakis <manosdor2013 at gmail.com>:
>
>> Dear Mr Petersson Anders,
>>
>> I have followed all the instructions you have told me:
>>
>> i) i have downloaded the newest version from git clone --recursive
>> https://github.com/geodynamics/sw4.git
>>
>> ii) installed it with "cmake" command and i received the followed
>> cmake_results.txt
>>
>> iii) and then i used the "make" command and the message "SW4 LIVES"
>>showed
>> up, which means successful installation...
>>
>> and when i tried to run my model i had the same problem with Cartesian
>> coordinates (results.txt) (i also wrote style=Cartesian) in order to
>> exclude the error whether i use Capital C or c in word "cartesian"....
>>
>>
>> I also took the initiative to attach the in-file (orestiada8​​.txt) with
>> the velocities file (manos.txt) to tell me if the model is running...
>>
>> I am looking forward to hearing from you soon,
>>
>> Thanks in advance
>>
>> Manos Klouvidakis​​​​​
>>  manos.txt
>> 
>><https://drive.google.com/file/d/0B5hBIrgDmg65TWpNM183ZlNSSmM/view?usp=dr
>>ive_web>
>>>>
>> 2016-11-13 19:42 GMT+02:00 Manos Klouvidakis <manosdor2013 at gmail.com>:
>>
>>> I am trying to finish a project on my Master (because i need pfile
>>>running on cartesian coordinates) and I tried to install the new
>>>version of SW4 as you have told me(via git clone
>>>--recursivehttps://github.com/geodynamics/sw4.git, but I couldn't....
>>>
>>> So I attached the file with errors in order to tell me how i will
>>>solve this.
>>>
>>> Thanks in advance,
>>>
>>> Manos Klouvidakis
>>>
>>>
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><http://lists.geodynamics.org/pipermail/cig-seismo/attachments/20161116/ff
>400879/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 106, Issue 5
>******************************************



More information about the CIG-SEISMO mailing list