[CIG-SEISMO] specfem3d : simple_model with CPML

houssen houssen at ipgp.fr
Tue Oct 25 08:22:38 PDT 2016


Just to add an additional information. meshfem3D_examples/simple_model 
runs OK (without PML).

When I set "PLM_CONDITIONS = .true." in Par_file, xmeshfem3D runs OK, 
but I get a crash in xgenerate_databases:
~> gdb /home/fhoussen/Documents/specfem3d/bin/xgenerate_databases
       no external binary model used
    ...creating C-PML damping profiles
Thread 1 "xgenerate_datab" received signal SIGSEGV, Segmentation fault.
0x000000000044257f in pml_set_local_dampingcoeff (myrank=0, 
xstore=<error reading variable: value requires 17804776 bytes, which is 
more than max-value-size>,
     ystore=<error reading variable: value requires 17804776 bytes, 
which is more than max-value-size>,
     zstore=<error reading variable: value requires 17804776 bytes, 
which is more than max-value-size>) at 
src/generate_databases/pml_set_local_dampingcoeff.f90:95
95	  if (count(is_CPML(:)) /= NSPEC_CPML) then
(gdb) bt
#0  0x000000000044257f in pml_set_local_dampingcoeff (myrank=0, 
xstore=<error reading variable: value requires 17804776 bytes, which is 
more than max-value-size>,
     ystore=<error reading variable: value requires 17804776 bytes, 
which is more than max-value-size>,
     zstore=<error reading variable: value requires 17804776 bytes, 
which is more than max-value-size>) at 
src/generate_databases/pml_set_local_dampingcoeff.f90:95
#1  0x0000000000418eee in create_regions_mesh () at 
src/generate_databases/create_regions_mesh.f90:247
#2  0x000000000045e5b9 in setup_mesh () at 
src/generate_databases/setup_mesh.f90:66
#3  0x000000000041c4f2 in generate_databases () at 
src/generate_databases/generate_databases.f90:252
#4  0x00000000004026a0 in xgenerate_databases () at 
src/generate_databases/program_generate_databases.f90:34
#5  main (argc=argc at entry=1, argv=0x7fffffffea06) at 
src/generate_databases/program_generate_databases.f90:39

Le 2016-10-25 16:28, houssen a écrit :
> Hello,
>
> I am new to specfem3d. Is it possible to run the test
> EXAMPLES/meshfem3D_examples/simple_model from specfem (git clone) 
> with
> CPML ? If yes how ?
> I tried to play over different parameters in Mesh_Par_file and
> Par_file without success (in particular adding CPML_CONDITIONS 
> keyword
> in Mesh_Par_file - this didn't work).
>
> I git-cloned https://github.com/geodynamics/specfem3d.git (master). I
> am running debian with gnu compilers on a laptop.
>
> Thanks
>
> Franck



More information about the CIG-SEISMO mailing list