[CIG-SEISMO] Movie Creation Error

Dimitri Komatitsch komatitsch at lma.cnrs-mrs.fr
Fri Jun 27 13:59:35 PDT 2014


Hi all,

I have added a test and a stop statement, thus you can update to the 
latest Git version.

Best wishes,
Dimitri.

On 27/06/2014 21:26, Dimitri Komatitsch wrote:
>
> Yes, as Emanuele says the problem is that you entered a negative value
> (-200) for the time stamp.
>
> Best wishes,
> Dimitri.
>
> On 27/06/2014 21:11, emanuele casarotti wrote:
>> For me the problem is the -200 timestamp...
>> I don't think you have a moviedata file for that
>>
>> Emanuele
>>
>>> Il giorno 27/giu/2014, alle ore 16:48, Carl Tape
>>> <carltape at gi.alaska.edu> ha scritto:
>>>
>>> Hi John,
>>>
>>> I just made a movie with the latest version of the devel code for
>>> SPECFEM3D (movie here: http://youtu.be/Tx-u_HULFnY), so things appear
>>> to be working. I always use the AVS UCD format, though, so I can speak
>>> for the format you are trying (opendx).
>>>
>>> One thing I noticed from your output was the line
>>>
>>> ../in_out_files/OUTPUT_FILES/moviedata******
>>>
>>> which  is suggestive of an older version of the code, since the path
>>> should point to OUTPUT_FILES/moviedata*** (no in_out_files). I also
>>> think the that execution command is like
>>>
>>> ./bin/xcreate_movie_shakemap_AVS_DX_GMT
>>>
>>> It could be that the relative path to your movie files is incorrect.
>>> But if this fails, then I would try AVS UCD format, which I have been
>>> using for several years, and it seems to work well. And if that fails
>>> for you, then I would try the latest devel version of the code.
>>>
>>> Good luck.
>>> Carl
>>>
>>> ---------------------------------------------------------------
>>> Carl Tape
>>> Assistant Professor
>>> Geophysical Institute (office 413D)
>>> University of Alaska Fairbanks
>>> Phone: 907-474-5456
>>> Email: carltape at gi.alaska.edu
>>> Web: http://www.giseis.alaska.edu/input/carl/
>>> ---------------------------------------------------------------
>>>
>>>
>>>> On Thu, Jun 26, 2014 at 5:33 PM, John Cooper <nhojcooper at gmail.com>
>>>> wrote:
>>>> Dear CIG community,
>>>>
>>>> I simulated my model. I want to create a movie which is giving me
>>>> the error
>>>> message (below). I tried in many different ways, but non of them
>>>> work. Could
>>>> somebody kindly tell me where I am doing wrong? I would be really
>>>> grateful,
>>>> Thanks in advance.
>>>>
>>>> Best regards,
>>>> John
>>>> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>>>>
>>>> svr:~/SPECFEM3D/examples/final/bin$ ./xcreate_movie_shakemap_AVS_DX_GMT
>>>>
>>>> Recombining all movie frames to create a movie
>>>>
>>>>
>>>> reading parameter file
>>>>
>>>>    moviedata element surfaces:         3136
>>>>    moviedata total elements all:        12544
>>>>
>>>> Vertical displacement will be shown in movie
>>>>
>>>> 1 = create files in OpenDX format
>>>> 2 = create files in AVS UCD format
>>>> 3 = create files in GMT xyz Ascii long/lat/Uz format
>>>> any other value = exit
>>>>
>>>> enter value:
>>>> 1
>>>> movie frames have been saved every          200  time steps
>>>>
>>>> enter first time step of movie (e.g. 1, enter -1 for shaking map)
>>>> -200
>>>> enter last time step of movie (e.g.       120000 )
>>>> 120000
>>>>
>>>> 1 = define file names using frame number
>>>> 2 = define file names using time step number
>>>> any other value = exit
>>>>
>>>> enter value:
>>>> 1
>>>>
>>>> looping from         -200  to       120000  every          200  time
>>>> steps
>>>>
>>>> total number of frames will be          602
>>>>
>>>> movie data:
>>>> 1= norm of velocity  2=velocity x-comp 3=velocity y-comp 4=velocity
>>>> z-comp
>>>>
>>>> 4
>>>>
>>>> there are a total of         3136  elements at the surface
>>>>
>>>>
>>>>
>>>> reading snapshot time step         -200  out of       120000
>>>>
>>>> error: ../in_out_files/OUTPUT_FILES//moviedata******
>>>> STOP error opening moviedata file
>>>>
>>>>
>>>> # sometimes the error is like this (e.g. 800 instead of -200 time step)
>>>> At line 324 of file ../shared//create_movie_shakemap_AVS_DX_GMT.f90
>>>> (unit =
>>>> 41, file = '../in_out_files/OUTPUT_FILES//moviedata000800')
>>>> Fortran runtime error: I/O past end of record on unformatted file
>>>>
>>>> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>>>>
>>>>
>>>> _______________________________________________
>>>> CIG-SEISMO mailing list
>>>> CIG-SEISMO at geodynamics.org
>>>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
>>> _______________________________________________
>>> CIG-SEISMO mailing list
>>> CIG-SEISMO at geodynamics.org
>>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
>> _______________________________________________
>> CIG-SEISMO mailing list
>> CIG-SEISMO at geodynamics.org
>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
>>
>

-- 
Dimitri Komatitsch
CNRS Research Director (DR CNRS), Laboratory of Mechanics and Acoustics,
UPR 7051, Marseille, France    http://komatitsch.free.fr


More information about the CIG-SEISMO mailing list