Compiling error for v-3.2.4

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
sdwang
Posts: 287
Joined: Fri Apr 09, 2010 12:30 pm

Compiling error for v-3.2.4

Post by sdwang » Tue Aug 30, 2011 6:54 am

Dear developers:
Recently I move to a new system and I have to install the yambo again.
I have something wrong when I configure it , it appears:
..
configure: WIDESETUP: using build_os="linux"
configure: WIDESETUP: using F90SUFFIX=".f90"
configure: WIDESETUP: using AR="ar"
configure: WIDESETUP: using AR_FLAGS="-ru"
checking for Fortran flag to compile .f90 files... unknown
configure: error: Fortran could not compile .f90 files

and my configure process is:./configure FC=/opt/intel/Compiler/11.1/059/bin/intel64ifort --enable-msgs-comps F77=/opt/intel/Compiler/11.1/059/bin/intel64/ifort CC=/opt/intel/Compiler/11.1/059/bin/intel64/icc
In attachment is config.log
Thank you for your kindly help!

1) the compiler ( intel 11.1)
2) compiling in parallel
You do not have the required permissions to view the files attached to this post.
S. D. Wang
IMU,HOHHOT,CHINA
E-mail: sdwang@imu.edu.cn

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

Re: Compiling error for v-3.2.4

Post by claudio » Tue Aug 30, 2011 10:18 am

Dear Shudong Wang

you made and error in your configuration line

instead of: FC=/opt/intel/Compiler/11.1/059/bin/intel64ifort

yuo should put: FC=/opt/intel/Compiler/11.1/059/bin/intel64/ifort

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

sdwang
Posts: 287
Joined: Fri Apr 09, 2010 12:30 pm

Re: Compiling error for v-3.2.4

Post by sdwang » Tue Aug 30, 2011 12:02 pm

I figure it ,and cinfigure is OK, but MPI is missing:
[ ] Double precision
# [X] Redundant compilation
# [ ] MPI
# [X] 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]
# [ F90 ] /opt/intel/Compiler/11.1/059/bin/intel64/ifort -assume bscc -O3 -ip -xHost
# [MPIF ]
# [ F77 ] /opt/intel/Compiler/11.1/059/bin/intel64/ifort -assume bscc -O3 -ip -xHost
# [Cmain] -nofor_main
# [NoOpt] -assume bscc -O0 -xHost
#
# [ MAKE ] make
# [EDITOR] vim
./configure FC=/opt/intel/Compiler/11.1/059/bin/intel64/ifort --enable-msgs-comps F77=/opt/intel/Compiler/11.1/059/bin/intel64/ifort --with-iotk=/vol-th/home/jlwang/workspace/sdwang/espresso-4.1.2/iotk --with-p2y=4.0
You do not have the required permissions to view the files attached to this post.
S. D. Wang
IMU,HOHHOT,CHINA
E-mail: sdwang@imu.edu.cn

User avatar
myrta gruning
Posts: 240
Joined: Tue Mar 17, 2009 11:38 am
Contact:

Re: Compiling error for v-3.2.4

Post by myrta gruning » Tue Aug 30, 2011 2:11 pm

Dear Shudong

apparently yambo finds the mpi fortran compiler, bu not the mpi C compiler. In fact it found the /usr/local/mpi/bin/mpicc that need icc that it is not there.

Code: Select all

configure:9692: checking for mpicc
configure:9708: found /usr/local/mpi/bin/mpicc
configure:9719: result: mpicc
configure:9862: checking for a working mpi.h
configure:9891: mpicc -c -g -O2 -D_C_US -D_FORTRAN_US  conftest.c >&5
/usr/local/mpi/bin/mpicc: line 251: icc: command not found
You need to find out which is the correct mpi C compiler on your machine.

Cheers,
m
Dr Myrta Grüning
School of Mathematics and Physics
Queen's University Belfast - Northern Ireland

http://www.researcherid.com/rid/B-1515-2009

Post Reply