Quantum Espresso make all error

  • Thread starter ramana3797
  • Start date
  • #1
ramana3797
15
6
TL;DR Summary
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
 

Answers and Replies

  • #2
ramana3797
15
6
i can't attach the file it doesn't show up after uploading it
 
  • #3
ramana3797
15
6

this is the link to the file from my google drive
 
  • #4
bigfooted
Gold Member
673
192
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?
 
  • #5
ramana3797
15
6
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.
 
  • #6
berkeman
Mentor
64,461
15,835
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?
 
  • #7
ramana3797
15
6
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.
 
  • #8
berkeman
Mentor
64,461
15,835
Hmm, maybe try again? How many bytes is the file? I wonder what the forum limit is for *.txt files...
 
  • #9
ramana3797
15
6
this is the txt file
 
  • #10
ramana3797
15
6
its 170KB
 
  • #11
ramana3797
15
6
it isn't here
 
  • #12
berkeman
Mentor
64,461
15,835
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
berkeman
Mentor
64,461
15,835
I'll try converting it to PDF to see if the uploader doesn't like something it is seeing in the TXT file...
 

Attachments

  • Ramana.pdf
    256.7 KB · Views: 27
  • #14
berkeman
Mentor
64,461
15,835
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
ramana3797
15
6
thanks for that
 
  • #16
berkeman
Mentor
64,461
15,835
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
14,294
8,342
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
bigfooted
Gold Member
673
192
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 ramana3797, Wrichik Basu, berkeman and 1 other person
  • #20
14,294
8,342
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
DaveC426913
Gold Member
21,462
4,950
File under: Subject Lines That Look Nonsensical But Are In Fact Grammatically Correct
 
  • #23
ramana3797
15
6
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 bigfooted, berkeman and Wrichik Basu
  • #24
Wrichik Basu
Insights Author
Gold Member
2022 Award
2,046
2,302
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.

 

Suggested for: Quantum Espresso make all error

  • Last Post
Replies
2
Views
268
Replies
4
Views
686
  • Last Post
Replies
12
Views
697
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
558
Replies
3
Views
60
Replies
1
Views
175
  • Last Post
2
Replies
36
Views
2K
  • Last Post
Replies
9
Views
1K
  • Last Post
Replies
15
Views
727
Top