OpenMP Thread Affinity using interposer

I am developing an interposer library for OpenMP thread-affinity so that I do not have to add affinity code in source file. I interpose pthread_create() and set the affinity attribute by calling pthread_attr_setaffinity_np(). OpenMP runtime seems to overwrite/ignore affinity set by attribute. 

Difficulty with launching Fortran app in OS X

I posted this before a few days ago but have received no replies.

Previously I developed a pretty simple Fortran in Xcode and ran it without any real problems (OS X 10.10) as command line. Now it will build but not launch. I have upgraded to Xcode 7.1.1 but no difference. I have upgraded the compiler to the 2016 version .Although I have not tried it before i have t just run the compiler from the command line and get this result.

Macintosh:~ dicklerski$ ifort gelst5.f

Undefined symbols for architecture x86_64:

  "_ts2932_", referenced from:

Fortran abonnieren