[parsec-users] Parsec compilation prolem on SGI Altix

Christian Bienia cbienia at CS.Princeton.EDU
Tue Mar 25 18:15:09 EDT 2008


Hello Mahin,

Those are Image Magick functions which cannot be found by the linker. Image 
Magick is included in the PARSEC distribution (directory 
${PARSECDIR}/pkgs/libs/imagick). It might not have been built correctly or 
the link order is incorrect for some reason.

- Chris



On Tuesday 25 March 2008 03:19 pm, Mahin Mahmoodi wrote:
> Hi,
>
>
>
> I am building parsec on an SGI Altix system with Linux OS.  The compilation
> breaks with undefined references (as shown below).  I appreciate any idea
> in detecting the errors.
>
>
>
> Thank you,
>
> Mahin
>
>
>
> ===================================
>
>  uname -a
> Linux . i686 i386 GNU/Linux
>
>
>
> make --version
> GNU Make 3.80
>
>
>
> cc --version
> cc (GCC) 4.1.2 20070115 (prerelease) (SUSE Linux)
>
>
>
> %parsecmgmt -a build
>
>
>
> ..........
>
> CC
> '/usr/users/1/mahmoodi/parsec-1.0/pkgs/apps/ferret/obj/ia64-linux.gcc/image
>/ edge.c' ==>
> '/usr/users/1/mahmoodi/parsec-1.0/pkgs/apps/ferret/obj/ia64-linux.gcc/parse
>c /obj/edge.o'
>    CC
> '/usr/users/1/mahmoodi/parsec-1.0/pkgs/apps/ferret/obj/ia64-linux.gcc/image
>/ srm.c' ==>
> '/usr/users/1/mahmoodi/parsec-1.0/pkgs/apps/ferret/obj/ia64-linux.gcc/parse
>c /obj/srm.o'
>    A
> '/usr/users/1/mahmoodi/parsec-1.0/pkgs/apps/ferret/obj/ia64-linux.gcc/parse
>c /lib/libcassimage.a'
>    CXX
> '/usr/users/1/mahmoodi/parsec-1.0/pkgs/apps/ferret/obj/ia64-linux.gcc/parse
>c /obj/ferret-parallel.o' ==>
> '/usr/users/1/mahmoodi/parsec-1.0/pkgs/apps/ferret/obj/ia64-linux.gcc/parse
>c /bin/ferret-parallel'
> /usr/users/1/mahmoodi/parsec-1.0/pkgs/apps/ferret/obj/ia64-linux.gcc/parsec
>/ lib/libcassimage.a(image.o): In function `image_read_rgb_hsv':
> image.c:(.text+0x22): undefined reference to `AcquireExceptionInfo'
> image.c:(.text+0x42): undefined reference to `AcquireImageInfo'
> .......................
>
> .......................
>
> image.c:(.text+0x1272): undefined reference to `AcquireImageInfo'
> collect2: ld returned 1 exit status
> make: ***
> [/usr/users/1/mahmoodi/parsec-1.0/pkgs/apps/ferret/obj/ia64-linux.gcc/parse
>c /bin/ferret-parallel] Error 1
> [PARSEC] Error: 'env version=parallel CFLAGS=-O3 -funroll-loops
> -fprefetch-loop-arrays -DPARSEC_VERSION=1.0
> -I/usr/users/1/mahmoodi/parsec-1.0/./pkgs/libs/gsl/inst/ia64-linux.gcc/incl
>u de
> -I/usr/users/1/mahmoodi/parsec-1.0/./pkgs/libs/imagick/inst/ia64-linux.gcc/
>i nclude LDFLAGS=-L/usr/lib64 -L/usr/lib
> -L/usr/users/1/mahmoodi/parsec-1.0/./pkgs/libs/gsl/inst/ia64-linux.gcc/lib
> -L/usr/users/1/mahmoodi/parsec-1.0/./pkgs/libs/imagick/inst/ia64-linux.gcc/
>l ib make' failed.



More information about the parsec-users mailing list