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

OpenFOAM 1.7.1 installation problem on Fedora 14

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 22, 2010, 13:08
Post OpenFOAM 1.7.1 installation problem on Fedora 14
  #1
New Member
 
Francesco Crippa
Join Date: Dec 2010
Posts: 4
Rep Power: 15
armonica is on a distinguished road
Hi everyone,

I'm completely new in OpenFOAM, and right now I'm trying to install OpenFOAM 1.7.1 on my laptop which has Fedora 14 as OS. When I run the foamInstallationTest, I get this critical error, it seems unable to find icoFoam:


[cooter@annapurna OpenFOAM-1.7.1]$ foamInstallationTest
Executing /home/cooter/OpenFOAM/OpenFOAM-1.7.1/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: annapurna
OS: Linux version 2.6.35.9-64.fc14.i686.PAE
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/cooter/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/cooter/OpenFOAM/cooter-1.7.1 yes no
$WM_THIRD_PARTY_DIR /home/cooter/OpenFOAM/ThirdParty-1.7.1 yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/cooter/OpenFOAM/OpenFOAM-1.7.1 yes yes yes

$FOAM_APPBIN ...1.7.1/applications/bin/linuxGccDPOpt no yes
$FOAM_SITE_APPBIN ...penFOAM/site/1.7.1/bin/linuxGccDPOpt no no
$FOAM_USER_APPBIN ...1.7.1/applications/bin/linuxGccDPOpt no no
$WM_DIR ...cooter/OpenFOAM/OpenFOAM-1.7.1/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt yes yes yes
$FOAM_SITE_LIBBIN ...penFOAM/site/1.7.1/lib/linuxGccDPOpt no no
$FOAM_USER_LIBBIN ...nFOAM/cooter-1.7.1/lib/linuxGccDPOpt no no
$MPI_ARCH_PATH ...7.1/platforms/linuxGcc/openmpi-1.4.1 no yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.5.1 /usr/bin/gcc
gzip 1.4 /usr/bin/gzip
tar 1.23 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/cooter/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/icoFoam
current path :
CRITICAL ERROR

-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

*** The foam installation contains 1 critical error(s)
*** Review the output for warning messages and consult
*** the installation guide for trouble shooting.

done.

Any advices will be grateful.
Thanks
Francesco
armonica is offline   Reply With Quote

Old   December 22, 2010, 19:07
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
Greetings Francesco and welcome to the Forum!

Well, installing OpenFOAM 1.7.1 in Fedora 14 is pretty much the same as in Fedora 13, so here is some another thread about the same issue: http://www.cfd-online.com/Forums/ope...dora-13-a.html

Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 23, 2010, 14:31
Default
  #3
New Member
 
Francesco Crippa
Join Date: Dec 2010
Posts: 4
Rep Power: 15
armonica is on a distinguished road
Thanks Bruno,
As you posted in that previous discussion, I did these two steps.
I installed the packages I need with the command:
yum install gcc gcc-c++ binutils-devel flex git-core wget cmake qt4-devel python-devel redline-devel bison
and then I compiled the software. Unfortunately the errors are still there, when I run the foamInstallationTest.
I attached the make.log file, do you have some other advice for me?
Thanks a lot.
Attached Files
File Type: gz make.log.tar.gz (18.2 KB, 7 views)
armonica is offline   Reply With Quote

Old   December 25, 2010, 19:56
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Francesco,

I believe you didn't fully read the thread... in the post #8 I mentioned:
Quote:
Originally Posted by http://www.openfoam.com/mantisbt/view.php?id=15
In $WM_DIR/rules/linux64Gcc/c++, change LINKEXE to this:
Code:
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed
This is what is missing in your set-up.

Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 26, 2010, 12:52
Smile
  #5
New Member
 
Francesco Crippa
Join Date: Dec 2010
Posts: 4
Rep Power: 15
armonica is on a distinguished road
Thank you Bruno,
I read in depth the thread and since I have Fedora i686 i changed the LINEXE line in the file "$WM_DIR/rules/linuxGcc/c++" and so Allwmake was able to compile the OpenFOAM. The foamInstallationTest doesn't return any problems.
But unfortunately my troubles aren't terminated , and I hope also your words of wisdom!
I tried to compile ParaView executing the following:
cd $WM_THIRD_PARTY_DIR
./Allclean
./makeParaView

