[CIG-SEISMO] Problems installing newer version of SW4

Manos Klouvidakis manosdor2013 at gmail.com
Wed Nov 23 04:30:39 PST 2016


Dear Mr Petersson,

I have run the previous case and i got this error message "error.txt"

In the error message i see "Vpmin=1 m/sec" so i far as I can think is that
when the program tries to build up the model in the boundary areas it
doesn't find values for velocities, densities in p-file and it defines some
values by default....

As far as I can imagine i need to specify in the p-file also the values for
the boundary areas so i build up a new
p-file (manos2.txt) that contains info also in the boundary cells...

In the new in-file is "oretiada.txt"

I would like to kindly request you if you could run it for me because I
think this is too heavy for my PC (the program starts but it takes too much
time to read the p-file and finally freezes up)

I have 16GB RAM and 8 processors... so is there any recommendations for the
size of the model (in nodes approximately) that my PC can deal with?

Thank in advance,

Klouvidakis Manos

​
 manos2.txt
<https://drive.google.com/file/d/0B5hBIrgDmg65eUZmSTQ5VlQteEk/view?usp=drive_web>
​

2016-11-21 22:53 GMT+02:00 Manos Klouvidakis <manosdor2013 at gmail.com>:

> Dear Mr Petersson,
>
> I have re-written the input file in Linux and the problem solved (pfile
> successfully was read)
>
> It may have been a gremlin character, because I used to write input files
> in Windows OS and then via Virtual Machine, run it in Fedora...
>
> Now an error "x0+width", "x1-width" etc showed up... This error as far as
> I can understand is when I wrote the dimensions in the input file, I didn't
> estimate the width (supergid lines) in the dimensions of my model...
>
> I 'll try to solve it and if I had more questions we will talk again...
>
> Thank you,
>
> Manos Klouvidakis
>
>
> 2016-11-16 1:21 GMT+02:00 Manos Klouvidakis <manosdor2013 at gmail.com>:
>
>> 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.html":
>>
>> 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=drive_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/20161123/e8aa1b3b/attachment.html>
-------------- next part --------------
[gkritik at localhost bin]$ mpirun -np 8 ./sw4 oretiada.txt
----------------------------------------------------------------
            sw4 version 1.19

 This program comes with ABSOLUTELY NO WARRANTY; released under GPL.
 This is free software, and you are welcome to redistribute     
 it under certain conditions, see LICENSE.txt for more details  
----------------------------------------------------------------
  Compiled on: 161115
  By user:     gkritik
  Machine:     localhost.localdomain
  Compiler:    /usr/bin/c++
  3rd party include dir: NA, and library dir: NA
----------------------------------------------------------------

Input file: oretiada.txt
Default Supergrid thickness has been tuned; thickness = 30 grid sizes
Default Supergrid damping coefficient has been tuned; damping coefficient = 2.00000000e-02

* Processing the grid command...
* Setting nx to 365 to be consistent with h=3.84620000e+00
* Setting ny to 105 to be consistent with h=3.84620000e+00
* Setting nz to 261 to be consistent with h=3.84620000e+00
* Changing y from 4.00005000e+02 to 4.00004800e+02 to be consistent with h=3.84620000e+00

*** No topography command found in input file. Using z=0 as free surface boundary ***


Global grid sizes (without ghost points)
Grid         h        Nx        Ny        Nz       Points
   0    3.8462       365       105       261     10002825
Total number of grid points (without ghost points): 1.00028e+07

*** Reading data from Pfile manos1.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.40001680e+03
Number of y-direction points: 53
Min y: 0.00000000e+00 Max y: 2.00002400e+02
Number of depth points: 261
Min depth: 0.00000000e+00 Max depth: 1.00001200e+03
Optional indices: Sediment: -99 MoHo: -99 410: -99 660: -99
Attenuation Q-factors available: no
ppmod: NOT allocating arrays for Qp and Qs
******* Done reading Pfile **********


   Execution time, reading input file 1.04434397e+01 seconds 
----------------------------------------------------
 Making Output Directory: oretiada/
		
... Done!
----------------------------------------------------
Geographic and Cartesian coordinates of the corners of the computational grid:
0: Lon= 1.180000e+02, Lat=3.700000e+01, x=0.000000e+00, y=0.000000e+00
1: Lon= 1.180000e+02, Lat=3.701258e+01, x=1.400017e+03, y=0.000000e+00
2: Lon= 1.180045e+02, Lat=3.701258e+01, x=1.400017e+03, y=4.000048e+02
3: Lon= 1.180045e+02, Lat=3.700000e+01, x=0.000000e+00, y=4.000048e+02

Considering all material blocks
Assigning material properties from pfile data...
outside = 5049775, material = 5029700

       application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 2
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 4
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 5
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 6
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 7
----------- Material properties ranges ---------------
       -1.00000000e+00application called MPI_Abort(MPI_COMM_WORLD, 1) - process 3
 kg/m^3 <=  Density <= 2.61000000e+03 kg/m^3
       1.00000000e+00 m/s    <=  Vp      <= 3.23400000e+03 m/s
       1.00000000e+00 m/s    <=  Vs      <= 2.00000000e+03 m/s
       1.00000000e+00        <=  Vp/Vs   <= 2.26153846e+00
       -1.00000000e+00 Pa     <=  mu      <= 1.03200000e+10 Pa
       -5.77920000e+09 Pa     <=  lambda  <= 1.62408378e+10 Pa
       ------------------------------------------------------
Verification failed: Error: vp/vs is smaller than sqrt(2).
...at line 139 of file /home/gkritik/sw4new/sw4/src/material.C.
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 3157 RUNNING AT localhost.localdomain
=   EXIT CODE: 1
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
-------------- next part --------------
grid x=1400.0168 y=400.0050 z=1115.3980 h=3.8462

pfile filename=manos2.txt vsmin=1200 vpmin=2400 style=cartesian

source x=700 y=200 z=50 mxx=1e18 myy=1e18 mzz=1e18 t0=0.1 freq=20 type=RickerInt

time t=1.5

supergrid gp=30

rec x=700 y=200 z=50 file=sta01 usgsformat=1

fileio path=oretiada


More information about the CIG-SEISMO mailing list