Posts Tagged ‘suncc’

suncc with UPC NPB

January 18, 2010

When I was trying to compile NAS Parallel Benchmark for Unified Parallel C with SUN C compiler from Sun Ceres Studio IDE 9.0 Linux_i386 2009/03/06. I got dozens of errors like:

“/opt/bupc-runtime-2.10.0/opt/include/upcr_atomic.h”, line 782: warning: result of paste undefined and not portable: 32_ (E_PASTE_RESULT_NOT_TOKEN)
“/opt/bupc-runtime-2.10.0/opt/include/upcr_atomic.h”, line 782: warning: result of paste undefined and not portable: 32_fetchadd (E_PASTE_RESULT_NOT_TOKEN)

I have no idea where they come from but you can get patch from here.