What are Common Installation Errors with Quantum Espresso on PC?

Click For Summary

Discussion Overview

The discussion revolves around common installation errors encountered when installing Quantum Espresso under Cygwin on a PC. Participants share their experiences and troubleshooting steps related to library dependencies and error messages during the installation process.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • A user reports specific error messages related to missing libraries during the installation process of Quantum Espresso.
  • Another participant suggests that the error messages indicate missing libraries and recommends searching online for similar issues as a troubleshooting step.
  • A third participant identifies the missing libraries as related to the Message Passing Interface (MPI) and Extended SMTP, implying that these libraries need to be installed for successful compilation.
  • A later reply confirms that the installation was successful after addressing the library issues.

Areas of Agreement / Disagreement

Participants generally agree that the installation errors are due to missing libraries, but there is no consensus on the specific steps to resolve the issue until one user confirms successful installation after following suggestions.

Contextual Notes

The discussion does not provide detailed information on the specific libraries required or the installation process for those libraries, leaving some assumptions about user familiarity with Cygwin and library management unresolved.

biubiu
Messages
12
Reaction score
0
Hi,

I'm new to Computational physics. I was trying to install Quantum Espresso under Cygwin on a PC. Running the Makefile resulted in two error messages, which I don't understand:

"
$ make all
test -d bin || mkdir bin
cd install ; make -f extlibs_makefile libiotk
make[1]: Entering directory `/cygdrive/d/espresso-5.0.2/install'
if test ! -d ../S3DE; then \
(gzip -dc ../archive/iotk-1.2.beta.tar.gz | (cd ../; tar -xvf -)) ; \
if test -e Makefile_iotk; then \
(cp Makefile_iotk ../S3DE/iotk/src/Makefile); fi; \
if test -e iotk_config.h; then \
(cp iotk_config.h ../S3DE/iotk/include/iotk_config.h); fi; fi
cd ../S3DE/iotk/src; make lib+util;
make[2]: Entering directory `/cygdrive/d/espresso-5.0.2/S3DE/iotk/src'
make loclib_only
make[3]: Entering directory `/cygdrive/d/espresso-5.0.2/S3DE/iotk/src'
make[3]: Nothing to be done for `loclib_only'.
make[3]: Leaving directory `/cygdrive/d/espresso-5.0.2/S3DE/iotk/src'
mpif90 -g -o iotk_print_kinds.x iotk_print_kinds.o libiotk.a
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpi_f90
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpi_f77
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpi
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lesmtp
collect2: ld returned 1 exit status
Makefile:203: recipe for target `iotk_print_kinds.x' failed
make[2]: *** [iotk_print_kinds.x] Error 1
make[2]: Leaving directory `/cygdrive/d/espresso-5.0.2/S3DE/iotk/src'
extlibs_makefile:55: recipe for target `libiotk' failed
make[1]: *** [libiotk] Error 2
make[1]: Leaving directory `/cygdrive/d/espresso-5.0.2/install'
Makefile:127: recipe for target `libiotk' failed
make: *** [libiotk] Error 2
"


Anyone can help? Thank you very much!
 
Physics news on Phys.org
biubiu said:
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpi_f90
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpi_f77
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpi
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lesmtp

Have you tried googling for these message? First two hits suggests you are missing some libraries.

It can be some deeper problem, but in my experience whenever there are problems during execution of make googling for error messages points in the right direction.
 
Thank you! Borek and AlephZero. It is now installed.
 

Similar threads

Replies
2
Views
3K
  • · Replies 23 ·
Replies
23
Views
3K
Replies
4
Views
3K
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
18
Views
8K
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K