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.
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.
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
-----------------------------------------
Received on 2005-10-15 04:33:43