Build Code Saturne using ACML as BLAS source
Posted: Wed Mar 21, 2012 9:28 pm
I have been working through the manual installation of Code Saturne 2.0.4 with Syrthes 4.0.0-beta on our HP Blade cluster with Centos 5.2 and Lustre 1.8, using Intel 11.1-059 compiler suite. All modules of CS including ncs have been compiled and installed, but I have been unable to use our ACML installation to add BLAS support. This is the only BLAS source available on this cluster and it works well with other programs which call BLAS.
The libraries for ACML are in /<TOP>/acml/4.4.0/ifort64_mp_int64/lib:
libacml_mp.a, libacml_mv.a, libcblas.a, libifcoremt_pic.a, libimf.a, libiomp5.a, libirc.a, libsvml.a
The includes are in /<TOP>/acml/4.4.0/ifort64_mp_int64/include:
acml.h, acml_mv.h, acml_mv_m128.h
I can easily add these into the configure command for NCS, but since ACML is not recognized as a BLAS type, the file names are not recognized. In particular, the configure script looks for a file called "cblas.h" which we do not have, so it fails at that point.
Can someone explain the proper way to link ACML into Code Saturne?
Thanks, Ed
The libraries for ACML are in /<TOP>/acml/4.4.0/ifort64_mp_int64/lib:
libacml_mp.a, libacml_mv.a, libcblas.a, libifcoremt_pic.a, libimf.a, libiomp5.a, libirc.a, libsvml.a
The includes are in /<TOP>/acml/4.4.0/ifort64_mp_int64/include:
acml.h, acml_mv.h, acml_mv_m128.h
I can easily add these into the configure command for NCS, but since ACML is not recognized as a BLAS type, the file names are not recognized. In particular, the configure script looks for a file called "cblas.h" which we do not have, so it fails at that point.
Can someone explain the proper way to link ACML into Code Saturne?
Thanks, Ed