Re: Gadget2 _at_ HP-UX ia64?

From: Xianfeng Ye <xfye_at_mail.ustc.edu.cn>
Date: Fri, 21 Oct 2005 08:38:14 +0800

Dear Volker,

    Thanks you very much!
    It works!

    Yes, you are right. That's not the gnu-Make, it's HP-UX's type.

Cheers,


Xianfeng, Ye
Oct, 21, 2005


在您的来信中曾经提到:
>From: Volker Springel <volker_at_MPA-Garching.MPG.DE>
>Reply-To: Gadget General Discussion <gadget-list_at_MPA-Garching.MPG.DE>
>To: Gadget General Discussion <gadget-list_at_MPA-Garching.MPG.DE>
>Subject: Re: [gadget-list] Gadget2 _at_ HP-UX ia64?
>Date:Thu, 20 Oct 2005 17:47:06 +0200
>
>
> Xianfeng Ye wrote:
> > Dear all,
> > I tried Gadget2 at our coma cluster(Beowulf system, Debian testing /
> > i386)successfully with HDF5 support.
> > Now, I want to run Gadget2 at HP-UX ia64(super dome), it returns error
with
> > some problems.
> > 1)first, I install gsl:
> >
> > $ setenv CFLAGS "+O2 +DD64"
> > $ setenv CPPFLAGS "+O2 +DD64"
> > $ ./configure --prefix=/home/cfa/xfye/gsl
> > --enable-shared --enable-static
> >
> > $ make; make install
> > That's OK.
> > 2)Then I install fftw:
> > $ setenv CFLAGS "+O2 +DD64"
> > $ setenv CPPFLAGS "+O2 +DD64"
> > $ setenv FFLAGS "+O2 +DD64"
> > $ ./configure --prefix=/home/cfa/xfye/fftw
> > --enable-shared
> > --enable-mpi
> > --enable-threads
> > $ make; make install.
> > That's OK too.
> > 3) to compile Gadget2:
> > $ make -f lcdm_gas.Makefile
> > Make: Must be a separator on rules line 12. Stop.
>
> presumably you don't use GNU-make, but the make the comes with HP's unix...
>
> > Then I compile it by hand:
> > $ mpicc -DPERIODIC -DPEANOHILBERT -DWALLCLOCK
> > -DPMGRID=256
> > -DSYNCHRONIZATION +O2 +DD64 -lm
> > -I/home/cfa/xfye/gsl/include
> > -L/home/cfa/xfye/gsl/lib
> > -I/home/cfa/xfye/fftw/include
> > -L/home/cfa/xfye/fftw/lib
> > *.c
> > It returns errrors as follows:
> >
> > ld: Unsatisfied symbol "gsl_integration_qag" in file driftfac.o
> > ld: Unsatisfied symbol "gsl_rng_state" in file restart.o
> > ld: Unsatisfied symbol "gsl_rng_size" in file restart.o
> > ld: Unsatisfied symbol "gsl_integration_workspace_free" in file
driftfac.o
> > ld: Unsatisfied symbol "rfftwnd_mpi_local_sizes" in file
pm_nonperiodic.o
> > ld: Unsatisfied symbol "gsl_rng_ranlxd1" in file begrun.o
> > ld: Unsatisfied symbol "gsl_rng_alloc" in file begrun.o
> > ld: Unsatisfied symbol "rfftw3d_mpi_create_plan" in file
pm_nonperiodic.o
> > ld: Unsatisfied symbol "rfftwnd_mpi" in file pm_nonperiodic.o
> > ld: Unsatisfied symbol "gsl_integration_workspace_alloc" in file
driftfac.o
> > ld: Unsatisfied symbol "gsl_rng_uniform" in file system.o
> > ld: Unsatisfied symbol "gsl_rng_set" in file begrun.o
> >
> > 12 errors.
> >
>
> You haven't specified the GSL and FFTW libaries in the link command.
>
> Adding "-lgsl -lgslcblas -lrfftw_mpi -lfftw_mpi -lrfftw -lfftw" may help.
>
> -Volker
>
>
>
> > 4) Then I re-install gsl with additional option "--with-gnu-ld".
> > 12 errors happen again.
> >
> > I don't know why. May you give me some advice or suggestion?
> >
> > Thanks in advance,
> >
> > Sincerely,
> >
> > Xianfeng Ye
> > Oct, 15, 2005
> >
> > --
> > =========================================
> > | Xianfeng Ye
> > | Center for Astrophysics
> > | Univ. of Sci. & Tech. of China
> > | Hefei, Anhui 230026
> > -----------------------------------------
> >
> >
> >
> >
> > -----------------------------------------------------------
> >
> > If you wish to unsubscribe from this mailing, send mail to
> > minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> > A web-archive of this mailing list is available here:
> > http://www.mpa-garching.mpg.de/gadget/gadget-list
>
>
>
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list
>
Received on 2005-10-21 02:38:24

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:30 CET