how to compile the yambo with ifort and openmich
Posted: Sun Jan 08, 2012 7:06 am
Hi,
everybody, I am a new yambo user. And recently I try to compile the yambo code. But I always failed. The process I complied as follows:
./configure --prefix=/home/supercaq/yambo-3 FC=/opt/openmpi/bin/mpif90 F77=/opt/openmpi/bin/mpif77 CC=/opt/openmpi/bin/mpicc
and then errors came up:
checking for Fortran libraries of /opt/openmpi/bin/mpif90... -L/opt/openmpi/lib -L/opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.5/../../.. -L/lib64 -L/lib -L/usr/lib64 -L/usr/lib -lmpichf90nc -lmpich -lpthread -lrt -lifport -lifcore -limf -lsvml -lm -lipgo -lirc -lirc_s -ldl
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for external C routine (test) naming scheme... test_
checking for Fortran flag needed to accept free-form source... none
checking fortran 90 modules inclusion flag... -I
configure: testing preprocessor /opt/openmpi/bin/mpicc -E -ansi
checking if precompiler works on C source... yes
checking if precompiler works on F90 source... no
configure: error: Found precompiler problems in processing the F90/C source.
The version of yambo is yambo-3.2.4-r.855. the compiler is ifort and the version of openmpi is openmpi-1.4.4
How can I solve such problem ? any suggestion is appreciated ! thank you! By the way, the config.log file was attached.
Aqing
everybody, I am a new yambo user. And recently I try to compile the yambo code. But I always failed. The process I complied as follows:
./configure --prefix=/home/supercaq/yambo-3 FC=/opt/openmpi/bin/mpif90 F77=/opt/openmpi/bin/mpif77 CC=/opt/openmpi/bin/mpicc
and then errors came up:
checking for Fortran libraries of /opt/openmpi/bin/mpif90... -L/opt/openmpi/lib -L/opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.5/../../.. -L/lib64 -L/lib -L/usr/lib64 -L/usr/lib -lmpichf90nc -lmpich -lpthread -lrt -lifport -lifcore -limf -lsvml -lm -lipgo -lirc -lirc_s -ldl
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for external C routine (test) naming scheme... test_
checking for Fortran flag needed to accept free-form source... none
checking fortran 90 modules inclusion flag... -I
configure: testing preprocessor /opt/openmpi/bin/mpicc -E -ansi
checking if precompiler works on C source... yes
checking if precompiler works on F90 source... no
configure: error: Found precompiler problems in processing the F90/C source.
The version of yambo is yambo-3.2.4-r.855. the compiler is ifort and the version of openmpi is openmpi-1.4.4
How can I solve such problem ? any suggestion is appreciated ! thank you! By the way, the config.log file was attached.
Aqing