Dear Bernhard,
Thank you fo
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/localObjectFileshttp://www.cfd-online.com/OpenFOAM_D...part/proud.gifPwrite.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 |
Hi Kevin!
People who know m
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 |
Hi Kevin!
I just checked th
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 |
Hi Bernhard,
Thanks for the
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. |
Dear Fellow-Foamers,
I am s
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 :-) |
I am stuck somewhere in the sa
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 |
Hi Mads,
Well, I am in a di
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 |
Hi Kevin, thank you for your s
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 |
Hi Mads,
Please excuse me f
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 |
Hey Kevin,
thanks a lot. Po
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 |
My apologies to whomever is fo
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 |
Hi Mads!
One problem could
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 |
Thanks Bernhard :-)
OpenMPI
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. |
Hi Mads!
You can always tr
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 |
Good morning,
anybody tried
Good morning,
anybody tried to compile 1.5 ? Looks to me that it will be a challenge ... Regards, Pierre-Olivier |
Hi Pierre!
I'm sure the fir
Hi Pierre!
I'm sure the first one to do so will open a new thread Bernhard |
Hi Bernhard,
thanks, but ho
Hi Bernhard,
thanks, but how do I use the MPI that comes with the distribution? /Mads |
Hi Pierre...
I have openfoa
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-macbookhttp://www.cfd-online.com/OpenFOAM_D...part/proud.gifpenFOAM-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.. |
hi PO
paraview paraFoam.pvs
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 |
All times are GMT -4. The time now is 04:31. |