[CIG-SEISMO] Error executing specfem3d with CUDA / GeForce GT 730

Daniel B. Peter daniel.peter at kaust.edu.sa
Thu May 3 15:14:52 PDT 2018


hi Leandro,

how did you compile SPECFEM3D?

the GT 730 comes in two chip flavors, not sure which one you will have. one of them supports CUDA compute capability 3.5 (Kepler). to try that out, use something like:

./configure --with-cuda=cuda5 CUDA_FLAGS=.. CUDA_LIB=.. CUDA_INC=.. MPI_INC=..

best wishes,
daniel


> On May 3, 2018, at 11:24 PM, Leandro Gazoni <lgazoni at gmail.com> wrote:
>
> Hello Dimitri,
>
> Many thanks for the reply! The first thing I imagined would be to run a simple problem, so I chose the simple model. I modified it so that it could generate a small mesh and could run on a GPU like the GeForce GT 730.
>
> I believe the problem is small, but I do not know the reasons for the message about the architecture of the board (sm _....). I await and appreciate the response from the experts.
>
>
> Thank you,
> Best regards,
> Leandro Gazoni
>
> 2018-05-03 16:05 GMT-03:00 Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>:
>
> Hi Leandro,
>
> Thanks for your message. I do not see any reason why a GeForce GT 730 64bit card could not be used, but I am not an expert, thus let me cc four experts.
>
> Could it be that the example is big and thus you are running out of memory?
>
> Thank you,
> Best regards,
> Dimitri.
>
>
> On 05/03/2018 04:17 PM, Leandro Gazoni wrote:
> Hello everyone,
>
> My name is Leandro Gazoni, I am a Phd student in computational mechanics in Federal University of Rio de Janeiro / Brazil. I have done some studies on using SprecFem3d I was able to compile, run and modify some examples using MPI.
>
> I would like to test the same problems with cuda but I have had problems running the example: (/ EXAMPLES / meshfem3D_examples / simple_model) with a GPU: GeForce GT 730, 64bit card. Is it possible to run tests with this board?
>
> I can compile specfem3d without problems with ./configure --with-cuda, but when running the example I have the following error:
>
> born @ jobi: ~ / Downloads / specfem3d / EXAMPLES / meshfem3D_examples / simple_model $ ./run_this_example.sh
> running example: Thu May 3 05:06:59 -03 2018
>
>     setting up example ...
>
>     running mesher ...
>
>     running database generation ...
>
>     running solver ...
>
> Error in setConst_hprime_xx: invalid device symbol
> The problem is maybe -arch sm_13 instead of -arch sm_11 in the Makefile, please doublecheck
>
>
> Regards,
> Leandro Gazoni
>
> ==============
> ParFile
> ==============
> # number of MPI processors
> NPROC                           = 1
>
> # time step parameters
> NSTEP                       = 10000
> DT                              = 0.01
>
> GPU_MODE                        = .true.
>
>
> ==============
> Mesh Parfile
> ==============
> # number of elements at the surface along edges of the mesh at the surface
> # (must be 8 * multiple of NPROC below if mesh is not regular and contains mesh doublings)
> # (must be multiple of NPROC below if mesh is regular)
> NEX_XI                          = 32
> NEX_ETA                         = 32
>
> # number of MPI processors along xi and eta (can be different)
> NPROC_XI                        = 1
> NPROC_ETA                     = 1
>
> # number of regions
> NREGIONS                        = 4
> # define the different regions of the model as :
> #NEX_XI_BEGIN  #NEX_XI_END  #NEX_ETA_BEGIN  #NEX_ETA_END  #NZ_BEGIN #NZ_END  #material_id
> 1              32            1               32             1         4         1
> 1              32            1               32             5         5         2
> 1              32            1               32             6          15       3
> 14             25            7               19             7          10       4
>
>
>
>
>
> _______________________________________________
> 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, Marseille, France
> http://komatitsch.free.fr
>


________________________________
This message and its contents including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.


More information about the CIG-SEISMO mailing list