Hello.
Some quantum chemistry programs I use (e.g. NWChem) rely on lapack and/or blas routines in which all fortran integers are promoted to long ints. Vendor libraries are usually available in such a flavour (i.e. acml and mkl are). This is necessary to be able to support large indices for some arrays. While it's trivial to obtain this for the fortran interfaces of magma (e.g. by setting the gfortran flag -i8 or the equivalent with other compilers) and for C/C++ code meant for the CPU, it's not apparent (to a CUDA newbie as me) if this can be achieved as easily for the code to be executed on the gpu and, in case, what should be the appropriate nvcc flags.
Could you magma developers please either provide an example of make.inc file to obtain this or explain if/how this can be achieved? What I need is just blas (and possibly lapack) fortran interfaces in which all integers are 64 bits.
Thanks in advance
Giacomo Mulas
