Hello Victor,

> I’m trying to install Cactus, using the Intel compiler and MKL for
> blas/lapack. With the intel compiler it is enough to add the “-mkl”
> flag to get blas/lapack. However, Cactus somehow needs to be told
> that that is provided.
> 
> Can someone dictate me the steps? I’m an absolute novice at Cactus so
> please be explicit.
> 
> (I’ve done a good amount of googling and I’m not finding this
> information. The word “blas” does not appear in the users /
> reference / maint guide, for as far as I can see.)
Sure :-). First place to look are some of the simfactory option lists
for machines that offer mkl (at least that is what I had to do since
it is a bit arkane). Then (from
https://bitbucket.org/simfactory/simfactory2/src/06f687ebb0ae11f3e0ac37999a1d7ac43bb02c49/mdb/optionlists/comet.cfg?at=master&fileviewer=file-view-default):

BLAS_DIR  = NO_BUILD
BLAS_LIBS = -mkl

OPENBLAS_DIR  = NO_BUILD
OPENBLAS_LIBS = -mkl

in your options, passed either via

make sim options=options.cfg 

when using pure Cactus or via

simfactory/bin/build sim --optionlist options.cfg

when using simfactory. You must make sure to have the OpenBLAS and BLAS
ExternalLibraries in your thornlist (OpenBLAS provides LAPACK dispite
the name and really only servers as a placeholder for mkl in this case).

Yours,
Roland

-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .

Attachment: pgpK351K8wZfQ.pgp
Description: OpenPGP digital signature

_______________________________________________
Users mailing list
[email protected]
http://cactuscode.org/mailman/listinfo/users

Reply via email to