Page 1 of 1

compile error

Posted: Thu Dec 08, 2011 7:19 am
by lijin18
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

Re: compile error

Posted: Thu Dec 08, 2011 9:18 am
by claudio
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

Re: compile error

Posted: Thu Dec 08, 2011 7:02 pm
by lijin18
Dear Claudio,
Thank you very much.
It works.
Jin

COMPILE OK ... NOT ABLE TO RUNNING

Posted: Thu Dec 15, 2011 12:23 am
by rcuevas
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

Re: compile error

Posted: Thu Dec 15, 2011 8:23 am
by Daniele Varsano
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