Quantum Espresso make all error

Click For Summary
SUMMARY

The discussion centers on resolving a "make all" error encountered while installing Quantum Espresso on a fresh Ubuntu installation. The primary issue identified was the absence of the 'm4' macro processor, which led to Error 127, indicating a missing file. After installing 'm4', the installation proceeded without further errors. Users emphasized the importance of addressing initial errors in compilation logs to resolve subsequent issues effectively.

PREREQUISITES
  • Understanding of Quantum Espresso installation procedures
  • Familiarity with Ubuntu operating system
  • Knowledge of compilation error diagnostics
  • Basic command line usage in Linux
NEXT STEPS
  • Research how to install 'm4' on Ubuntu
  • Learn about common compilation errors in C/C++ projects
  • Explore the Quantum Espresso user forum for troubleshooting tips
  • Investigate the use of Pastebin for sharing code snippets
USEFUL FOR

Developers and researchers working with Quantum Espresso, system administrators managing Ubuntu installations, and anyone troubleshooting compilation errors in software development.

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 6 ·
Replies
6
Views
3K
Replies
2
Views
3K
Replies
16
Views
3K