and makeParaView returned me this error:

** Error: cannot find qmake either at $QMAKE_PATH or in current $PATH

Do you have any further ideas?

Thank you very!

Francesco
armonica is offline   Reply With Quote

Old   December 26, 2010, 16:16
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Francesco,

The quickest solution is to install ParaView 3.8.1 that Fedora 14 has in its repository and then follow point #7 from this blog post: Using the official pre-built ParaView 3.8.0 version with OpenFOAM...
This way you can use ParaView's built-in plug-in for reading OpenFOAM's case data format, without the need to spend any more time building ParaView and/or Qt and therefore get to the good stuff of using OpenFOAM

Best regards and good luck!
Bruno
__________________

Last edited by wyldckat; December 26, 2010 at 16:17. Reason: typo...
wyldckat is offline   Reply With Quote

Old   December 26, 2010, 21:05
Thumbs up
  #7
New Member
 
Francesco Crippa
Join Date: Dec 2010
Posts: 4
Rep Power: 15
armonica is on a distinguished road
Great Bruno!
In the end all the things went right. Also paraView works fine. I can't wait to get the good stuff of using OpenFOAM.
Thanks for all.
Francesco
armonica is offline   Reply With Quote

Old   March 29, 2011, 15:54
Default
  #8
New Member
 
ruma
Join Date: Mar 2011
Location: USA
Posts: 22
Rep Power: 15
ruma is on a distinguished road
I am very very new to OpenFOAM. I downloaded OpenFOAM-1.7.1.tar.gz along with the thirdparty.tar.gz . I retrived both files /usr/local/OpenFOAM-1.7.1 dir. The installation instruction say.. to source in my .bashrc file . I hve fedora 13 OS. I am totally confused here how to build up source. Pls pls help me. I am excited to explore its simulation.
ruma is offline   Reply With Quote

Old   March 29, 2011, 16:00
Default OF 1.7.x on the 64 bit Fedora 14
  #9
Senior Member
 
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 20
JonW will become famous soon enough
OF 1.7.x on Fedora 14 (64 bit) works perfectly
See more info about the subject at

http://www.cfd-online.com/Forums/ope...-x86_64-a.html
JonW is offline   Reply With Quote

Old   March 29, 2011, 18:33
Default
  #10
New Member
 
ruma
Join Date: Mar 2011
Location: USA
Posts: 22
Rep Power: 15
ruma is on a distinguished road
Hi Armonica,
How did you test openfoam here. just type foamSystest?

pls give details.
ruma is offline   Reply With Quote

Old   March 30, 2011, 04:40
Default
  #11
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi ruma,

To answer some of your questions scattered over several posts and threads:

Quote:
just type foamSystest?
Nope, it's
Code:
foamInstallationTest
Quote:
The installation instruction say.. to source in my .bashrc file
Yep, simply find the path to the file bashrc in OpenFOAM-1.7.1/etc. Suppose it's "/opt/openfoam171/etc/bashrc". Then, do
Code:
gedit ~/.bashrc
and add
Code:
. /opt/openfoam171/etc/bashrc
(notice the dot (".") at the beginning of the line!), save and close the file, and source your bashrc by typing
Code:
. ~/.bashrc
(notice the dots again!)

Quote:
pls give details.
Indeed, to fix your problem more details are needed
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   March 30, 2011, 12:12
Default
  #12
New Member
 
ruma
Join Date: Mar 2011
Location: USA
Posts: 22
Rep Power: 15
ruma is on a distinguished road
Hi John,
Thnk u very much. Yep, I did run ./Allwmake under $home/OpenFOAM/OpenFOAM-1.7.x/
Checking basic system...
-----------------------------------------------------------------------
Shell: /bin/bash
Host: guest.saha
OS: Linux version 2.6.33.3-85.fc13.x86_64
User: ruma


System check: PASS
==================
Continue OpenFOAM installation.

Step 2: run ./Allwmake . here is the .log file

