Yambo compiling with QE.6.4.1
Posted: Mon Dec 30, 2019 6:45 am
Dear Yambo users and developers,
I am trying to compile Yambo with QE.6.4.1 using two different way
1. While trying to compile yambo separately using the QE linker using the following command
./configure --with-iotk='/home/tuf43805/work/QE-6.4.1/q-e-qe-6.4.1/iotk' --with-p2y=6.4--with-netcdf='/usr/local/'
ERROR:
>>>[Linking yambo]<<<
make[2]: Entering directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver'
cd /home/tuf43805/work/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver; /home/tuf43805/work/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/sbin/moduledep.sh yambo_driver.o > /home/tuf43805/work/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver/make.dep
make[2]: Leaving directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver'
make[2]: Entering directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver'
yambo_driver.F
driver.o: In function `main':
driver.c:(.text+0x0): multiple definition of `main'
/gpfs/opt/tools/intel/parallel_studio_xe_2017_update4/compilers_and_libraries_2017.4.196/linux/compiler/lib/intel64_lin/for_main.o:for_main.c:(.text+0x0): first defined here
/gpfs/opt/tools/intel/parallel_studio_xe_2017_update4/compilers_and_libraries_2017.4.196/linux/compiler/lib/intel64_lin/for_main.o: In function `main':
for_main.c:(.text+0x2a): undefined reference to `MAIN__'
make[2]: *** [yambo] Error 1
make[2]: Leaving directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver'
make[1]: *** [yambo] Error 2
make[1]: Leaving directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0'
yambo build failed
2. While trying to compile yambo within the QE package using the following command
make yambo interfaces
ERROR:
setting DFLAGS... -D__DFTI -D__MPI
setting IFLAGS... -I$(TOPDIR)/include -I$(TOPDIR)/FoX/finclude -I$(TOPDIR)/S3DE/iotk/include/ -I/gpfs/opt/tools/intel/parallel_studio_xe_2017_update4/compilers_and_libraries_2017.4.196/linux/mkl/include
configure: creating ./config.status
config.status: error: cannot find input file: `install/make_lapack.inc.in'
make[1]: *** [configure-yambo] Error 1
make[1]: Leaving directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/install'
make: *** [yambo] Error 1
Any help would be appreciated.
Thanks,
Abhirup Patra
Postdoctoral Researcher
Department of Chemistry
University of Pennsylvania
I am trying to compile Yambo with QE.6.4.1 using two different way
1. While trying to compile yambo separately using the QE linker using the following command
./configure --with-iotk='/home/tuf43805/work/QE-6.4.1/q-e-qe-6.4.1/iotk' --with-p2y=6.4--with-netcdf='/usr/local/'
ERROR:
>>>[Linking yambo]<<<
make[2]: Entering directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver'
cd /home/tuf43805/work/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver; /home/tuf43805/work/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/sbin/moduledep.sh yambo_driver.o > /home/tuf43805/work/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver/make.dep
make[2]: Leaving directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver'
make[2]: Entering directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver'
yambo_driver.F
driver.o: In function `main':
driver.c:(.text+0x0): multiple definition of `main'
/gpfs/opt/tools/intel/parallel_studio_xe_2017_update4/compilers_and_libraries_2017.4.196/linux/compiler/lib/intel64_lin/for_main.o:for_main.c:(.text+0x0): first defined here
/gpfs/opt/tools/intel/parallel_studio_xe_2017_update4/compilers_and_libraries_2017.4.196/linux/compiler/lib/intel64_lin/for_main.o: In function `main':
for_main.c:(.text+0x2a): undefined reference to `MAIN__'
make[2]: *** [yambo] Error 1
make[2]: Leaving directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0/driver'
make[1]: *** [yambo] Error 2
make[1]: Leaving directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/yambo-4.4.0'
yambo build failed
2. While trying to compile yambo within the QE package using the following command
make yambo interfaces
ERROR:
setting DFLAGS... -D__DFTI -D__MPI
setting IFLAGS... -I$(TOPDIR)/include -I$(TOPDIR)/FoX/finclude -I$(TOPDIR)/S3DE/iotk/include/ -I/gpfs/opt/tools/intel/parallel_studio_xe_2017_update4/compilers_and_libraries_2017.4.196/linux/mkl/include
configure: creating ./config.status
config.status: error: cannot find input file: `install/make_lapack.inc.in'
make[1]: *** [configure-yambo] Error 1
make[1]: Leaving directory `/gpfs/work/tuf43805/QE-6.4.1/q-e-qe-6.4.1/install'
make: *** [yambo] Error 1
Any help would be appreciated.
Thanks,
Abhirup Patra
Postdoctoral Researcher
Department of Chemistry
University of Pennsylvania