[Librsb-users] librsb on FreeBSD
A shared memory parallel sparse matrix library including Sparse BLAS.
Brought to you by:
michelemartone
From: Montgomery-Smith, S. <st...@mi...> - 2016-09-14 01:14:29
|
I just got an email from Michele Martone invting me to this mailing list. I wrote some FreeBSD ports: https://www.freshports.org/math/librsb/ https://www.freshports.org/math/octave-forge-sparsersb/ The main issue I have with installing librsb on FreeBSD is setting the variable RSB_USER_SET_MEM_HIERARCHY_INFO. I have a rather cryptic message to the port builder that says: This port needs information about the memory cache system before building. You can set this in the variable RSB_USER_SET_MEM_HIERARCHY_INFO, for example make RSB_USER_SET_MEM_HIERARCHY_INFO="L2:12/64/3M,L1:64/8/32K" Finding these values is tricky, but the following steps will help: 1. read the README file in the source code 2. build the port misc/cpuid 3. run the program cpuid You are on your own in figuring out how to convert the information from the program cpuid to the value of RSB_USER_SET_MEM_HIERARCHY_INFO. I found it quite hard to convert the info from the program cpuid to some reasonable cache values. This was quite a while ago, but I think it involved a lot of using google. If anyone is interested in making this process more automated, I'll happily send you a sample output from cpuid, and any other help I can provide. Thanks, Stephen |