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

OpenFOAM14 for Mac OSX Darwin 104

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2008, 07:26
Default Dear Bernhard, Thank you fo
  #101
Member
 
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17
kjmaki is on a distinguished road
Dear Bernhard,

Thank you for your philanthropic generosity with your knowledge in these matters! I do regret to share that after your assistance, I am still unsuccessful at compiling on leopard.

1. My MACOSX_DEPLOYMENT_TARGET was set to 10.4, when I change it to 10.5, there is no effect.

2.
superusers-macbook-pro-15:~/OpenFOAM/OpenFOAM-1.4.1-dev kjmaki$ grep '.o' src/Pstream/dummy/Make/darwinDPOpt/*
Binary file src/Pstream/dummy/Make/darwinDPOpt/IPread.o matches
Binary file src/Pstream/dummy/Make/darwinDPOpt/OPwrite.o matches
Binary file src/Pstream/dummy/Make/darwinDPOpt/Pstream.o matches
src/Pstream/dummy/Make/darwinDPOpt/dependencies:dependencies up to date
src/Pstream/dummy/Make/darwinDPOpt/files:# 1 "<command>"
src/Pstream/dummy/Make/darwinDPOpt/localObjectFiles:Pstream.o\
src/Pstream/dummy/Make/darwinDPOpt/localObjectFiles:IPread.o\
src/Pstream/dummy/Make/darwinDPOpt/localObjectFilesPwrite.o
src/Pstream/dummy/Make/darwinDPOpt/objectFiles:$(OBJECTS_DIR)/Pstream.o\
src/Pstream/dummy/Make/darwinDPOpt/objectFiles:$(OBJECTS_DIR)/IPread.o\
src/Pstream/dummy/Make/darwinDPOpt/objectFiles:$(OBJECTS_DIR)/OPwrite.o
src/Pstream/dummy/Make/darwinDPOpt/options:# 1 "options"
src/Pstream/dummy/Make/darwinDPOpt/options:# 1 "<command>"
src/Pstream/dummy/Make/darwinDPOpt/options:# 1 "options"

3.
`/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/dummy/libPstream.dyli b' is up to date.

4. When I installed leopard, I chose the "case-sensitive' format for my harddisk. I have noticed that this has prevented installing several commercial softwares. Has anyone else had problems with this, and could it be related to my present issues?

Thanks, and a happy foaming day to you all!

Kevin
kjmaki is offline   Reply With Quote

Old   April 15, 2008, 16:31
Default Hi Kevin! People who know m
  #102
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Kevin!

People who know me, will tell you, that there is no philantropic bone in my body. I only like to confuse people with cryptic remarks and then watch laughing as they stumble into the dark ;)

1. OK. As long it is set. What makes a difference is >10.3 (something with dynamic linking, can't remember stuff I solved two years ago)

2+3: I meant something like "grep __ZN4Foam8OPstream5writeEPKc *.o" (but that should turn out one file and it should be fine as the dylib got linked)
There was something the matter with the trisurface-lib (and that is where your linking trouble starts), but I can't put my finger on it

4: That, with all respect, was not a good move. For the reasons you mentioned one should only create a disk-image (or a special partition) for the OF-stuff. I think it should be stressed on the Wiki-page

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
gschaider is offline   Reply With Quote

Old   April 15, 2008, 16:47
Default Hi Kevin! I just checked th
  #103
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Kevin!

I just checked the two OF-installations on my iBoot. One has in
$FOAM_SRC/triSurface/Make/options
the lines
EXE_INC = -I$(LIB_SRC)/zlib-1.2.1/lnInclude
LIB_LIBS = -lOpenFOAM -lz

the other doesn't

Maybe the LIB_LIBS-line makes the difference

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
gschaider is offline   Reply With Quote

Old   April 16, 2008, 17:12
Default Hi Bernhard, Thanks for the
  #104
Member
 
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17
kjmaki is on a distinguished road
Hi Bernhard,

Thanks for the additional information. I have tried changing the $FOAM_SRC/triSurface/Make/options file, but it has no effect.

I have realized that I was not able to build openmpi properly, but this will not be a big issue since I dont plan on running anything that will require multi-threads on my laptop. Thus, I have set my $WM_MPLIB to be empty.

foamFlex++ and libPstream.dylib seem to be built properly, but when I go to triSurface/interfaces/STL/ and execute foamFlex++ on the readSTLASCII.L, I get the following:

kjmaki$ foamFlex++ readSTLASCII.L
dyld: Symbol not found: __ZN4Foam8OPstream5writeEPKc
Referenced from: /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/dummy/libPstream.dylib
Expected in: dynamic lookup

Trace/BPT trap

Any thoughts on what I should do now????

Thanks again....Kevin

PS my harddisk is now case-insensitive, with the special foam partition.
kjmaki is offline   Reply With Quote

Old   April 17, 2008, 08:56
Default Dear Fellow-Foamers, I am s
  #105
Member
 
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17
kjmaki is on a distinguished road
Dear Fellow-Foamers,

I am still working on my foamFlex++ pstream difficulties, and obviously I am "way out of my league here". Any suggestions will be gratefully appreciated.

I run the nm command on the libPstream.dylib and I see that here are many undefined symbols in this library's table. When I look at the compile log for the $FOAM_SRC/Allwmake, there is another similar error with the combustion lib ->

wmake libso combustion
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old commands for target `.L.dep'
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old commands for target `.L.dep'
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old commands for target `.L.dep'
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old commands for target `.L.dep'
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old commands for target `.L.dep'
SOURCE=hhuCombustionThermo/hhuCombustionThermos.C ; g++ -Ddarwin -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/thermophysicalModels/basic/lnInc lude -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/thermophysicalModels/specie/lnIn clude -IlnInclude -I. -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/darwinDPOpt/hhuCombustionThermos.o
SOURCE=chemistryReaders/chemkinReader/chemkinLexer.L ; foamFlex++ -f $SOURCE ; mv lex.yy.cc Make/darwinDPOpt/chemkinLexer.C ; g++ -Ddarwin -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/thermophysicalModels/basic/lnInc lude -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/thermophysicalModels/specie/lnIn clude -IlnInclude -I. -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c Make/darwinDPOpt/chemkinLexer.C -o Make/darwinDPOpt/chemkinLexer.o
dyld: Symbol not found: __ZN3MPI3Win14Set_errhandlerERKNS_10ErrhandlerE
Referenced from: /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/dummy/libPstream.dylib
Expected in: dynamic lookup

/bin/sh: line 1: 3820 Trace/BPT trap foamFlex++ -f $SOURCE
mv: rename lex.yy.cc to Make/darwinDPOpt/chemkinLexer.C: No such file or directory
i686-apple-darwin9-g++-4.0.1: Make/darwinDPOpt/chemkinLexer.C: No such file or directory
i686-apple-darwin9-g++-4.0.1: no input files
make: *** [Make/darwinDPOpt/chemkinLexer.o] Error 1
make: *** Waiting for unfinished jobs....

Does this mean that my Pstream library is not built well? Can anyone explain how I could glean more information from the troublesome symbol names?

Help please :-)
kjmaki is offline   Reply With Quote

Old   May 27, 2008, 16:10
Default I am stuck somewhere in the sa
  #106
New Member
 
Mads Reck
Join Date: Mar 2009
Posts: 17
Rep Power: 17
gabriel_stokes is on a distinguished road
I am stuck somewhere in the same swamp as you, Kevin. Any luck so far?

For sure, I will make a cookbook on how to do this, when/if I finally succeed...

/Mads
gabriel_stokes is offline   Reply With Quote

Old   May 27, 2008, 17:29
Default Hi Mads, Well, I am in a di
  #107
Member
 
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17
kjmaki is on a distinguished road
Hi Mads,

Well, I am in a different swamp now, at least it is a better smelling one!

If I remember correctly, I was able to resolve my problem by ensuring that foamFlex++ was used instead of flex++. Initially I was altering the file $WM_PROJECT_DIR/wmake/rules/General/flex++, but it was the $WM_PROJECT_DIR/wmake/rules/Darwin/flex++ that needed the change.

BTW, I have flex++ version 2.5.33

I now wish that I had more carefully documented the issues that I had to overcome to compile 1.4.1-dev on my MacBook Pro, thanks in advance for your offer to do so!

kevin
kjmaki is offline   Reply With Quote

Old   May 28, 2008, 01:16
Default Hi Kevin, thank you for your s
  #108
New Member
 
Mads Reck
Join Date: Mar 2009
Posts: 17
Rep Power: 17
gabriel_stokes is on a distinguished road
Hi Kevin, thank you for your swift answer.


Uhm...flex++? :-)

I see the flex++ file in the directory you mention, but what change does it need - is it stated above, I can't seem to find it.

/Mads
gabriel_stokes is offline   Reply With Quote

Old   May 28, 2008, 06:48
Default Hi Mads, Please excuse me f
  #109
Member
 
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17
kjmaki is on a distinguished road
Hi Mads,

Please excuse me for not giving enough detail. These are the steps I followed (those that I can remember) to build 1.4.1-dev on Leopard. By the way, I still have some errors with things like openmpi, foamx, but the part of the installation that I need is working well.

1. In the Darwin section of $WM_PROJECT_DIR/.OpenFOAM-1.4.1-dev/bashrc, I set
export WM_MPLIB=
This causes the dummy library to be made.

2. Look further up in this thread about changing the uint to unsigned integer. This may be corrected in the SVN version, but it worth verifying.

3. There is other info on the message board about dealing with the flex++ issue, and I suggest reading around a bit. I can describe what I did, but I can't really explain why it works and I am not confident that I am doing things right. My file wmake/rules/darwin/flex++ reads:

.SUFFIXES: .L

Ltoo = foamFlex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
#Ltoo = flex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@

.L.dep:
$(MAKE_DEP)
~

Happy FOAMing,

Kevin
kjmaki is offline   Reply With Quote

Old   May 29, 2008, 01:17
Default Hey Kevin, thanks a lot. Po
  #110
New Member
 
Mads Reck
Join Date: Mar 2009
Posts: 17
Rep Power: 17
gabriel_stokes is on a distinguished road
Hey Kevin,

thanks a lot. Point 1 and 3 was already "fixed" in the current SVN, point 2 have I fixed myself using the guidelines above.

I still get errors, the first one being:

[...CUT...]
+ wmake libso triSurface
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
SOURCE=triSurface/interfaces/OFF/readOFF.C ; g++ -Ddarwin -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -IlnInclude -I. -I/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/darwinDPOpt/readOFF.o
SOURCE=triSurface/interfaces/STL/readSTLASCII.L ; foamFlex++ -f $SOURCE ; mv lex.yy.cc Make/darwinDPOpt/readSTLASCII.C ; g++ -Ddarwin -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -IlnInclude -I. -I/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c Make/darwinDPOpt/readSTLASCII.C -o Make/darwinDPOpt/readSTLASCII.o
dyld: Symbol not found: __ZN4Foam8OPstream5writeEPKc
Referenced from: /Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/dummy/libPstream.dylib
Expected in: dynamic lookup

/bin/sh: line 1: 97911 Trace/BPT trap foamFlex++ -f $SOURCE
mv: rename lex.yy.cc to Make/darwinDPOpt/readSTLASCII.C: No such file or directory
i686-apple-darwin9-g++-4.0.1: Make/darwinDPOpt/readSTLASCII.C: No such file or directory
i686-apple-darwin9-g++-4.0.1: no input files
make: *** [Make/darwinDPOpt/readSTLASCII.o] Error 1
make: *** Waiting for unfinished jobs....

[...CUT...]

/Mads
gabriel_stokes is offline   Reply With Quote

Old   June 6, 2008, 12:04
Default My apologies to whomever is fo
  #111
New Member
 
Mads Reck
Join Date: Mar 2009
Posts: 17
Rep Power: 17
gabriel_stokes is on a distinguished road
My apologies to whomever is following this thread in hopes of installing OpenFOAM on a Mac (and haven't succeeded)...I promised a cookbook but I can't do it, since I can't compile and install this beast.

Any help is still appreciated. Here is my error as it looks right now (down to the first error):

+ cd wmake
+ ./makeWmake
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
make: Nothing to be done for `all'.
+ cd src
+ ./Allwmake
+ cd /Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM
+ wmakeLnInclude .
+ wmake libso zlib-1.2.3
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
`/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/libz.dylib' is up to date.
+ '[' OPENMPI = OPENMPI -a '!' -r /Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/src/openmpi-1.2.6/platforms/darwinDPOpt/ lib/libmpi.a -a '!' -r /Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/src/openmpi-1.2.6/platforms/darwinDPOpt/ lib/libmpi.so -a '!' -r /Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/src/openmpi-1.2.6/platforms/darwinDPOpt/ lib/libmpi.dylib ']'
+ '[' OPENMPI = LAM -a '!' -r /lib/libmpi.a -a '!' -r /lib/libmpi.so -a '!' -r /lib/libmpi.dylib ']'
+ '[' OPENMPI = MPICH -a '!' -r /lib/libmpich.a -a '!' -r /lib/libmpich.so -a '!' -r /lib/libmpich.dylib ']'
+ cd Pstream
+ ./Allwmake
+ wmake libso dummy
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
`/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/dummy/libPstream.dylib' is up to date.
+ '[' OPENMPI = LAM -o OPENMPI = OPENMPI -o OPENMPI = MPI -o OPENMPI = MPICH -o OPENMPI = MPICH-GM -o OPENMPI = MPIGAMMA ']'
+ export WM_OPTIONS=darwinDPOptOPENMPI
+ WM_OPTIONS=darwinDPOptOPENMPI
+ wmake libso mpi
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
darwinDPOptOPENMPI/options:5: /Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/mplibOPENMPI: No such file or directory
make: *** No rule to make target `/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/mplibOPENMPI'. Stop.
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/wmake: cannot make, file Make/darwinDPOptOPENMPI/objectFiles was not created successfully
+ wmake libso OpenFOAM
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
`/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/libOpenFOAM.dylib' is up to date.
+ wmake libso lduSolvers
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
`/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/liblduSolvers.dylib' is up to date.
+ wmake libso lagrangian/basic
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
`/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/liblagrangian.dylib' is up to date.
+ wmake libso triSurface
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:7: warning: overriding commands for target `.L.dep'
/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:7: warning: ignoring old commands for target `.L.dep'
SOURCE=triSurface/interfaces/STL/readSTLASCII.L ; foamFlex++ -f $SOURCE ; mv lex.yy.cc Make/darwinDPOpt/readSTLASCII.C ; g++ -Ddarwin -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -IlnInclude -I. -I/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c Make/darwinDPOpt/readSTLASCII.C -o Make/darwinDPOpt/readSTLASCII.o
SOURCE=triSurface/interfaces/OFF/readOFF.C ; g++ -Ddarwin -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -IlnInclude -I. -I/Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/darwinDPOpt/readOFF.o
dyld: Symbol not found: __ZN4Foam8OPstream5writeEPKc
Referenced from: /Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/dummy/libPstream.dylib
Expected in: dynamic lookup

/bin/sh: line 1: 62130 Trace/BPT trap foamFlex++ -f $SOURCE
mv: rename lex.yy.cc to Make/darwinDPOpt/readSTLASCII.C: No such file or directory
i686-apple-darwin9-g++-4.0.1: Make/darwinDPOpt/readSTLASCII.C: No such file or directory
i686-apple-darwin9-g++-4.0.1: no input files
make: *** [Make/darwinDPOpt/readSTLASCII.o] Error 1
make: *** Waiting for unfinished jobs....
+ wmake libso edgeMesh

I fixed the 'uint' error but now I think something is wrong with foamFlex++ (?)


/Mads
gabriel_stokes is offline   Reply With Quote

Old   June 9, 2008, 11:34
Default Hi Mads! One problem could
  #112
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Mads!

One problem could be, that the file /Users/mads/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/mplibOPENMPI is missing (and the Pstream/mpi-library therefore does'nt know how to compile itself). And this os the library that provides the missing symbol __ZN4Foam8OPstream5writeEPKc.

The contents of this file on my machine would be

PFLAGS = -DOMPI_SKIP_MPICXX
PINC = -I/opt/local/include/openmpi
PLIBS = -L/opt/local/lib/ -lmpi

But that assumes that OpenMPI was installed via ports on the machine

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
gschaider is offline   Reply With Quote

Old   July 12, 2008, 15:56
Default Thanks Bernhard :-) OpenMPI
  #113
New Member
 
Mads Reck
Join Date: Mar 2009
Posts: 17
Rep Power: 17
gabriel_stokes is on a distinguished road
Thanks Bernhard :-)

OpenMPI...let's not go there:

$ sudo port install openmpi
Password:
---> Building openmpi with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.or g_release_ports_science_openmpi/work/build" && make all " returned error 2
Command output: ../../../../../../../ompi/include/mpi.h:1466: error: previous declaration of 'PMPI_File_write_ordered_end' was here
/opt/local/include/mpio.h:387: error: conflicting types for 'PMPI_File_get_type_extent'
../../../../../../../ompi/include/mpi.h:1468: error: previous declaration of 'PMPI_File_get_type_extent' was here
/opt/local/include/mpio.h:397: error: conflicting types for 'PMPI_File_set_atomicity'
../../../../../../../ompi/include/mpi.h:1469: error: previous declaration of 'PMPI_File_set_atomicity' was here
/opt/local/include/mpio.h:398: error: conflicting types for 'PMPI_File_get_atomicity'
../../../../../../../ompi/include/mpi.h:1470: error: previous declaration of 'PMPI_File_get_atomicity' was here
/opt/local/include/mpio.h:399: error: conflicting types for 'PMPI_File_sync'
../../../../../../../ompi/include/mpi.h:1471: error: previous declaration of 'PMPI_File_sync' was here
/opt/local/include/mpio.h:404: error: conflicting types for 'PMPI_File_set_errhandler'
../../../../../../../ompi/include/mpi.h:1389: error: previous declaration of 'PMPI_File_set_errhandler' was here
/opt/local/include/mpio.h:405: error: conflicting types for 'PMPI_File_get_errhandler'
../../../../../../../ompi/include/mpi.h:1390: error: previous declaration of 'PMPI_File_get_errhandler' was here
/opt/local/include/mpio.h:419: error: conflicting types for 'PMPI_File_f2c'
../../../../../../../ompi/include/mpi.h:1385: error: previous declaration of 'PMPI_File_f2c' was here
/opt/local/include/mpio.h:420: error: conflicting types for 'PMPI_File_c2f'
../../../../../../../ompi/include/mpi.h:1384: error: previous declaration of 'PMPI_File_c2f' was here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/c ommon/io_romio_ad_aggregate.c: In function 'mca_io_romio_dist_ADIOI_Calc_others_req':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/c ommon/io_romio_ad_aggregate.c:412: warning: passing argument 7 of 'PMPI_Irecv' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/c ommon/io_romio_ad_aggregate.c:415: warning: passing argument 7 of 'PMPI_Irecv' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/c ommon/io_romio_ad_aggregate.c:424: warning: passing argument 7 of 'PMPI_Isend' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/c ommon/io_romio_ad_aggregate.c:427: warning: passing argument 7 of 'PMPI_Isend' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/c ommon/io_romio_ad_aggregate.c:437: warning: passing argument 2 of 'PMPI_Waitall' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/c ommon/io_romio_ad_aggregate.c:438: warning: passing argument 2 of 'PMPI_Waitall' from incompatible pointer type
make[5]: *** [io_romio_ad_aggregate.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.
gabriel_stokes is offline   Reply With Quote

Old   July 14, 2008, 08:23
Default Hi Mads! You can always tr
  #114
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Mads!

You can always try the OpenMPI that comes with the OF-sources. (For me the ports-version worked, but that was installed some time ago - and never updated - and on a PPC, so your milage may vary)

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
gschaider is offline   Reply With Quote

Old   July 15, 2008, 07:34
Default Good morning, anybody tried
  #115
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
Good morning,

anybody tried to compile 1.5 ? Looks to me that it will be a
challenge ...

Regards,

Pierre-Olivier
podallaire is offline   Reply With Quote

Old   July 15, 2008, 10:41
Default Hi Pierre! I'm sure the fir
  #116
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Pierre!

I'm sure the first one to do so will open a new thread

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
gschaider is offline   Reply With Quote

Old   July 15, 2008, 15:33
Default Hi Bernhard, thanks, but ho
  #117
New Member
 
Mads Reck
Join Date: Mar 2009
Posts: 17
Rep Power: 17
gabriel_stokes is on a distinguished road
Hi Bernhard,

thanks, but how do I use the MPI that comes with the distribution?

/Mads
gabriel_stokes is offline   Reply With Quote

Old   July 19, 2008, 12:47
Default Hi Pierre... I have openfoa
  #118
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17
mgz1985 is on a distinguished road
Hi Pierre...

I have openfoam 1.4.1 running on my MacOSX but when it comes to running paraview i am having a problem.

it gives me an error paraview command not found

I have installed paraview 3.2.1 darwin...as an image disk.....even openfoam is in a disk image...

regarding the patch when i execute the patch command given above it fails

mayank-guptas-macbookpenFOAM-1.4.1 mayankgupta$ patch -i OpenFOAM-1.4.1-MacOSX-mwild.patch -p0
patching file .bashrc
patch: **** malformed patch at line 17: # Tell OpenMPI where to find it's install directory

i dont understan this....can anyone help me figure this out and my paraview problems....also i am unable to edit the bashrc file as it is hidden and m system does not know the command gedit or gmake...how can i have openfoam running smoothly..
mgz1985 is offline   Reply With Quote

Old   July 20, 2008, 05:19
Default hi PO paraview paraFoam.pvs
  #119
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17
mgz1985 is on a distinguished road
hi PO

paraview paraFoam.pvs

after i got the error on running paraFoam i tracked the line 75 on my paraFoam which is pasted above, but i think it is correct and points the file to be opened by paraview. Paraview is in a disk image soft linked to the directory having openfoam disk image. can u please tell me the problem
mgz1985 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
OpenFOAM13 for Mac OSX Darwin 104 hjasak OpenFOAM Installation 70 September 24, 2010 05:06
VTK errors in ParaFOAM on OpenFOAM14 stevemchale OpenFOAM Installation 5 August 29, 2007 15:39
Compilation from source failed OpenFOAM14 hsieh OpenFOAM Installation 1 June 20, 2007 10:06
Probes in OpenFOAM14 otsuki OpenFOAM Running, Solving & CFD 2 May 16, 2007 06:18
Port of OpenFOAM14 to FreeBSD thierry OpenFOAM Installation 0 April 28, 2007 09:36


All times are GMT -4. The time now is 22:33.