+ wmakePrintBuild -check
+ wmakeLnInclude OpenFOAM
+ wmakeLnInclude OSspecific/POSIX
+ Pstream/Allwmake
+ wmake libso dummy
+ case "$WM_MPLIB" in
+ set +x
+ WM_OPTIONS=linux64GccDPOptOPENMPI
+ wmake libso mpi
OPwrite.C:29:17: error: mpi.h: No such file or directory
In file included from OPwrite.C:32:
PstreamGlobals.H:55: error: ‘MPI_Request’ was not declared in this scope
PstreamGlobals.H:55: error: template argument 1 is invalid
PstreamGlobals.H:55: error: invalid type in declaration before ‘;’ token
PstreamGlobals.H:56: error: ‘MPI_Request’ was not declared in this scope
PstreamGlobals.H:56: error: template argument 1 is invalid
PstreamGlobals.H:56: error: invalid type in declaration before ‘;’ token
OPwrite.C: In static member function ‘static bool Foam::OPstream::write(Foam::Pstream::commsTypes, int, const char*, std::streamsize)’:
OPwrite.C:74: error: ‘MPI_PACKED’ was not declared in this scope
OPwrite.C:77: error: ‘MPI_COMM_WORLD’ was not declared in this scope
OPwrite.C:78: error: ‘MPI_Bsend’ was not declared in this scope
OPwrite.C:86: error: ‘MPI_PACKED’ was not declared in this scope
OPwrite.C:89: error: ‘MPI_COMM_WORLD’ was not declared in this scope
OPwrite.C:90: error: ‘MPI_Send’ was not declared in this scope
OPwrite.C:94: error: ‘MPI_Request’ was not declared in this scope
OPwrite.C:94: error: expected ‘;’ before ‘request’
OPwrite.C:100: error: ‘MPI_PACKED’ was not declared in this scope
OPwrite.C:103: error: ‘MPI_COMM_WORLD’ was not declared in this scope
OPwrite.C:104: error: ‘request’ was not declared in this scope
OPwrite.C:105: error: ‘MPI_Isend’ was not declared in this scope
OPwrite.C:107: error: request for member ‘append’ in ‘Foam::PstreamGlobals::OPstream_outstandingRequest s_’, which is of non-class type ‘int’
OPwrite.C: In static member function ‘static void Foam::OPstream::waitRequests()’:
OPwrite.C:125: error: request for member ‘size’ in ‘Foam::PstreamGlobals::OPstream_outstandingRequest s_’, which is of non-class type ‘int’
OPwrite.C:131: error: request for member ‘size’ in ‘Foam::PstreamGlobals::OPstream_outstandingRequest s_’, which is of non-class type ‘int’
OPwrite.C: In static member function ‘static void Foam::OPstream::waitRequests()’:
OPwrite.C:125: error: request for member ‘size’ in ‘Foam::PstreamGlobals::OPstream_outstandingRequest s_’, which is of non-class type ‘int’
OPwrite.C:131: error: request for member ‘size’ in ‘Foam::PstreamGlobals::OPstream_outstandingRequest s_’, which is of non-class type ‘int’
OPwrite.C:132: error: request for member ‘begin’ in ‘Foam::PstreamGlobals::OPstream_outstandingRequest s_’, which is of non-class type ‘int’
OPwrite.C:133: error: ‘MPI_STATUSES_IGNORE’ was not declared in this scope
OPwrite.C:134: error: ‘MPI_Waitall’ was not declared in this scope
OPwrite.C:143: error: request for member ‘clear’ in ‘Foam::PstreamGlobals::OPstream_outstandingRequest s_’, which is of non-class type ‘int’
OPwrite.C: In static member function ‘static bool Foam::OPstream::finishedRequest(Foam::label)’:
OPwrite.C:150: error: request for member ‘size’ in ‘Foam::PstreamGlobals::OPstream_outstandingRequest s_’, which is of non-class type ‘int’
OPwrite.C:156: error: request for member ‘size’ in ‘Foam::PstreamGlobals::OPstream_outstandingRequest s_’, which is of non-class type ‘int’
OPwrite.C:166: error: invalid types ‘int[const Foam::label]’ for array subscript
OPwrite.C:168: error: ‘MPI_STATUS_IGNORE’ was not declared in this scope
OPwrite.C:169: error: ‘MPI_Test’ was not declared in this scope
make: *** [Make/linux64GccDPOptOPENMPI/OPwrite.o] Error 1
+ wmake libo OSspecific/POSIX
+ wmake libso OpenFOAM
+ wmake libso lagrangian/basic
__________________________________________________ ____
'[' -d /home/ruma/OpenFOAM/ThirdParty-1.7.x/platforms/linux64Gcc/paraview-3.8.0 -a -r /home/ruma/OpenFOAM/ThirdParty-1.7.x/platforms/linux64Gcc/paraview-3.8.0 ']'
+ '[' -d /home/ruma/OpenFOAM/ThirdParty-1.7.x/platforms/linux64Gcc/paraview-3.8.0 -a -r /home/ruma/OpenFOAM/ThirdParty-1.7.x/platforms/linux64Gcc/paraview-3.8.0 ']'
--------------------------------------------------------------------------------------------------------------------------

