Dear experts, I installed LAMMPS with a GPU accelerator on my machine. I used Opencl API and the installation was successful. But when I run my simulation an error occurs and is pasted below.
OpenCL error in file '/home/user/softwares/lammps-23Jun2022/lib/gpu/geryon/ocl_kernel.h' in line 467 : -4.
I am pasting the output for ocl_get_devices
and ./lmp -h
below:
Found 1 platform(s).
Platform 0:
Device 0: "NVIDIA GeForce GT 730"
Type of device: GPU
Supported OpenCL Version: 3.0
Is a subdevice: No
Double precision support: Yes
Total amount of global memory: 1.95227 GB
Number of compute units/multiprocessors: 2
Total amount of constant memory: 65536 bytes
Total amount of local/shared memory per block: 49152 bytes
Maximum group size (# of threads per block) 1024
Maximum item sizes (# threads for each dim) 1024 x 1024 x 64
Clock rate: 0.705 GHz
ECC support: No
Device fission into equal partitions: No
Device fission by counts: No
Device fission by affinity: No
Maximum subdevices from fission: 1
Shared memory system: No
Subgroup support: No
Shuffle support: Yes
lmp -h ::
OS: Linux "Ubuntu 20.04.4 LTS" 5.15.0-56-generic x86_64
Compiler: GNU C++ 9.4.0 with OpenMP 4.5
C++ standard: C++11
MPI v3.1: MPICH Version: 3.3.2
MPICH Release date: Tue Nov 12 21:23:16 CST 2019
MPICH ABI: 13:8:1
Accelerator configuration:
GPU package API: OpenCL
GPU package precision: mixed
OPENMP package API: OpenMP
OPENMP package precision: double
Compatible GPU present: yes