Quantum Espresso make all error

Click For Summary

Discussion Overview

The discussion revolves around issues encountered while trying to install Quantum Espresso on a fresh Ubuntu installation, specifically focusing on errors arising from the "make all" command. Participants explore troubleshooting steps, error messages, and potential solutions related to compilation and dependencies.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • One participant reports an error during the "make all" command after a fresh installation of Quantum Espresso and seeks assistance.
  • Another participant suggests reviewing the compilation messages to identify the first error, indicating that subsequent errors may stem from it.
  • Concerns are raised about warnings related to nonexistent include directories, which may indicate missing code or failed steps in the installation process.
  • Participants discuss the challenges of uploading a text file containing error logs, with suggestions to convert it to PDF for successful sharing.
  • One participant identifies Error 127, typically associated with missing files, and notes that it may relate to the absence of the 'm4' package, which is necessary for the build process.
  • Another participant confirms that after installing 'm4', the "make all" command executed successfully, indicating a potential solution to the original problem.
  • There is a suggestion to use alternative methods for sharing large files, such as Pastebin, instead of relying on file uploads.

Areas of Agreement / Disagreement

Participants generally agree on the importance of identifying the first error in the compilation log and the potential role of the 'm4' package in resolving the installation issue. However, there is no consensus on the best method for sharing error logs, with differing opinions on file upload practices.

Contextual Notes

Some participants express uncertainty about the implications of warnings in the compilation messages and the specific meaning of Error 127, indicating a need for further exploration of these issues.

ramana3797
Messages
19
Reaction score
6
TL;DR
quantum espresso installation make all error
The system at my college died and I did a fresh install of ubuntu and tried to install quantum espresso after installing the required dependancies according to the instructions in the link "https://osuginoissp.wixsite.com/mysite/a-install-quantum-espresso" . But the make all command keeps showing error. I will attach the contents of the terminals in text file
 
Computer science news on Phys.org
i can't attach the file it doesn't show up after uploading it
 

this is the link to the file from my google drive
 
You have to go through these compilation messages from top to bottom and find the first error that occurs. Most, if not all, errors that come after that are probably caused by the first error. Can you find the first error in the log?
 
bigfooted said:
You have to go through these compilation messages from top to bottom and find the first error that occurs. Most, if not all, errors that come after that are probably caused by the first error. Can you find the first error in the log?
yes its on the 672nd line, after the make all command is executed but not sure what it means or how to fix it. i tried to search online but couldn't find anything.
 
ramana3797 said:
yes its on the 672nd line, after the make all command is executed
I don't see any line numbers in your file...

Also, are you concerned at all about the many warnings like this? "Warning: Nonexistent include directory"

When you use the "Attach files" link below the Edit window, you should be able to up load a TXT file. What was the file extension of the file that would not upload?
 
it is a .txt file and I opened it using notepad . don't know what to do about the warning. I tried to attach the txt file but it only shows the uploading progress then when i post the attached file is missing.
 
Hmm, maybe try again? How many bytes is the file? I wonder what the forum limit is for *.txt files...
 
this is the txt file
 
  • #10
its 170KB
 
  • #11
it isn't here
 
  • #12
Yeah, weird. I tried copying the text to a new file and uploading it, but it's not working for me either. Working on it...
 
  • #13
I'll try converting it to PDF to see if the uploader doesn't like something it is seeing in the TXT file...
 

Attachments

  • #14
Okay, that worked. There must be some keywords in the TXT file that the forum software does not like, so it's blocking the TXT file. At least now people can copy the text out of the PDF file and into an editor that supports line numbers.
 
  • #15
thanks for that
 
  • #16
ramana3797 said:
yes its on the 672nd line, after the make all command is executed but not sure what it means or how to fix it. i tried to search online but couldn't find anything.
What is Error 127?

1670614610215.png
 
  • #17
I think you're going to have to backtrack through your make report to figure it out. It's very long and of little use for diagnostics on its own.

The last error says it can't find some .mod files and errored out with a fatal message. Use those .mod names to backtrack and see if they failed to compile or link previously in the make report.

There's a warning just above the fatal one that say some include directory is missing. This may mean there's more code to be added or that some earlier step failed to create the include directory.
 
  • #19
Just before error 127, it says 'm4 not found', which is a common package that should be installed. Error 127 is usually 'file not found' or something similar.
 
  • Like
  • Wow
Likes   Reactions: ramana3797, Wrichik Basu, berkeman and 1 other person
  • #20
Good catch, so the m4 macro processor may be customizing/building some of the needed files based on the OS you are running on.
 
  • #21
File under: Subject Lines That Look Nonsensical But Are In Fact Grammatically Correct
 
  • #22
  • Like
Likes   Reactions: Wrichik Basu and berkeman
  • #23
bigfooted said:
Just before error 127, it says 'm4 not found', which is a common package that should be installed. Error 127 is usually 'file not found' or something similar.
I check and found that m4 was not installed and after installing it the make all command ran without error. thank you for your help.
 
  • Like
Likes   Reactions: bigfooted, berkeman and Wrichik Basu
  • #24
I'm amazed that @bigfooted could actually go through the file line by line! :bow: If I see a 1438-line file... :bugeye:

Anyway, it is better to display the file rather than upload a .txt. If I am looking into a thread, I will be happier if I didn't have to download anything. And Google Drive isn't a practical option. Pastebin is an excellent alterative if the code cannot be simply pasted here in the forum within code tags. In fact, Pastebin is made for such work.

 
  • Like
Likes   Reactions: bigfooted

Similar threads

Replies
1
Views
2K
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
9K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
6K
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
16
Views
3K