I hve also attached make.log.tar file. The last section of ./Allwmake file says Thirdparty shud be kept under $home/OpenFOAM.

**** John : Will you pls check this point? and also
wmake

OpenFOAM uses wmake to perform compilation (building, linking) of its C++ source code into executable code. wmake is called from the Allwmake scripts during the initial build of the complete OpenFOAM project but can be executed directly to update the compilation of any of the OpenFOAM components:
  • all invocations can have an optional directory:
    • wmake $FOAM_UTILITIES/mesh/manipulation/checkMesh
    • wmake libso $FOAM_SRC/finiteVolume
  • recursively build all applications in current or specified directory:
    • wmake all
    • wmake all <dir>
  • build any single object or executable:
    • wmake Make/linux64Gcc4DPOpt/<object>.o
    • wmake <executable>
  • build any single shared library:
    • wmake libso
    • wmake libso <lib dir>


**** After ./Allwmake run ..when I give ./foamInstallationTest ..it gives me error

dot files are nt defined.


"make.log" 191L, 8946C 1,1 Top

Last edited by ruma; March 31, 2011 at 16:22. Reason: Incomplete OpenFOAM Installation
ruma is offline   Reply With Quote

Old   March 30, 2011, 16:17
Default
  #13
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Ruma,

Installing as root is a bad idea. The result is that your user has no write permission and that the environment variable etc are not sourced. If you're compiling it's better to make a directory called OpenFOAM in your user home, put the OpenFOAM files inside that dir, and add the source line to you user's $HOME/.bashrc. Then, source your bashrc and run Allwmake.
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   March 31, 2011, 00:51
Default Problems installing ThirdParty-1.7.1 ON FEDORA
  #14
Member
 
Yuri Feldman
Join Date: Mar 2011
Posts: 30
Rep Power: 15
feldy77 is on a distinguished road
Hi,
I have succesfully installed openFoam on Fedora 32 bit machine , but when trying to install it on Fedora 14 64 bit computer I faced the problem .
First of all I tried to install ThirdParty software and I got the following error message :

========================================
Start ThirdParty Allwmake
========================================

========================================
Compile specific mpi libraries

have OPENMPI shared library
========================================
Build Scotch decomposition library

