compile error when linked with HDF5

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

compile error when linked with HDF5

Elena Pourmal
Jung,

  It looks like mpic+ cannot find some Intel compiler libraries.

How did you build HDF5? Which compiler did you
use? Which compiler was used to build MPI on your
system?

Elena

At 4:33 PM +0900 6/8/07, Jung, Soon-wook wrote:

>Dear all users and developers
>
>Hello?
>Currently I'm trying to compile a program
>(called XOOPIC - for plasma particle simulation)
>in conjunction with HDF5.
>When not linked with HDF5, no errors popped up and everything worked well.
>However, once if linked with HDF5, a bunch of
>unknown errors listed on a screen and I don't
>know how to fix it.
>Can anyone please help me? I'll really appreciate it.
>
>Jung, Soon-Wook
>
>
>  * hdf5 is installed at /home/jooilyoon/hdf5/hdf5
>* hdf5 library at /home/jooilyoon/hdf5/hdf5/lib
>
>- compile command -
>
>mpic++  -Wall -Wno-unused  -g -DDEBUG   -DUNIX
>-DMPI_VERSION      -o xoopic  main.o xgmain.o
>-L../otools -lotools -L../advisor -ladvisor
>-L../physics -lphysics -lotools -ladvisor
>-L/home/jooilyoon/hdf5/hdf5/lib -lhdf5
>-Wl,-rpath,/home/jooilyoon/hdf5/hdf5/lib
>-L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4
>-L/usr/local/xgrafix/lib
>-Wl,-rpath,/usr/local/xgrafix/lib -lXGC250
>-L/usr/X11R6/lib64 -Wl,-rpath,/usr/X11R6/lib64
>-lXpm   -ldl -L/usr/lib  -lz -Wl,-rpath,/usr/lib
>-lm
>
>
>- error message-
>
>/home/jooilyoon/hdf5/hdf5/lib/libhdf5.a(H5.o)(.text+0x6050):
>In function `H5_init_library':
>: undefined reference to `_intel_fast_memset'
>/home/jooilyoon/hdf5/hdf5/lib/libhdf5.a(H5A.o)(.text+0x9df):
>In function `H5A_write':
>: undefined reference to `_intel_fast_memcpy'
>/home/jooilyoon/hdf5/hdf5/lib/libhdf5.a(H5A.o)(.text+0xa9b):
>In function `H5A_write':
>: undefined reference to `_intel_fast_memcpy'
>/home/jooilyoon/hdf5/hdf5/lib/libhdf5.a(H5A.o)(.text+0x1990):
>In function `H5A_read':
>: undefined reference to `_intel_fast_memset'
>/home/jooilyoon/hdf5/hdf5/lib/libhdf5.a(H5A.o)(.text+0x1a84):
>In function `H5A_read':
>: undefined reference to `_intel_fast_memcpy'
>????.
>???..
>??..  (about a few tens of same sort of errors followed)
>
>collect2: ld returned 1 exit status
>mpic++: No such file or directory
>make[2]: *** [xoopic] Error 1
>make[2]: Leaving directory `/home/jooilyoon/xoopic/xg'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/jooilyoon/xoopic'
>make: *** [all] Error 2


--

------------------------------------------------------------
Elena Pourmal
The HDF Group
1901 So First ST.
Suite C-2
Champaign, IL 61820

epourmal at hdfgroup.org
(217)333-0238 (office)
(217)333-9049 (fax)
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/attachments/20070608/29b86f8b/attachment.html>

Loading...