CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   OpenFOAM 1.5 dev (https://www.cfd-online.com/Forums/openfoam/72365-openfoam-1-5-dev.html)

LVDH February 5, 2010 05:23

Well and I have installed OF 1.6. I do have a 64bit system.
I am going to do what norman suggested. When its done I will post the log.

norman1981 February 5, 2010 05:30

If you have a 64-bit system you have to replace this line:
wget http://mesh.dl.sourceforge.net/sourc....linuxGcc.gtgz
with this one:
wget http://mesh.dl.sourceforge.net/sourc...inux64Gcc.gtgz
and the line
tar xzf ThirdParty.linuxGcc.gtgz
with this one:
tar xzf ThirdParty.linux64Gcc.gtgz

because you have to choose the binaries in accord with your system architecture.

Norman

LVDH February 5, 2010 05:51

I do not know why but this command:

svn co https://openfoam-extend.svn.sourcefo...enFOAM-1.5-dev

does not work. That is why I initially downloaded the *.tar.gz.

The message that appears when I try the svn co is this:

Code:

XXXX:~/OpenFOAM> svn co https://openfoam-extend.svn.sourcefo...enFOAM-1.5-dev
svn: OPTIONS von »https://openfoam-extend.svn.sourcefo...enfoam-1.5-dev«: Could not resolve hostname `openfoam-extend.svn.sourcefo...enfoam-1.5-dev': Host not found (https://openfoam-extend.svn.sourcefo...enfoam-1.5-dev)

Is it possible that the IT at the company I am working in is blocking this action?

LVDH February 5, 2010 05:54

This is crazy, the both wgets result in files named like this:

sourc....linuxGcc.gtgz?download&failedmirror=mesh. dl.sourceforge.net

The good thing is that I have already arranged my beerdrinking for this night.

norman1981 February 5, 2010 05:59

1) Copy the full path please:
'https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev'

2) Try simply copying the other two wget path (without the wget command of course) and paste them in a new tab of your browser.. it should ask you to save the package.

LVDH February 5, 2010 06:38

OK,
Norman thanks to your help the ./Allwmake is running again.

I really appreciate your help.

Thank you very much!

bigphil February 5, 2010 08:09

The 'dev' can also be downloaded from: http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/

Philip C

dadros February 5, 2010 08:52

Hi Andre, Norman and others,

I think I have the same problem:
Also trying to compile OF-1.5-dev, already tried with ThirdParty package of 1.6, and OpenFOAM-1.5-dev/etc/settings.sh altered accordingly.

Now following Normans suggestion and using that ThirdParty package.

I get the following error
Code:

/home/ddros/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.3.1/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
make: *** [Make/linux64GccDPOpt/adler32.o] Error 1
make: *** Waiting for unfinished jobs....

I think I know what it is. It has to do with Norman 0) step. I am missing the mpfr library. That is why I was using the ThirdParty package of 1.6, the mpfr library is included in that one.

If I am going to install the mpfr library separately I also need the gmp library I think?

My question: how to install the correct versions of these two libraries, in the correct order/place? Just copying form the 1.6 ThirdParty package seems a bit harsh.

elvis February 5, 2010 09:24

@ moksen take a look at svn

http://openfoam-extend.svn.sourcefor...sticFluidFoam/

http://openfoam-extend.svn.sourcefor...sticFluidFoam/

LVDH February 5, 2010 09:28

1 Attachment(s)
Hi,
this is my last post for this week.
The included log shows the new failures.
You can find them by searching for "Fehler".
I have already done that but have no idea how to solve them.

Have a nice weekend,
Andre

norman1981 February 5, 2010 09:45

Quote:

Originally Posted by bigphil (Post 245088)
The 'dev' can also be downloaded from: http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/

Philip C

Dear Philip,
you are right but I think using the SVN version is better because you can upgrade your OF without too much troubles while the powerlab's version is not kept frequently updated..BTW it is only my opinion and that is also a good alternative. Thanks for the contribution,
Norman

norman1981 February 5, 2010 09:53

Quote:

Originally Posted by LVDH (Post 245100)
Hi,
this is my last post for this week.
The included log shows the new failures.
You can find them by searching for "Fehler".
I have already done that but have no idea how to solve them.

Have a nice weekend,
Andre

Hi,
try re-running ./Allwmake without the allwclean.. I saw your decompositionMethods library was not compiled.
Norman

LVDH February 8, 2010 03:27

It is working now.

Thank you very much.

maja February 22, 2010 08:00

Hi! I'm desperate!
I spent a week trying to install OF-1.5-dev for the same reason Andre did. I need GGI working. I followed the instructions I found here from Norman. Everything was OK (finally) until I had to run Allwmake. I did not find any Allwmake script in $HOME/OpenFOAM directory, so I ran Allwmake in $HOME/OpenFOAM/OpenFOAM-1.5-dev directory. Aftre that I got errors like this:

bin/linux64GccDPOpt/fluentMeshToFoam
/usr/bin/ld: cannot find -liberty
collect2: ld returned 1 exit status
make[3]: *** [/home/maja/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/fluentMeshToFoam] Error 1
make[2]: *** [fluentMeshToFoam] Error 2
make[4]: Nothing to be done for `application'.

I have Ubuntu 9.1 64 bit. I also installed OF1.6, but realized GGi is not working there. I renamed the OpenFOAM directory where OF1.6 is installed. But I did not delete this version. I hope this is ok.
In ~/.bashrc file I commented the line with 1.6 version.

I have no idea what else to do.

Please, someone help me.
Regards, Maja

kathrin_kissling February 22, 2010 08:14

Hi Maja,

seems like you are missing some library.
Try to install binutils-dev on your machine. (Should work with your OS installation helper).

Best

Kathrin

ngj February 22, 2010 08:24

Hi Maja

You need to install "binutils-dev" which inclulde the missing dependency.

Best regards,

Niels

maja February 22, 2010 08:49

Thank you Kathrin and Niels!
It works!!

rieuk February 25, 2010 05:13

1 Attachment(s)
Hey, I've got the binutils-dev installed but get errors like Maja. No commands work even after running allwmake, for eg blockMesh gives "command not found". I've attached a portion of the allwmake output with errors. Can any one give me a hand?

dadros February 25, 2010 05:22

the log file you posted seems empty..

after the build did you source your bashrc?

# . $HOME/.bashrc

rieuk February 25, 2010 05:36

1 Attachment(s)
Yes of course I did source it. The lines in the bashrc file are,

. $HOME/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc
export PATH=$PATH\:$HOME/OpenFOAM/OpenFOAM-1.5-dev/wmake

Sorry about the log file, it's attached now.

I source the bashrc by typing "source ~/.bashrc"


All times are GMT -4. The time now is 06:11.