View Issue Details

IDProjectCategoryView StatusLast Update
0002220OpenFOAMBugpublic2016-08-30 14:46
ReporterEpic-o Assigned Towyldckat  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionunable to reproduce 
PlatformLinuxOSUbuntuOS Version16.04
Summary0002220: Compiling error: recipe for target 'mesh' failed
DescriptionI have been following the compiling instructions described in http://openfoam.org/download/source/. Everything works well until I get the following error when compiling OpenFOAM:

/root/OpenFOAM/OpenFOAM-4.x/wmake/makefiles/apps:39: recipe for target 'mesh' failed
make: *** [mesh] Error 2
 

Additional InformationUbuntu 16.04 running in VirtualBox 5.1.4 on Windows 10
TagsNo tags attached.

Relationships

related to 0002222 resolvedchris A few update suggestions for the "OpenFOAM Repo" installation instructions 

Activities

wyldckat

2016-08-26 18:47

updater   ~0006773

Please run the following commands, after you've sourced OpenFOAM's "etc/bashrc" file:

  foam
  ./Allwmake > log.make 2>&1

Then please upload the file "log.make" to this bug report.

I ask this because that error message alone is not enough to fully diagnose the origin of the problem.

Epic-o

2016-08-29 11:30

reporter   ~0006780

Sorry but when I source the "etc/bashrc" file I get multiple errors of the type:

-bash: bashrc/OpenFOAM-4.x/...: Not a directory

Should I make any modification to the bashrc file before sourcing it?

Thanks

wyldckat

2016-08-29 21:00

updater   ~0006781

I'm sorry to say that the error message you've provided is inconsistent, given it's referring to a path that is inverted? Why is "bashrc" appearing before "OpenFOAM-4.x"?

Please see the instructions given here: http://openfoam.org/download/source/setting-environment/
In other words, the complete command is this:

  source $HOME/OpenFOAM/OpenFOAM-4.x/etc/bashrc

Nonetheless, given that you're trying to build in root mode, I strongly advise you to step out of root mode, by running first:

  exit

Then please follow the instructions from step #2: http://openfoam.org/download/source/downloading-source-code/


If you wish to move the files you've downloaded already into the "/root" folder, then you can use something like the following commands (while in root mode):

  mv /root/OpenFOAM /home/your_user_name/OpenFOAM
  chown -r your_user_name:your_user_name /home/your_user_name/OpenFOAM

Please don't forget to replace "your_user_name" with your own user name, namely the one when you first start the terminal/console command line.

Epic-o

2016-08-30 14:43

reporter   ~0006788

I have re-run the compilation in my home directory and everything went correctly. For some reason the compilation does not work in my root directory.

Feel free to close this issue.

Thank you very much!

wyldckat

2016-08-30 14:46

updater   ~0006789

You're welcome and many thanks for the feedback!

I'm closing this as "unable to reproduce", given there isn't enough information to reproduce the original issue.

Issue History

Date Modified Username Field Change
2016-08-26 07:09 Epic-o New Issue
2016-08-26 18:47 wyldckat Note Added: 0006773
2016-08-29 11:30 Epic-o Note Added: 0006780
2016-08-29 20:54 wyldckat Priority urgent => normal
2016-08-29 21:00 wyldckat Note Added: 0006781
2016-08-29 21:08 wyldckat Relationship added related to 0002222
2016-08-30 14:43 Epic-o Note Added: 0006788
2016-08-30 14:46 wyldckat Note Added: 0006789
2016-08-30 14:46 wyldckat Status new => closed
2016-08-30 14:46 wyldckat Assigned To => wyldckat
2016-08-30 14:46 wyldckat Resolution open => unable to reproduce