CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   openfoam 1.6.ext installation (http://www.cfd-online.com/Forums/openfoam-installation/113030-openfoam-1-6-ext-installation.html)

AmirBaqa1987 February 10, 2013 19:28

openfoam 1.6.ext installation
 
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 February 12, 2013 04:50

istallation openFoam-1.6-ext problem
 
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

wyldckat February 12, 2013 05:54

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

AmirBaqa1987 February 12, 2013 09:14

openfoam-1.6.ext installation problem
 
1 Attachment(s)
Hi Dear Bruno
here is the file which you want me to attach:
Attachment 18974

thanks a lot
arjang

wyldckat February 12, 2013 17:41

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

AmirBaqa1987 February 13, 2013 06:06

openfoam-1.6.ext installation problem
 
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

wyldckat February 13, 2013 06:19

Hi Arjang,

:confused: 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

AmirBaqa1987 February 13, 2013 17:05

openfoam-1.6.ext installation problem
 
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

wyldckat February 13, 2013 17:24

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

AmirBaqa1987 February 14, 2013 05:38

appreciation
 
hi Dear Bruno
:) thanks a lot for your tips.
best regards
arjang


All times are GMT -4. The time now is 15:16.