OK, I understand.
I did find this, which is probably a good thing to use. It includes the
correct detection mechanism for Solaris as well.
Regards,
Elias
On 4 April 2014 22:50, Juergen Sauermann wrote:
> Hi,
>
> maybe later if the stuff is more stable. The autoconf checks are
> already there,
Oops, forgot the link:
http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_openmp.m4
Regards,
Elias
On 4 April 2014 22:53, Elias Mårtenson wrote:
> OK, I understand.
>
> I did find this, which is probably a good thing to use. It includes the
> correct detection mech
Hi,
maybe later if the stuff is more stable. The autoconf checks are
already there, its just a matter of changing the default later on.
/// Jürgen
On 04/04/2014 04:31 PM, Elias Mårtenson wrote:
Wouldn't it make sense to check for OMP and enable it if it's found?
I'm currently looking into aut
Wouldn't it make sense to check for OMP and enable it if it's found? I'm
currently looking into autoconf to figure out a way to do this. Are you
willing to take the patch if I do that?
Regards,
Elias
On 4 April 2014 22:30, Juergen Sauermann wrote:
> Hi Elias,
>
> if you ./configure nothing the
Hi Elias,
if you ./configure nothing then MULTICORE will be #undef'ed and that
means OMP will be disabled. This is the default for backward compatibility
so that GNU APL still compiles even if you don't have OMP installed.
For the behavior that you expect below,
.,/configure CORE_COUNT_WANT
Cool, thanks for this!
Can you clarify one thing: If you don't specify anything on the command
line, and also not specify anything at runtime, what will the default be?
Casually, I'd expect it to be set to OMP enabled, with the core count = the
number of cores on the machine.
Regards,
Elias
On
Hi,
I have added a few functions to support multi-core/open MP programming
for GNU APL, (see SVN 184.
1. ./configure
You can now ./configure static and dynamic core counts:
./configure CORE_COUNT_WANTED=N with N>0
static maximum core count. Will
#define MULTICORE 1
#define STATIC_CORE_COUNT