Linking problem
Posted: Fri Apr 15, 2011 4:58 pm
Hi
I am new user of yambo. I am using the last version of Quantum Espresso 4.3 and I tried to compile yambo-3.2.3-rev.11; I strated with:
./configure --with-iotk="/homes/1/azadi/ESP-4.3/espresso-4.3/iotk" --with-p2y=4.0
and the end of my configuration is:
#
# [VER] 3.2.3 r.676
#
# [SYS] linux@x86_64
# [SRC] /homes/1/azadi/ESP-4.3/espresso-4.3/yambo-3.2.3-rev.11
# [BIN] /homes/1/azadi/ESP-4.3/espresso-4.3/yambo-3.2.3-rev.11/bin
# [FFT] Goedecker Fast Fourier transform with 0 cache
#
# [ ] Double precision
# [X] Redundant compilation
# [X] MPI
# [X] PW (4.0) support
# [ ] ETSF I/O support
# [ ] SCALAPACK
# [ ] LibXC
# [ ] NETCDF/Large Files
# [XX ] Built-in BLAS/LAPACK/LOCAL
#
# [ CPP ] mpicc -E -ansi
# [ C ] mpicc -g -O2 -D_C_US -D_FORTRAN_US
# [MPICC] mpicc -g -O2 -D_C_US -D_FORTRAN_US
# [ F90 ] mpif77 -O
# [MPIF ] mpif90 -O
# [ F77 ] mpif77 -O
# [Cmain]
# [NoOpt] -O0
#
# [ MAKE ] make
# [EDITOR] vim
#
But in the compiling process of 'Linking yambo', it stops with this message:
driver.o: In function `main':
/homes/1/azadi/ESP-4.3/espresso-4.3/yambo-3.2.3-rev.11/driver/driver.c:101: multiple definition of `main'
/usr/local/intel/suse_es10_64/11.0/083/lib/intel64/for_main.o:/export/users/nbtester/efi2linux_nightly/branch-11_0/20090319_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x0): first defined here
ld: Warning: size of symbol `main' changed from 80 in /usr/local/intel/suse_es10_64/11.0/083/lib/intel64/for_main.o to 4048 in driver.o
/usr/local/intel/suse_es10_64/11.0/083/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
/usr/local/intel/suse_es10_64/11.0/083/lib/intel64/for_main.o: In function `main':
/export/users/nbtester/efi2linux_nightly/branch-11_0/20090319_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x38): undefined reference to `MAIN__'
would you help me to solve this problem?
Thanks in advance.
******************************************
Sam Azadi
Institute of Physical Chemistry and
Center for Computational Sciences
Johannes Gutenberg University Mainz
Staudinger Weg 9
D-55128 Mainz
Germany
azadi@uni-mainz.de
+49/(0)6131/39-26844
I am new user of yambo. I am using the last version of Quantum Espresso 4.3 and I tried to compile yambo-3.2.3-rev.11; I strated with:
./configure --with-iotk="/homes/1/azadi/ESP-4.3/espresso-4.3/iotk" --with-p2y=4.0
and the end of my configuration is:
#
# [VER] 3.2.3 r.676
#
# [SYS] linux@x86_64
# [SRC] /homes/1/azadi/ESP-4.3/espresso-4.3/yambo-3.2.3-rev.11
# [BIN] /homes/1/azadi/ESP-4.3/espresso-4.3/yambo-3.2.3-rev.11/bin
# [FFT] Goedecker Fast Fourier transform with 0 cache
#
# [ ] Double precision
# [X] Redundant compilation
# [X] MPI
# [X] PW (4.0) support
# [ ] ETSF I/O support
# [ ] SCALAPACK
# [ ] LibXC
# [ ] NETCDF/Large Files
# [XX ] Built-in BLAS/LAPACK/LOCAL
#
# [ CPP ] mpicc -E -ansi
# [ C ] mpicc -g -O2 -D_C_US -D_FORTRAN_US
# [MPICC] mpicc -g -O2 -D_C_US -D_FORTRAN_US
# [ F90 ] mpif77 -O
# [MPIF ] mpif90 -O
# [ F77 ] mpif77 -O
# [Cmain]
# [NoOpt] -O0
#
# [ MAKE ] make
# [EDITOR] vim
#
But in the compiling process of 'Linking yambo', it stops with this message:
driver.o: In function `main':
/homes/1/azadi/ESP-4.3/espresso-4.3/yambo-3.2.3-rev.11/driver/driver.c:101: multiple definition of `main'
/usr/local/intel/suse_es10_64/11.0/083/lib/intel64/for_main.o:/export/users/nbtester/efi2linux_nightly/branch-11_0/20090319_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x0): first defined here
ld: Warning: size of symbol `main' changed from 80 in /usr/local/intel/suse_es10_64/11.0/083/lib/intel64/for_main.o to 4048 in driver.o
/usr/local/intel/suse_es10_64/11.0/083/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
/usr/local/intel/suse_es10_64/11.0/083/lib/intel64/for_main.o: In function `main':
/export/users/nbtester/efi2linux_nightly/branch-11_0/20090319_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x38): undefined reference to `MAIN__'
would you help me to solve this problem?
Thanks in advance.
******************************************
Sam Azadi
Institute of Physical Chemistry and
Center for Computational Sciences
Johannes Gutenberg University Mainz
Staudinger Weg 9
D-55128 Mainz
Germany
azadi@uni-mainz.de
+49/(0)6131/39-26844