Error using CFFT1D

Discussion created by sudy on Feb 15, 2011
Latest reply on Feb 24, 2011 by chipf

Hello all.

I have a Fortran code which my lab recived from another lab. It uses ACML for its Fourier transform calculations. When the CFF1TD function is called using


call cfft1d(-2,n0/scat_step,wsc,comm,stat)


an error is recived

 ** ACML error: on entry to CFFT1D parameter number  1 had an illegal value


I have not found any reference for such an error on the web so i am posting this reauest for help here.


The code was compiled using

FLAGS = -march=native -m64 -O2 -funroll-all-loops -lacml -lgoto2 -lpthread -lfftw3 -fPIC

gfortran -L/usr/local/lib ${FLAGS}   -ffree-form -o mdp4 mdp4.f


/usr/local/lib/ is where the acml lib files are installed.



Hope someone here can help.