Skip to content

Toggle F function disabled error only for GPU code #404

@agoetz

Description

@agoetz

By default f functions for GPUs are disabled. Enabling f functions requires setting -DENABLEF=TRUE when running cmake. The code quits with an appropriate error message when encountering a basis set with f functions while f functions have not been enabled. This is correct behavior for the GPU code path.

For CPU code, however, F functions are always enabled. The code should not quit when encountering F functions in the CPU code path.

Following code in basis.f90 should be protected with #if defined(GPU)

#ifndef ENABLEF
   if(quick_method%hasF) then
       ierr=36
       return
   endif
#endif

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions