CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Compile error OpenFoam v1912 on ubuntu 18.04 LTS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2020, 23:25
Thumbs down Compile error OpenFoam v1912 on ubuntu 18.04 LTS
  #1
New Member
 
Declan Keogh
Join Date: Jun 2020
Location: Sydney, Australia
Posts: 11
Rep Power: 5
dkeogh is on a distinguished road
Hi I am having issues compiling openfoam v1912 and I can't find anything similar in previous posts on the forum. When I run ./Allwmake the thirdparty software compiles fine but once it moves to the src directory to compile POSIX the installation fails. I have checked to make sure bashrc is sourced correctly and the directory shortcuts such as $WM_PROJECT_DIR all point to the correct locations. Any help would be appreciated, the log file is attached i had to shorten it to make it fit :/.
Attached Files
File Type: txt make.txt (16.0 KB, 8 views)
dkeogh is offline   Reply With Quote

Old   June 11, 2020, 06:42
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
Hi,

- Why thumbs down emoji? This software is released aligning the ISO-8601 standard for free. Can't understand such daring complaint.
- Could you please share the steps you have taken for the installation, so that the error can be reproduced? I am almost sure that this is due to some aspect of the local setup, though.
HPE is offline   Reply With Quote

Old   June 11, 2020, 06:59
Default
  #3
New Member
 
Declan Keogh
Join Date: Jun 2020
Location: Sydney, Australia
Posts: 11
Rep Power: 5
dkeogh is on a distinguished road
1. Sorry you're right, can I amend it?
2. The files are in my desktop as I'm going to be comparing the results to COMSOL a lot and I didn't want to transfer the data in the command line. I unpacked the files from https://www.openfoam.com/download/install-source.php instead of using the pre-compiled ones. I made sure I followed the steps located here https://www.openfoam.com/documentati...quirements.php. Then i sourced the bashrc file and tested the shortcuts in the ubuntu bash terminal to check that they pointed to where my installation was located. I then proceeded to compiling ThirdParty using ./Allwmake in the ThirdParty folder. When I move to the openfoam folder and run ./Allwmake there it fails when compiling the OSspecific folder.
dkeogh is offline   Reply With Quote

Old   June 11, 2020, 08:10
Default
  #4
New Member
 
Declan Keogh
Join Date: Jun 2020
Location: Sydney, Australia
Posts: 11
Rep Power: 5
dkeogh is on a distinguished road
Okay i've moved it all to the $HOME directory and updated the bashrc files and the dependencies. I've started compiling and the error message i receive is:

wmkdepend: could not open 'wmkdepend: could not open 'Instant.HInstant.H' for source file '' for source file 'signals/sigStopAtWriteNow.Csignals/sigWriteNow.C'': : No such file or directoryNo such file or directory
dkeogh is offline   Reply With Quote

Old   June 11, 2020, 09:11
Default
  #5
New Member
 
Declan Keogh
Join Date: Jun 2020
Location: Sydney, Australia
Posts: 11
Rep Power: 5
dkeogh is on a distinguished road
Okay i've deleted it all, re-downloaded, and it is now compiling fine in $HOME. I would really have liked my installation to be in Desktop but that's okay
dkeogh is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[waves2Foam] waves2Foam on an Ubuntu 18.04 with OpenFOAM 1712 JGadelho OpenFOAM Community Contributions 35 November 6, 2023 11:42
[Other] Qt5, OpenFOAM-7 and -v1906, and Ubuntu 18.04 gcengineer OpenFOAM Installation 9 June 22, 2020 18:45
[OpenFOAM.org] Errors in installing OpenFOAM 2.2.2 on Ubuntu 18.04 LTS xixiuqi OpenFOAM Installation 3 December 12, 2019 10:03
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS eddykendo OpenFOAM Installation 1 July 18, 2015 17:38
Openfoam Ubuntu 12.04 Unmet dependencies slls33 OpenFOAM Installation 10 April 9, 2013 04:16


All times are GMT -4. The time now is 21:28.