In the 3.8.4 version the number of threads were scaled down if atlas was executed on a machine with less cores than the machine where it was compiled on.
However with 3.10.0, it seems to use a fixed number and it fails if the number of processors is not equal to or less than where it was compiled on. (more cores seems to work fine)
assertion !pthread_create(&thr->thrH, &attr, rout, arg) failed, line 111 of file /ATLAS/gnu/..//src/threads/ATL_thread_start.c
I guess one can argue that this is due to performance reasons, but well... I think I would like to be able to run my test programs with the same library on a different machine if I am not doing an actual production run.
Also, it would be nice if ATLAS could use an environment variable to control the actual number of threads it uses, similarly to OpenMP's omp_num_threads.
Log in to post a comment.