|
[Sponsors] |
March 13, 2009, 11:09 |
Maybe you're not allowed to th
|
#1 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Maybe you're not allowed to the tutorials? I'd recommend leaving the installed tutorials untouched and make your own private copy as discribed in on the first page of chapter 2 in the UserGuide
Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
March 16, 2009, 07:16 |
|
#2 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Last post with the old message board and I managed to mess it up. The words "write to" have to be inserted in the first sentence to let it make any sense.
Bernhard BTW: am I the only one who doesn't see the previous messages in this thread? All this clicking in the new software makes my head spin |
|
March 19, 2009, 06:53 |
Allwmake Error
|
#3 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Hi,
I am trying to install OpenFOAM 1.5 on my macbook pro intel core 2 Duo. I have tried to followed the steps above (well, the steps that were above) and those on the wiki website. I think everything went OK up until Allwmake. The first error I get is: Making distclean in test make[1]: *** No rule to make target `distclean'. Stop. make: *** [distclean-recursive] Error 1 I'm not entirely sure what I am doing, and any help would be much appreciated. Thanks in advance for any help, Philip C. |
|
March 19, 2009, 07:46 |
|
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Phil!
Which Allwmake are you using? Usually applications/test isn't part of the standard-build. So at least provide us with the information a) which command you executed b) in which directory Bernhard |
|
March 19, 2009, 07:53 |
|
#5 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Hi Bernhard,
Thanks for helping me. I ran ./Allwmake in the OpenFOAM/OpenFOAM-1.5 directory. I wasn't quite sure if I set-up the gcc compiler correctly, as I already had xcode tools installed, but then I also tried install it in the OpenFOAM as it says in the README file. Also, by the way, I get message: This seems to be an Intel-Mac please tell me the output of 'uname -p'. Bernhard. when I update the bashrc. Philip. |
|
March 19, 2009, 11:02 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
The compiler is not the source of your problem I think. Don't know what make is doing in the test-directory and why it is trying to clean there. What you posted: is it the whole output of ./Allwmake? That is from the days when I only had a PPC. You can ignore it or comment it out. Compilation should work anyway |
||
March 19, 2009, 11:14 |
|
#7 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Bernhard,
When I run ./Allwmake, it keeps running for quite a while, before exiting with an error, I just put up the first error. I'm not sure if it helps but when I run ./Allwmake, here is the first part of what I get (with the first error bold): dhcp-892b9661:OpenFOAM-1.5 philipcardiff$ ./Allwmake + cd . + cd wmake/src + make make: Nothing to be done for `all'. + cd //Volumes/OpenFOAM/ThirdParty + ./Allwmake + '[' -n '' ']' + '[' -n '' ']' + '[' -n '' ']' + '[' -n '' ']' + '[' -n '' ']' + wmake libso zlib-1.2.3 '//Volumes/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libz.dylib' is up to date. + cd malloc + ./Allwmake + wmake libso hoard '//Volumes/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libhoard.dylib' is up to date. + wmake libo fbsdmalloc '//Volumes/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libfbsdmalloc.o' is up to date. + case "$WM_MPLIB" in + '[' -r //Volumes/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/darwinIntelDPOpt/lib/libmpi.so ']' + '[' -r //Volumes/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/darwinIntelDPOpt/lib/libmpi.a ']' + cd //Volumes/OpenFOAM/ThirdParty/openmpi-1.2.6 + make distclean Making distclean in test make[1]: *** No rule to make target `distclean'. Stop. make: *** [distclean-recursive] Error 1 + rm -rf //Volumes/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/darwinIntelDPOpt + ./configure --prefix=//Volumes/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/darwinIntelDPOpt --disable-mpirun-prefix-by-default --disable-orterun-prefix-by-default --enable-shared --disable-static --disable-mpi-f77 --disable-mpi-f90 --disable-mpi-cxx --disable-mpi-profile checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes ================================================== ========================== == Configuring Open MPI ======================= I then control+c, to stop it. Thanks for helping, Philip |
|
March 19, 2009, 11:52 |
|
#8 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
I let ./Allwmake run until it exits with an error, and many of the solvers seem to have been compiled but blockMesh has not been compiled so I cannot check are they actually working.
I can print out more of the errors if it helps or upload the Allwmake.log. Philip |
|
March 19, 2009, 12:18 |
|
#9 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Ah. OK. That "distclean". That is not strictly an OF-problem that is while compiling OpenMPI (or before compiling it to be exact). Just ignore it and let the compilation continue. Later errors should worry you.
First test to see whether what you've got is actually working is to have a look into $FOAM_APPBIN and call any solver you might find there with -h. You should then at least see the logo and a help message Bernhard |
|
March 19, 2009, 12:47 |
|
#10 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
There are 147 apps in $FOAM_APPBIN, it seems to be missing some, such as blockMesh. (On my linux 1.4 installation, there are over 220)
When I run one of the solvers that are there, it seems to act normally and i see the OpenFOAM logo and a help message. The next error seems to be: + cd conversion + ./Allwmake + wmake libso + wmake libso autoMesh ld: library not found for -ldynamicMesh collect2: ld returned 1 exit status make: *** [//Volumes/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libautoMesh.dylib] Error 1 Also if it helps, I get these warnings: configure: WARNING: -fno-strict-aliasing has been added to CFLAGS configure: WARNING: -finline-functions has been added to CXXFLAGS configure: WARNING: *** Fortran 77 bindings disabled (could not find compiler) configure: WARNING: *** Fortran 90/95 bindings implicitly disabled (because configure: WARNING: *** Fortran 77 bindings were disabled) configure: WARNING: *** The ROMIO io component requires the MPI profiling layer Thanks for helping, Philip. |
|
March 19, 2009, 16:12 |
|
#11 | |||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Quote:
Quote:
|
||||
March 20, 2009, 07:34 |
|
#12 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Bernhard,
I'll looked again and found this error earlier on, I think this is the earliest error: + '[' -d //Volumes/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/openmpi-1.2.6 ']' + wmake libso parMetisDecomp parMetisDecomp.dep:260: warning: overriding commands for target `Make/darwinIntelDPOpt/parMetisDecomp.o' parMetisDecomp.dep:258: warning: ignoring old commands for target `Make/darwinIntelDPOpt/parMetisDecomp.o' ld: duplicate symbol Foam:arMetisDecomp::decompose(Foam::Field<int>&, Foam::Field<int>&, Foam::Field<Foam::Vector<double> > const&, Foam::Field<int>&, Foam::Field<int>&, Foam::List<int> const&, Foam::List<int>&)in parMetisDecomp.o and parMetisDecomp.o collect2: ld returned 1 exit status make: *** [//Volumes/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/openmpi-1.2.6/libparMetisDecompositionMethod.dylib] Error 1 + wmake libso MGridGenGamgAgglomeration MGridGenGAMGAgglomeration.dep:261: warning: overriding commands for target `Make/darwinIntelDPOpt/MGridGenGAMGAgglomeration.o' MGridGenGAMGAgglomeration.dep:257: warning: ignoring old commands for target `Make/darwinIntelDPOpt/MGridGenGAMGAgglomeration.o' MGridGenGAMGAgglomerate.dep:261: warning: overriding commands for target `Make/darwinIntelDPOpt/MGridGenGAMGAgglomerate.o' MGridGenGAMGAgglomerate.dep:257: warning: ignoring old commands for target `Make/darwinIntelDPOpt/MGridGenGAMGAgglomerate.o' ld: duplicate symbol Foam::MGridGenGAMGAgglomeration::MGridGenGAMGAgglo meration(Foam::lduMesh const&, Foam::dictionary const&)in MGridGenGAMGAgglomeration.o and MGridGenGAMGAgglomeration.o collect2: ld returned 1 exit status make: *** [//Volumes/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libMGridGenGAMGAgglomeration.dylib] Error 1 Hopefully this helps, Philip |
|
April 29, 2009, 08:44 |
|
#13 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
I got OF compiled and working but paraFoam still isn't as I said in the newer thread:
http://www.cfd-online.com/Forums/ope...-mac-os-x.html |
|
April 29, 2009, 14:33 |
|
#14 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
/Users/bgschaid/OpenFOAM/ThirdParty/Paraview-3.4.0/platforms/darwinIntel/bin/paraview Look on your machine in a similar location (username and version-number might differ) for the executable and adapt the variables in etc/apps/paraview3/bashrc accordingly Bernhard PS: when refering to a specific post use the permalink in the upper right corner of that post (for instance http://www.cfd-online.com/Forums/ope...tml#post214617) this helps tremendously to quickly get to the point. Thanks |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX CLL OpenFOAM | hellorishi | OpenFOAM Pre-Processing | 1 | May 5, 2011 07:43 |
OpenFoam vs CFX5 mass balance in OpenFoam | tangd | OpenFOAM Running, Solving & CFD | 33 | May 23, 2010 17:36 |
[blockMesh] CheckMesh error using a tutorial from OpenFOAM 114 with openFOAM 13 | martapajon | OpenFOAM Meshing & Mesh Conversion | 7 | January 21, 2008 13:52 |
OpenFOAM users in Munich OpenFOAM benutzer in M%c3%bcnchen | jaswi | OpenFOAM | 0 | August 3, 2007 14:11 |
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix | mbeaudoin | OpenFOAM Installation | 2 | April 28, 2006 09:54 |