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
Linking problem
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani
Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
-
- Posts: 21
- Joined: Fri Apr 15, 2011 11:24 am
- Location: Mainz, Germany
Linking problem
*******************************************
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
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
- claudio
- Posts: 526
- Joined: Tue Mar 31, 2009 11:33 pm
- Location: Marseille
- Contact:
Re: Linking problem
Dear Sam Azadi
try to do
./configure --with-iotk="/homes/1/azadi/ESP-4.3/espresso-4.3/iotk" --with-p2y=4.0 FC=ifort LDFLAGS=-nofor_main
try to do
./configure --with-iotk="/homes/1/azadi/ESP-4.3/espresso-4.3/iotk" --with-p2y=4.0 FC=ifort LDFLAGS=-nofor_main
Claudio Attaccalite
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com
-
- Posts: 21
- Joined: Fri Apr 15, 2011 11:24 am
- Location: Mainz, Germany
Re: Linking problem
Thank you Claudio, it's compiled successfully.
Best regards
Sam
******************************************
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
Best regards
Sam
******************************************
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
*******************************************
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
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