Quote:
I have the same problem. As far as I know zlib is included in third party software. So what could be the reason for this problem? |
Greetings misakagan,
Quote:
If not, you can copy the zlib version that is in the old ThirdParty-1.6 source package - available here - to the ThirdParty-1.7.* folder, then run: Code:
wmake libso zlib Best regards, Bruno |
I need help. Pls help how did you build source. I have gcc 4.5 version . My system is fedora 13 (64bit). I kept the pack /usr/local/OpenFOAM-1.7.1
There wmake . I added the line link in my .bashrc (followed their instruction). But how did you you build that. Do I have to use wmake , it is nt doing anyhting. |
Quote:
Hi Could you build the source? Will you pls help ? |
Greetings Ruma and welcome to the forum!
Start by reading this post: http://www.cfd-online.com/Forums/ope...tml#post286214 For more details about each step, start reading from this post: http://www.cfd-online.com/Forums/ope...tml#post282463 Best regards and good luck! Bruno |
HI everyone,
I am getting lots of err from LibPstream.so . I am attaching the wmake.log file fr ./Allwmake run. /home/ruma/OpenFOAM/OpenFOAM-1.7.x/src/finiteVolume/lnInclude/readPISOControls.H:14: warning: unused variable ‘nOuterCorr’ /usr/bin/ld: cannot find -ldl/home/ruma/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/openmpi-1.4.1/libPstream.so collect2: ld returned 1 exit status make[2]: *** [/home/ruma/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoCentralDyMFoam] Error 1 make[1]: *** [rhoCentralFoam] Error 2 /usr/bin/ld: cannot find -ldl/home/ruma/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/openmpi-1.4.1/libPstream.so collect2: ld returned 1 exit status make[2]: *** [/home/ruma/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoPisoFoam] Error 1 make[1]: *** [rhoPisoFoam] Error 2 Making dependency list for source file electrostaticFoam.C /usr/bin/ld: cannot find -ldl/home/ruma/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/openmpi-1.4.1/libPstream.so collect2: ld returned 1 exit status make[2]: *** [/home/ruma/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoPorousSimpleFoam] Error 1 make[1]: *** [rhoPorousSimpleFoam] Error 2 The errors are mainly due to /usr/bin/ld: cannot find -ldl/home/ruma/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/openmpi-1.4.1/libPstream.so Hi Luvdna, I tried to follow ur help link [ failure of DSO link] I didnt understand how to make changes. Pls suggest me. Also, I hve gcc 4.4.5 version. I tried to install gcc-g++ 4.5.2 version, download it but couldnt install it Pls suggest me. |
I guess the problem is the wmake general rule.
Please try this cd ~/OpenFOAM/OpenFOAM-1.7.x/wmake/rules/linux64Gcc edit general change the stuff in the "PROJECT_LIBS = ... " over to PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl $(FOAM_MPI_LIBBIN)/libPstream.so don't miss the space between -ldl and $(). |
Hi,
Thnx a lot. Did you follow OF bug issues I am trying to follow to change /solver/s Make/option file EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude EXE_LIBS = -lfiniteVolume to EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude EXE_LIBS = -L$(FOAM_MPI_LIBBIN) \ -lPstream \ -lfiniteVolume http://www.openfoam.com/mantisbt/view.php?id=15 |
Quote:
HI, Finally I could install OF-1.7.x with Thirdparty-1.7.x on my Fedora 13 X_86_64 system with gcc 4.4.5 version. After 4 trial , sucessful(perhaps) Though in $FOAM_RUN(following git repo instructions: ) I tried to run Run the first example case of incompressible laminar flow in a cavity:
Now Step II: run each appl. (solver) (spe incompressible) separately and see if runs perfectly. P.S : Dear l_r_mcglashan --- Thnk u so much. With all ur help, I could install it. In ur bug report, as Mattis proposed to add the http://www.openfoam.com/mantisbt/view.php?id=15 Thanks for the reference. What a strange behaviour to make default. Can you try adding -Xlinker --add-needed to the link line? So in $WM_DIR/rules/linux64Gcc/c++ change LINKLIBSO to: LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed Can you let us know if this works? --- Do I need to add /rules/linux64Gcc/c++ ; change the LINKLIBSO though I didnt get any error. I need to check each module. paraFoam dint run(crashed) . ./foamInstallationtest went well without ERROR. I posted here & thre couple of times, Can anyone pls delete those and keep only this one. |
Here is log file
http://pastebin.com/sSE0jp8h Attn: I hev problem installing gcc-G++4.5.2 fr source pack. Any help? |
Greetings Ruma,
Quote:
Good luck! Bruno |
Quote:
Thnks for all ur help. I hve still problem with installing gcc-g++-4.5.2 . I downloaded gcc-g++-4.5.2.tar.gz from gnu (ftp) site. And I untared it /usr/local/ . so it gives the dir gcc-4.5.2 under which there is 2 dirs gcc/ libstdc++-v3/ . I dont see any .config file to build up source. How to do tht step by step . I need gcc4.5.2 version in my 64 bit system. Pls help. thnkx ruma |
Hi Ruma,
Try the following, it should work (type in line by line): Code:
cd $HOME |
Greetings to all!
@Ruma: If you don't network access on the machine where you are installing OpenFOAM, then you can still run "./build-gcc45", because it will give you a list of the files that need to be downloaded and where you need to place them for running the script again, after you have them. edit: OK, maybe I didn't make myself very clear. If you don't have internet access on your machine, then follow these steps:
Best regards, Bruno |
All times are GMT -4. The time now is 17:45. |