compile error

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

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
Post Reply
lijin18
Posts: 11
Joined: Wed Nov 18, 2009 2:35 am
Location: Xiangtan University, China

compile error

Post by lijin18 » Thu Dec 08, 2011 7:19 am

Dear all

When I compile yambo on our cluster and it failed.
1)firstly, I run configure:
./configure FC=ifort

# [ ] Double precision
# [X] Redundant compilation
# [X] MPI
# [ ] PW (4.0) support
# [ ] ETSF I/O support
# [ ] SCALAPACK
# [ ] LibXC
# [ ] NETCDF/HDF5/Large Files
# [XX ] Built-in BLAS/LAPACK/LOCAL
#
# [ CPP ] gcc -E -P
# [ C ] gcc -g -O2 -D_C_US -D_FORTRAN_US
# [MPICC] mpicc -g -O2 -D_C_US -D_FORTRAN_US
# [ F90 ] ifort -assume bscc -O3 -ip -xHost
# [MPIF ] mpif90 -assume bscc -O3 -ip -xHost
# [ F77 ] ifort -assume bscc -O3 -ip -xHost
# [Cmain] -nofor_main
# [NoOpt] -assume bscc -O0 -xHost

2) then make all:
make all

>>>[Linking yambo]<<<
make[1]: Entering directory `/home/users3/cmt/yambo-3.2.4-r.855/driver'
yambo_driver.F Catastrophic error: could not set locale "" to allow processing of multibyte characters

compilation aborted for /home/users3/cmt/jinli/bin/yambo-3.2.4-r.855/driver/driver.c (code 4)
make[1]: *** [yambo] Error 4

What's this problem? How to resolve it?
Thank you very much.
jin
Faculty of Materials, Optoelectronics and Physics
Xiangtan University, 411105, China
MSN:lijin.phy@gmail.com

User avatar
claudio
Posts: 456
Joined: Tue Mar 31, 2009 11:33 pm
Location: Marseille
Contact:

Re: compile error

Post by claudio » Thu Dec 08, 2011 9:18 am

Dear jin

I think this error is due to a wrong configuration of your system,
and it is a general problem with intel compilers.

The solution is discussed here:

https://www.cs.virginia.edu/~csadmin/wi ... x_problems
http://ubuntuforums.org/archive/index.php/t-466221.html
http://ubuntuforums.org/archive/index.p ... 55762.html
http://software.intel.com/en-us/forums/ ... hp?t=54359

Claudio
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

lijin18
Posts: 11
Joined: Wed Nov 18, 2009 2:35 am
Location: Xiangtan University, China

Re: compile error

Post by lijin18 » Thu Dec 08, 2011 7:02 pm

Dear Claudio,
Thank you very much.
It works.
Jin
Faculty of Materials, Optoelectronics and Physics
Xiangtan University, 411105, China
MSN:lijin.phy@gmail.com

rcuevas
Posts: 1
Joined: Tue Dec 06, 2011 7:14 pm

COMPILE OK ... NOT ABLE TO RUNNING

Post by rcuevas » Thu Dec 15, 2011 12:23 am

Dear all:

I am new to YAMBO and I have not been able to run it.

1. I run configure with
./configure FC=ifort

2. Then make all:
make all

Everything seemed alright. I verified (as suggested in the web site) with

3. ./bin/yambo

and I got: yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

So far so good, right?

4. I downloaded the TUTORIALS (specifically GW and lifetimes - Solid_Al) and followed the instructions but I have not been successful. Am I missing something?, should I relocate the SAVE folder?

I would appreciate your help on this!

Rogelio

User avatar
Daniele Varsano
Posts: 3816
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: compile error

Post by Daniele Varsano » Thu Dec 15, 2011 8:23 am

Dear Rogelio,
Welcome on Yambo. please fill your signature with the affiliation. This is a rule of the forum.

Which is the message Yambo gives you when trying to run? I suspect that the problem is
related to the fact that code database for the tutorial are produced with NETCDF format,
while from your configure command it looks you have not linked the netcdf library.
Even if Yambo can work without them (but you have can't use the core database provided in the tutorial,
you have to generate them using the interfaces to abinit or pw),
it is strongly suggested to install them.
Type ./configure -H and follow the instruction to link them (once they are installed in your machine).
If you are planing to use quantum-espresso (pwscf) for your ground state calculation you will have also
to link the iotk libraries.

Cheers,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

Post Reply