Compiling error for v-3.2.4

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

Moderators: Daniele Varsano, andrea.ferretti, andrea marini, Conor Hogan, myrta gruning

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

Compiling error for v-3.2.4

Postby 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:sd.wang000@gmail.com
sdwang
 
Posts: 189
Joined: Fri Apr 09, 2010 12:30 pm

Re: Compiling error for v-3.2.4

Postby 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
Institut Neel, CNRS/UJF ABINEEL group
25 rue des Martyrs BP 166, Bâtiment D
38042 Grenoble cedex 9 France
web site: http://www.attaccalite.com
Freely download scientific books from: http://www.freescience.info
User avatar
claudio
 
Posts: 215
Joined: Tue Mar 31, 2009 11:33 pm

Re: Compiling error for v-3.2.4

Postby 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:sd.wang000@gmail.com
sdwang
 
Posts: 189
Joined: Fri Apr 09, 2010 12:30 pm

Re: Compiling error for v-3.2.4

Postby 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
Atomistic Simulation Centre
Queen's University Belfast - Northern Ireland

http://www.researcherid.com/rid/B-1515-2009
User avatar
myrta gruning
 
Posts: 303
Joined: Tue Mar 17, 2009 11:38 am


Return to Compilation

Who is online

Users browsing this forum: No registered users and 1 guest