1 Reply Latest reply on Dec 11, 2013 10:37 AM by kknox

    how to solve pgi - acml shared mem multi thread problem?

    rshuismans

      hello,

       

      i am linking to the acm libraries using pgf90 on a 64 core shared memory linux system.

      it appears that the binary is not thread save and keeps crashing when OMP_NUM_THREADS > 1

       

      i am using:

      FLAGS = -c -fast -mp -Mcache_align -tp sandybridge-64 -Mipa=fast,inline

      -L/opt/acml5.3.1-pgi/pgi64_mp/lib -lacml_mp \

      -lpthread

       

      the application is build with openmpi f90 wrappers build with pgi compilers.

      LD_LIBRARY_PATH is set correctly.

       

      the trace back indicates a failure in omp libraries.

      do you have a suggestion how to fix this?

       

      thanks,

      Ritske