+ cd scotch_5.1/src
+ mkdir -p /home/yurifeld/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt
+ make scotch
(cd libscotch ; make VERSION=\"5.1\" scotch && make install)
make[1]: Entering directory `/home/yurifeld/OpenFOAM/ThirdParty-1.7.1/scotch_5.1/src/libscotch'
rm -f *~ *.o lib*.so common2* parser_yy.c parser_ly.h parser_ll.c *scotch.h *scotchf.h y.output dummysizes
make CC="gcc" CCD="gcc" SCOTCHLIB=scotch \
scotch.h \
scotchf.h \
libscotch.so \
libscotcherr.so \
libscotcherrexit.so
make[2]: Entering directory `/home/yurifeld/OpenFOAM/ThirdParty-1.7.1/scotch_5.1/src/libscotch'
gcc -O3 -fPIC -DCOMMON_TIMING_OLD -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DSCOTCH_VERSION=\""5.1"\" dummysizes.c -o dummysizes -lz -lm -lrt
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [dummysizes] Error 1
make[2]: Leaving directory `/home/yurifeld/OpenFOAM/ThirdParty-1.7.1/scotch_5.1/src/libscotch'
make[1]: *** [scotch] Error 2
make[1]: Leaving directory `/home/yurifeld/OpenFOAM/ThirdParty-1.7.1/scotch_5.1/src/libscotch'
make: *** [scotch] Error 2
========================================
Build PTScotch decomposition library (requires MPI)

+ cd scotch_5.1/src
+ mkdir -p /home/yurifeld/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/openmpi-1.4.1
+ make ptscotch
(cd libscotch ; make VERSION=\"5.1\" ptscotch && make ptinstall)
make[1]: Entering directory `/home/yurifeld/OpenFOAM/ThirdParty-1.7.1/scotch_5.1/src/libscotch'
rm -f *~ *.o lib*.so common2* parser_yy.c parser_ly.h parser_ll.c *scotch.h *scotchf.h y.output dummysizes
make CFLAGS="-O3 -fPIC -DCOMMON_TIMING_OLD -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DSCOTCH_PTSCOTCH" CC="mpicc" SCOTCHLIB=ptscotch \
scotch.h \
scotchf.h \
libptscotch.so \
libptscotcherr.so \
libptscotcherrexit.so
make[2]: Entering directory `/home/yurifeld/OpenFOAM/ThirdParty-1.7.1/scotch_5.1/src/libscotch'
mpicc -O3 -fPIC -DCOMMON_TIMING_OLD -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DSCOTCH_PTSCOTCH -DSCOTCH_VERSION=\""5.1"\" dummysizes.c -o dummysizes -lz -lm -lrt
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [dummysizes] Error 1
make[2]: Leaving directory `/home/yurifeld/OpenFOAM/ThirdParty-1.7.1/scotch_5.1/src/libscotch'
make[1]: *** [ptscotch] Error 2
make[1]: Leaving directory `/home/yurifeld/OpenFOAM/ThirdParty-1.7.1/scotch_5.1/src/libscotch'
make: *** [ptscotch] Error 2
========================================
Build Metis decomposition

+ cd metis-5.0pre2
+ cpMakeFiles metis
+ set +x
cpMakeFiles metis .
+ wmake libso GKlib
'/home/yurifeld/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libGKlib.so' is up to date.
+ wmake libso libmetis
'/home/yurifeld/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libmetis.so' is up to date.
========================================
Build ParMetis decomposition. Requires MPI.

+ cd ParMetis-3.1
+ cpMakeFiles ParMetis
+ set +x
cpMakeFiles ParMetis .
+ wmake libso METISLib
'/home/yurifeld/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/openmpi-1.4.1/libmetis-parmetis.so' is up to date.
+ wmake libso ParMETISLib
'/home/yurifeld/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/openmpi-1.4.1/libparmetis.so' is up to date.
========================================
Build ParMGridGen

+ cd ParMGridGen-1.0
+ cpMakeFiles ParMGridGen
+ set +x
cpMakeFiles ParMGridGen .
+ wmake libso MGridGen/IMlib
'/home/yurifeld/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libIMlib.so' is up to date.
+ wmake libso MGridGen/Lib
'/home/yurifeld/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libMGridGen.so' is up to date.
========================================
Done ThirdParty Allwmake
========================================
So as far as i understand the problem is in installation of Scotch software.
Then I figured out that -lz error means tat my zlib libraries are missing. I installed them with yum Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Package matching zlib-1.2.5-2.fc14.x86_64 already installed. Checking for update.
Resolving Dependencies
--> Running transaction check
---> Package zlib-devel.x86_64 0:1.2.5-2.fc14 set to be installed
--> Processing Dependency: zlib = 1.2.5-2.fc14 for package: zlib-devel-1.2.5-2.fc14.x86_64
---> Package zlib-static.x86_64 0:1.2.5-2.fc14 set to be installed
---> Package zlibrary.x86_64 0:0.12.10-2.fc14.1 set to be installed
--> Processing Dependency: liblinebreak.so.2()(64bit) for package: zlibrary-0.12.10-2.fc14.1.x86_64
--> Processing Dependency: libfribidi.so.0()(64bit) for package: zlibrary-0.12.10-2.fc14.1.x86_64
---> Package zlibrary-devel.x86_64 0:0.12.10-2.fc14.1 set to be installed
---> Package zlibrary-ui-gtk.x86_64 0:0.12.10-2.fc14.1 set to be installed
---> Package zlibrary-ui-qt.x86_64 0:0.12.10-2.fc14.1 set to be installed
--> Running transaction check
---> Package fribidi.x86_64 0:0.19.2-2.fc12 set to be installed
---> Package liblinebreak.x86_64 0:2.0-1.fc14 set to be installed
---> Package zlib.i686 0:1.2.5-2.fc14 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ================================================== ==========================
Package Arch Version Repository Size
================================================== ================================================== ==========================
Installing:
zlib-devel x86_64 1.2.5-2.fc14 fedora 45 k
zlib-static x86_64 1.2.5-2.fc14 fedora 56 k
zlibrary x86_64 0.12.10-2.fc14.1 fedora 1.1 M
zlibrary-devel x86_64 0.12.10-2.fc14.1 fedora 49 k
zlibrary-ui-gtk x86_64 0.12.10-2.fc14.1 fedora 73 k
zlibrary-ui-qt x86_64 0.12.10-2.fc14.1 fedora 80 k
Installing for dependencies:
fribidi x86_64 0.19.2-2.fc12 fedora 48 k
liblinebreak x86_64 2.0-1.fc14 fedora 19 k
zlib i686 1.2.5-2.fc14 fedora 82 k

Transaction Summary
================================================== ================================================== ==========================
Install 9 Package(s)

Total size: 1.5 M
Installed size: 4.6 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
package zlib-1.2.5-3.fc15.x86_64 (which is newer than zlib-1.2.5-2.fc14.i686) is already installed

Error Summary
-------------

yum install zlib*

but still the linking process did not succeed. more over I tried to locate zlib.h file
by locate zlib command but also unsuccessfully.
Any ideas, I really need your help
Yuri
feldy77 is offline   Reply With Quote

Old   March 31, 2011, 04:06
Default
  #15
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Yuri,

Maybe ld can't find zlib or the right zlib. Perhaps it helps to add the location of the right zlib to the LD_LIBRARY_PATH variable. For instance, if zlib lives in /usr/lib/libz.so, then you could add something like below to $HOMA/.bashrc and then source your bashrc:
Code:
LD_LIBRARY_PATH=/usr/lib/libz.so:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   March 31, 2011, 13:06
Default
  #16
New Member
 
ruma
Join Date: Mar 2011
Location: USA
Posts: 22
Rep Power: 15
ruma is on a distinguished road
Quote:
Originally Posted by gwierink View Post
Hi Ruma,

Installing as root is a bad idea. The result is that your user has no write permission and that the environment variable etc are not sourced. If you're compiling it's better to make a directory called OpenFOAM in your user home, put the OpenFOAM files inside that dir, and add the source line to you user's $HOME/.bashrc. Then, source your bashrc and run Allwmake.


Hi Gijs,

I hve small q's. If I dont install under common file system i.e /usr/local/OpenFOAM/...
then how other users can use OpenFOAM. if it is only my /home/ dir, then probably only I can run OpenFOAM. I like to keep it under cooom file system . Then in that case, how to set up environment giving path to my .bashrc file

What I can do that I add the path of OpenFOAM in my .bashrc file path set up.
ruma is offline   Reply With Quote

Old   March 31, 2011, 14:16
Default
  #17
Senior Member
 
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 20
JonW will become famous soon enough
fieldy77, why would you want to do Allmake in ThirdParty? (unless you want to use paraFoam)
I only do Allmake in OpenFOAM1.7.x and all works fine (I use paraview only).
Note I tried once to do Allmake without having ThirdParty present in the OF dir, and got lot of errors. So apparently for openfoam to compile, ThirdParty has to be present (likely because of openMPI and other tools, which works fine on mine system). Again, see http://www.cfd-online.com/Forums/ope...tml#post301689
about Fedora 14 64 bit steps for installing OF
JonW 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 06:11
Problem installing OpenFOAM on Fedora 10 ptb OpenFOAM Installation 8 March 29, 2011 15:46
Installing OpenFOAM 1.7.1 on AIX 5.3 hrn OpenFOAM Installation 3 October 30, 2010 08:33
Installation of OpenFOAM on Fedora 11 jits_aps90 OpenFOAM Installation 0 August 20, 2009 03:23
problem in installation of Fedora code peter Main CFD Forum 1 August 22, 2006 10:03


All times are GMT -4. The time now is 00:50.