Anyway, here's how to set up the ACML libs on debian.
ACML
Download both the 'regular' and the int64 gfortran packages from AMD:
http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/#download
tar xvf acml-5-3-1-gfortran-64bit-int64.tgz tar xvf acml-5-3-1-gfortran-64bit.tgz sh install-acml-5-3-1-gfortran-64bit-int64.shYou'll get something like this:Where do you want to install ACML? Press return to use the default location (/opt/acml5.3.1), or enter an alternative path. The directory will be created if it does not already exist. > /opt/acml/acml5.3.1sh install-acml-5-3-1-gfortran-64bit.shWhere do you want to install ACML? Press return to use the default location (/opt/acml5.3.1), or enter an alternative path. The directory will be created if it does not already exist. > /opt/acml/acml5.3.1
/opt/acml/acml5.3.1 |-- Doc |-- gfortran64 |-- gfortran64_fma4 |-- gfortran64_fma4_int64 |-- gfortran64_fma4_mp |-- gfortran64_fma4_mp_int64 |-- gfortran64_int64 |-- gfortran64_mp |-- gfortran64_mp_int64 `-- util
where
* fma4 is for cpus with FMA4 support (use util/cpuid to check)
* int64 is for double-precision float (integer*8) I think
* mp is for openmp. For MPI do not use the _mp_ libraries!
Pick your library/ies and add them to the LD_LIBRARY_PATH, e.g.:
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/acml/acml5.3.1/gfortran64_int64/lib' >> ~/.bashrc source ~/.bashrc
No comments:
Post a Comment