[SCore-users] Omni OpenMP linker error : atomic_dec, atomic_inc

Joseph Antony joseph_antony at yahoo.com
Tue Sep 16 16:34:40 JST 2003


Hello all,
I've been trying to get the Omni OpenMP compiler to
work on our cluster.

I found the following compilation error and am
wondering how it could be resolved?

Thanks,
Joseph

PS I found a link to the Japanese section of the
mailing list, but was unable to follow - 
http://www.pccluster.org/pipermail/score-users-jp/2002-December/001004.html

-----------------
Problem - 
[user at master laplace.omp]$ omcc -omniconfig=scash -o
laplace_omp laplace_omp.c second.c -lm
Compiling 'laplace_omp.c'...
Compiling 'second.c'...
/home/user/openmp_gcc_scash/lib/openmp/gcc/lib/openmp/lib/libompc_sm.a(ompsm_scash.o):
In function `_ompsm_scash_lib_in':
ompsm_scash.o(.text+0x129b): undefined reference to
`atomic_inc'
/home/user/openmp_gcc_scash/lib/openmp/gcc/lib/openmp/lib/libompc_sm.a(ompsm_scash.o):
In function `_ompsm_scash_lib_out':
ompsm_scash.o(.text+0x12c0): undefined reference to
`atomic_dec'
ompsm_scash.o(.text+0x1303): undefined reference to
`atomic_inc'
collect2: ld returned 1 exit status
Error 1


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the SCore-users mailing list