amd / amd-fftw

FFTW code optimized for AMD based processors
GNU General Public License v2.0
48 stars 12 forks source link

Trying to mkdir -p /include #6

Closed chrisreidy closed 3 years ago

chrisreidy commented 3 years ago

The build is going nicely through "Making install in api" section, and then this: /usr/bin/mkdir -p '/include' /usr/bin/mkdir: cannot create directory ‘/include’: Permission denied. Is there an unwanted / ?

My options are: ./configure --prefix=${InstallRoot} --enable-sse2 --enable-avx --enable-avx2 --enable-mpi --enable-openmp --enable-shared --enable-amd-opt --enable-amd-mpifft

BiplabRaut commented 3 years ago

Hi, It seems the problem is due to the value of ${InstallRoot}. Could you please check what is its value? Is the value of ${InstallRoot} NULL? The command "make install" would fail if ${InstallRoot} is set to a path for which the user does not have permission.

Thanks, S. Biplab Raut

chrisreidy commented 3 years ago

My install script uses the variable to simplify references to the install location, but other parts of this build don't pick that up so changing to the absolute path worked. /usr/bin/mkdir -p '/opt/ohpc/pub/apps/aocl-fftw/2.2/include' Thanks