Compilation error in Yambo 4.3.1
Posted: Mon Jan 07, 2019 8:14 am
Dear Sir,
While compiling Yambo 4.3.1, I find this error:
************************************************************************
configure: netCDF-Fortran 4.4.4
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: checking user options
checking whether extra valgrind tests should be run... no
checking whether parallel IO tests should be run... no
checking whether netCDF extra tests should be run (developers only)... no
checking for doxygen... doxygen
checking for dot... no
configure: WARNING: dot not found - will use simple charts in documentation
configure: finding C compiler
checking for gcc... mpicc
checking whether the C compiler works... no
configure: error: in `/home/sitangshu/Softwares/yambo-4.3.1/lib/netcdff/netcdf-fortran-4.4.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
Makefile:34: recipe for target 'configure-stamp' failed
make[2]: *** [configure-stamp] Error 77
make[2]: Leaving directory '/home/sitangshu/Softwares/yambo-4.3.1/lib/netcdff'
Makefile:151: recipe for target 'ext-libs' failed
make[1]: *** [ext-libs] Error 2
make[1]: Leaving directory '/home/sitangshu/Softwares/yambo-4.3.1'
yambo build failed
*******************************************************************************************
I have also attached the config.log file for your perusal. I would be glad if you please let me know the bug...
With regards,
Sitangshu
While compiling Yambo 4.3.1, I find this error:
************************************************************************
configure: netCDF-Fortran 4.4.4
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: checking user options
checking whether extra valgrind tests should be run... no
checking whether parallel IO tests should be run... no
checking whether netCDF extra tests should be run (developers only)... no
checking for doxygen... doxygen
checking for dot... no
configure: WARNING: dot not found - will use simple charts in documentation
configure: finding C compiler
checking for gcc... mpicc
checking whether the C compiler works... no
configure: error: in `/home/sitangshu/Softwares/yambo-4.3.1/lib/netcdff/netcdf-fortran-4.4.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
Makefile:34: recipe for target 'configure-stamp' failed
make[2]: *** [configure-stamp] Error 77
make[2]: Leaving directory '/home/sitangshu/Softwares/yambo-4.3.1/lib/netcdff'
Makefile:151: recipe for target 'ext-libs' failed
make[1]: *** [ext-libs] Error 2
make[1]: Leaving directory '/home/sitangshu/Softwares/yambo-4.3.1'
yambo build failed
*******************************************************************************************
I have also attached the config.log file for your perusal. I would be glad if you please let me know the bug...
With regards,
Sitangshu