Force single Precision Calculation for Cuda

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
Dominic
Posts: 18
Joined: Mon Jan 21, 2013 4:34 pm

Force single Precision Calculation for Cuda

Post by Dominic » Thu Jan 05, 2017 8:51 am

Hi, I would like to use the single precision calculation for GPU in Abinit, however, I get an error running with

Code: Select all

use_gpu_cuda


This is the error Message

Code: Select all

--- !ERROR
src_file: invars0.F90
src_line: 431
mpi_rank: 0
message: |
    Input variables use_gpu_cuda is on but abinit hasn't been built
       with (double precision) gpu mode enabled !
       Action : change the input variable use_gpu_cuda
                or re-compile ABINIT with double-precision Cuda enabled.


Can somebody help me force single precision?

Locked