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

openfoam 1.6.ext installation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2013, 18:28
Default openfoam 1.6.ext installation
  #1
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
hi everyone
i'm installing openfoam-1.6-ext on ubuntu 12.04 LTS, in the compilation step of installation process
(i mean the command:
cd $WM_PROJECT_DIR
./Allwmake >& log.Allwmake &
tail -f log.Allwmake ) terminal shows:
In file included from yPlusRAS.C:52:0:
/home/amir/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/wallDist.H:66:27: fatal error: cellDistFuncs.H: No such file or directory
compilation terminated.
make[3]: *** [Make/linux64Gcc46DPOpt/yPlusRAS.o] Error 1
make[3]: Target `/home/amir/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc46DPOpt/yPlusRAS' not remade because of errors.
make[2]: *** [yPlusRAS] Error 2
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/amir/OpenFOAM/OpenFOAM-1.6-ext/src/transportModels -I/home/amir/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels -I/home/amir/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/RAS/RASModel -I/home/amir/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/amir/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/amir/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc46DPOpt/wallShearStress.o -L/home/amir/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc46DPOpt \
-lincompressibleRASModels -lincompressibleTransportModels -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/amir/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc46DPOpt/wallShearStress
/usr/bin/ld: cannot find -lincompressibleRASModels
/usr/bin/ld: cannot find -lincompressibleTransportModels
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/amir/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc46DPOpt/wallShearStress] Error 1
make[2]: *** [wallShearStress] Error 2
make[2]: Target `application' not remade because of errors.
make[1]: *** [wall] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [postProcessing] Error 2
make: Target `application' not remade because of errors.


what should i do to overcome this problem?
thanks a lot

best wishes
arjang
AmirBaqa1987 is offline   Reply With Quote

Old   February 12, 2013, 03:50
Default istallation openFoam-1.6-ext problem
  #2
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
hi Dear friends
i'm installing openfoam-1.6-ext
when i enter command:
./Allwmake >& log.Allwmake & tail -f log.Allwmake (compile openfoam-1.6-ext)
compilation process getting start and after some minutes stop and show some fatal errors like:
/home/amir/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/wallDist.H:66:27: fatal error: cellDistFuncs.H: No such file or directory
compilation terminated.
renumberMesh.C:42:21: fatal error: faceSet.H: No such file or directory
compilation terminated
faceSet.C:33:27: fatal error: topoSetSource.H: No such file or directory
compilation terminated.
refineWallLayer.C:39:21: fatal error: cellSet.H: No such file or directory
compilation terminated.

what should i do?
please help me
thanks a lbest regards
arjang
AmirBaqa1987 is offline   Reply With Quote

Old   February 12, 2013, 04:54
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Arjang,

Please do the following steps:
  1. Compress the log file "log.Allwmake" by running:
    Code:
    tar -cf  log.Allwmake.tar.gz  log.Allwmake
  2. Attach the file "log.Allwmake.tar.gz" to your next post. You'll need to use the advanced post edit mode in order to be able to attach the file.
I ask this because the first error is usually the one that tells the whole story.


Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 12, 2013, 08:14
Default openfoam-1.6.ext installation problem
  #4
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
Hi Dear Bruno
here is the file which you want me to attach:
log.Allwmake.tar.gz

thanks a lot
arjang

Last edited by AmirBaqa1987; February 12, 2013 at 08:42.
AmirBaqa1987 is offline   Reply With Quote

Old   February 12, 2013, 16:41
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Arjang,

This is a very strange error... I suggest the following commands:
Code:
wcleanAll
./Allwmake >& log.Allwmake
The first command makes it clean up the files that were built so far. I'm suggesting this step because something very strange seems to have affected the build, and probably only a good clean up will make sure things build as intended.
The second command is the one you've already executed before.

By the way, how much RAM and how many cores does your machine have?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 13, 2013, 05:06
Default openfoam-1.6.ext installation problem
  #6
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
Hi Dear Bruno
(my machine has quad core(corei7)& 8 gig ram)

i did those two commands which you've suggested me.
after compiling process there is no error and the end of log.Allwmake is like below:

/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc46DPOpt/yPlusRAS.o -L/home/amir/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc46DPOpt \
-lincompressibleTransportModels -lincompressibleRASModels -lbasicThermophysicalModels -lspecie -lcompressibleRASModels -lfiniteVolume -lmeshTools -lsampling -lOpenFOAM -liberty -ldl -lm -o /home/amir/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc46DPOpt/yPlusRAS


is everything ok?



and also i installed paraview by command :sudo apt-get install paraview

but when i type paraFoam terminal display:

amir@amir-VPCF22CFX:~/OpenFOAM/OpenFOAM-1.6-ext/tutorials/incompressible/simpleFoam/pitzDaily$ paraFoam
created temporary 'pitzDaily.OpenFOAM'
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Calculator" under id 119
"Histogram" under id 134
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Integrate Variables" under id 135
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Intersect Fragments" under id 145
vGlobal Variables Over Time" under id 137
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Plot On Sorted Lines" under id 139
"Threshold" under id 123
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Warp By Vector" under id 127
bytesRead < bytesLeft
bytesRead 0 bytesLeft512
Read float past end of buffer

is there any problem?

thanks a lot for your attention
sincerely yours
arjang
AmirBaqa1987 is offline   Reply With Quote

Old   February 13, 2013, 05:19
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Arjang,

you didn't need to do:
Code:
sudo apt-get install paraview
because 1.6-ext builds its own ParaView version...

But anyway, try the following steps:
Code:
foam
sed -i -e 's=\.OpenFOAM=\.foam=' bin/paraFoam
Then go back to the case you were testing and run:
Code:
paraFoam
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 13, 2013, 16:05
Default openfoam-1.6.ext installation problem
  #8
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
hi Bruno
I did those two commands and now paraFoam command works.
but there is some red text at terminal after performing paraFoam command:

void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Calculator" under id 121
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Annotate Time Filter" under id 156
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Calculator" under id 121
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Clip" under id 123
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Contingency Statistics" under id 150
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Contour" under id 122

what are these red text?
i asked this question because these red text does not appear when i use openFoam 2.1.1

thanks a lot
sincerely yours
arjang
AmirBaqa1987 is offline   Reply With Quote

Old   February 13, 2013, 16:24
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Arjang,

I think you can safely ignore those messages.
The only reason I can deduce for the differences between OpenFOAM 2.1.1 and 1.6-ext, is because 2.1.1 uses ParaView 3.12.0 and Ubuntu's version is ParaView 3.14.1.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 14, 2013, 04:38
Default appreciation
  #10
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
hi Dear Bruno
thanks a lot for your tips.
best regards
arjang
AmirBaqa1987 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
[OpenFOAM.com] OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 electrosin OpenFOAM Installation 40 May 31, 2016 05:11
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 11:43
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 superfxfund OpenFOAM Installation 3 November 11, 2010 02:15
Some Query on Installation of OpenFoam lzgwhy OpenFOAM Installation 1 July 15, 2009 03:20


All times are GMT -4. The time now is 07:12.