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 \
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?
Could you post your backtrace that you mention? I don't know what routines you are calling.
Do you have other compilers you could try, like gfortran or ifort?