|
[Sponsors] |
Extend Project 1.6-ext Binary Release for Mac OS X |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 29, 2010, 08:52 |
Extend Project 1.6-ext Binary Release for Mac OS X
|
#1 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,906
Rep Power: 33 |
Binary release for Mac OS X
I have created a sparse disk image for OpenFOAM-1.6-ext and a Mac, available on Extend Sourceforge Download section. This is what you do to use it: 1) download the dmg file http://sourceforge.net/projects/openfoam-extend/files/ -> OpenFOAM-1.6-ext.dmg 2) double-click on it, to mount it 3) open a terminal and do the following cd mkdir OpenFOAM cd OpenFOAM ln -s /Volumes/OpenFOAM-1.6-ex . and you are ready. Make yourself a run directory: mkdir -p ~/OpenFOAM/<yourName>-1.6-ext/run source the environment . ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc and you are ready to run. Please report success/failure. Compiling OpenFOAM-1.6-ext on a Mac If you want to compile from scratch, find yourself a Mac (Yum!) and install XCode. The next steps are: 1) download and install wget 2) download and install rpm 3) download and install git 4) sort out malloc header link cd /usr/include/ sudo ln -s malloc/malloc.h . 5) sort out gmake cd /usr/local/ sudo ln -s /usr/bin/make gmake 6) install Paraview from dmg: we will use Paraview reader 7) Create a Casename-sensitive disk image (~10 GB, to be safe) and link it as above. Into the link image do a git checkout into it 8) cd ~/OpenFOAM/OpenFOAM-1.6-ext/etc ; cp prefs.sh-EXAMPLE prefs.sh 9) source the environment and compile all. You are in business! Hope you'll find this useful. Happy McFoaming, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
November 29, 2010, 11:05 |
|
#2 |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
Hi Hrv, this is excellent!
I've tried the Binary release for Mac OS X on my Macbook (OS X 10.6.4). Your setup instructions work but: Every time I try to run a solver (my custom solvers as well as tutorials), I get the error message "Abort trap". The solvers compile without any problem but they don't run. |
|
November 29, 2010, 11:30 |
|
#3 |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
A bit more info:
When I try sudo "solverName" I get a bit longer of an error message: dyld: Library not loaded: libPstream.dylib Referenced from: /Users/ben/OpenFOAM/ben-1.6-ext/applications/bin/darwinIntel64DPOpt/conjugateHeatFoam Reason: image not found Trace/BPT trap Although it says "image not found" my OpenFOAM-1.6-ext image is mounted. From the research that I've done, it might be a problem with DYLD_LIBRARY_PATH. When I type echo $DYLD_LIBRARY_PATH, this is what I get: Code:
/Users/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/scotch-5.1.10b/platforms/darwinIntel64DPOpt/lib: /Users/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMGridGen-1.0/platforms/darwinIntel64DPOpt/lib: /Users/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMetis-3.1.1/platforms/darwinIntel64DPOpt/lib: /Users/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/metis-5.0pre2/platforms/darwinIntel64DPOpt/lib: /Users/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/darwinIntel64DPOpt/lib: /Users/ben/OpenFOAM/OpenFOAM-1.6-ext/lib/darwinIntel64DPOpt/openmpi-system:-lopen-pal:-lopen-rte:-lmpi:-Wl,-multiply_defined,suppress:-Wl,-u,_munmap: /Users/ben/OpenFOAM/ben-1.6-ext/lib/darwinIntel64DPOpt: /Users/ben/OpenFOAM/site/1.6-ext/lib/darwinIntel64DPOpt: /Users/ben/OpenFOAM/OpenFOAM-1.6-ext/lib/darwinIntel64DPOpt: /Users/ben/OpenFOAM/OpenFOAM-1.6-ext/lib/darwinIntel64DPOpt/dummy Last edited by benk; November 29, 2010 at 11:53. |
|
November 30, 2010, 03:54 |
|
#4 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,906
Rep Power: 33 |
Heya,
Please make sure you've got an Intel Mac - I didn't do anything to support older PowerPC Macs. Benk: do you have the correct link in your home directory? Try: cd /Volumes/OpenFOAM-1.6-ext/src cd ~/OpenFOAM/OpenFOAM-1.6-ext/etc foamsrc which icoFoam All of this should report no errors. Re additional path in bold, I have no idea where it comes from - not one of mine. Also, do you have XCode installed? It is possible that it carries some non-standard libraries that FOAM relies on and it is on my machine. We have ~10 reported successes on this so please don't give up. I'd like to get to the bottom of this. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
November 30, 2010, 03:58 |
|
#5 | |
Senior Member
|
Ben,
What does 'which gcc' give you? If you use Hrv's package, you have to make sure to compile apps with the Xcode gcc, which is at 4.2.1. If you have MacPorts installed with gcc 4.3, 4.4, or 4.5, you have to be careful, especially since etc/bashrc and etc/settings.sh set up some of the environment variables (e.g., WM_COMPILER) a bit differently than with 1.5-dev. Note: my first pass at this was to copy $FOAM_TUTORIALS to $FOAM_RUN, and then test a few of the standard tutorials. Then, I compiled simpleSRFFoam, which promptly failed at runtime due to the fact that my gcc-4.3-mp was being used in preference over /usr/bin/gcc (4.2.1). After modifying my .profile, and wclean, wmake, simpleSRFFoam compiles and tutorial runs fine. I suspect that this is your problem. Also, it is OK for the $FOAM_SITE_APPBIN and $FOAM_SITE_LIBBIN variables to point to non-existent directories. This is for site-specific libraries and applications that would be shared among a team or group. Eric Quote:
Last edited by egp; November 30, 2010 at 08:00. |
||
November 30, 2010, 07:58 |
|
#6 | |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
Quote:
This was my problem. At one point I installed macports gcc. which gcc gave: /opt/local/bin/gcc (I think normally it should be /usr/bin/gcc no?) gcc --version gave: gcc (GCC) 4.3.4 when I changed the version: gcc_select gcc42 gcc --version now gives: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664) And my old 1.5-dev solver which uses the coupledFvScalarMatrix works in 1.6-ext! Thanks again! |
||
December 3, 2010, 11:06 |
|
#7 |
Senior Member
|
First of all, thanks for the Mac support. I really appreciate this
But I have a question about the rpm support. How have you installed that package? If I try to compile that from source, configure complains Code:
configure: error: missing required NSPR / NSS header Code:
./configure CPPFLAGS="-I/usr/local/include/nspr" I really don't like the solution to install rpm via port install, since there are so many dependencies, including an old python version. Is there a work around, or have you installed the rpm package and its dependencies via macports? Jens |
|
December 8, 2010, 09:46 |
|
#8 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 |
Hi,
Well done on the release. I am having trouble compiling OF-1.6-ext on my intel mac. I am running leopard - OS X 10.5.8. I am getting the following error when I try to compile the triSurface library: Code:
# wmake libso SOURCE=triSurface/interfaces/STL/readSTLASCII.L ; flex -+ -f $SOURCE ; mv lex.yy.cc Make/darwinIntel64DPOpt/readSTLASCII.C ; g++ -m64 -fPIC -DdarwinIntel64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c Make/darwinIntel64DPOpt/readSTLASCII.C -o Make/darwinIntel64DPOpt/readSTLASCII.o SOURCE=triSurface/interfaces/OFF/writeOFF.C ; g++ -m64 -fPIC -DdarwinIntel64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64DPOpt/writeOFF.o In file included from /Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/Istream.H:47, from /Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/ISstream.H:41, from /Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/IFstream.H:39, from triSurface/interfaces/STL/readSTLASCII.L:35: /Users/philipcardiff/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/IOstream.H:61: error: ÄōistreamÄô is already declared in this scope lex.yy.cc: In member function Äōint STLLexer::lex()Äô: lex.yy.cc:5474: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc:5495: warning: use of old-style cast lex.yy.cc:5495: warning: use of old-style cast lex.yy.cc:5511: warning: use of old-style cast lex.yy.cc:5725: warning: use of old-style cast lex.yy.cc:5731: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc:5754: error: Äōyy_current_bufferÄô was not declared in this scope triSurface/interfaces/STL/readSTLASCII.L:212: warning: unused variable ÄōendPtrÄô lex.yy.cc: In constructor ÄōyyFlexLexer::yyFlexLexer(std::istream*, std::ostream*)Äô: lex.yy.cc:5871: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc: In destructor Äōvirtual yyFlexLexer::~yyFlexLexer()Äô: lex.yy.cc:5883: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc: In member function Äōvirtual void yyFlexLexer::switch_streams(std::istream*, std::ostream*)Äô: lex.yy.cc:5890: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc: In member function Äōint yyFlexLexer::yy_get_next_buffer()Äô: lex.yy.cc:5943: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc:5974: warning: use of old-style cast lex.yy.cc:6001: warning: use of old-style cast lex.yy.cc:6014: warning: use of old-style cast lex.yy.cc:6015: warning: use of old-style cast lex.yy.cc:6036: warning: use of old-style cast lex.yy.cc: In member function Äōyy_state_type yyFlexLexer::yy_get_previous_state()Äô: lex.yy.cc:6084: warning: use of old-style cast lex.yy.cc:6084: warning: use of old-style cast lex.yy.cc: In member function Äōvoid yyFlexLexer::yyunput(int, char*)Äô: lex.yy.cc:6133: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc:6145: warning: use of old-style cast lex.yy.cc:6146: warning: use of old-style cast lex.yy.cc:6154: warning: use of old-style cast lex.yy.cc: In member function Äōint yyFlexLexer::yyinput()Äô: lex.yy.cc:6175: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc:6223: warning: use of old-style cast lex.yy.cc: In member function Äōvirtual void yyFlexLexer::yyrestart(std::istream*)Äô: lex.yy.cc:6234: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc:6237: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc: In member function Äōvirtual void yyFlexLexer::yy_switch_to_buffer(yy_buffer_state*)Äô: lex.yy.cc:6244: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc:6247: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc:6255: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc: In member function Äōvoid yyFlexLexer::yy_load_buffer_state()Äô: lex.yy.cc:6269: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc: In member function Äōvirtual yy_buffer_state* yyFlexLexer::yy_create_buffer(std::istream*, int)Äô: lex.yy.cc:6280: warning: use of old-style cast lex.yy.cc:6289: warning: use of old-style cast lex.yy.cc: In member function Äōvirtual void yyFlexLexer::yy_delete_buffer(yy_buffer_state*)Äô: lex.yy.cc:6306: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc:6307: warning: use of old-style cast lex.yy.cc:6310: warning: use of old-style cast lex.yy.cc:6312: warning: use of old-style cast lex.yy.cc: In member function Äōvoid yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)Äô: lex.yy.cc:6322: error: cannot convert Äōstd::istream*Äô to Äōistream*Äô in assignment lex.yy.cc: In member function Äōvoid yyFlexLexer::yy_flush_buffer(yy_buffer_state*)Äô: lex.yy.cc:6348: error: Äōyy_current_bufferÄô was not declared in this scope lex.yy.cc: In member function Äōvoid yyFlexLexer::yy_push_state(int)Äô: lex.yy.cc:6376: warning: use of old-style cast lex.yy.cc:6380: warning: use of old-style cast lex.yy.cc:6380: warning: use of old-style cast lex.yy.cc: In function Äōvoid* yy_flex_alloc(yy_size_t)Äô: lex.yy.cc:6482: warning: use of old-style cast lex.yy.cc: In function Äōvoid* yy_flex_realloc(void*, yy_size_t)Äô: lex.yy.cc:6500: warning: use of old-style cast lex.yy.cc:6500: warning: use of old-style cast lex.yy.cc: At global scope: lex.yy.cc:5314: warning: Äōyy_start_stack_ptrÄô defined but not used lex.yy.cc:5315: warning: Äōyy_start_stack_depthÄô defined but not used lex.yy.cc:5316: warning: Äōyy_start_stackÄô defined but not used lex.yy.cc:5318: warning: Äōvoid yy_push_state(int)Äô declared ÄōstaticÄô but never defined lex.yy.cc:5321: warning: Äōvoid yy_pop_state()Äô declared ÄōstaticÄô but never defined lex.yy.cc:5324: warning: Äōint yy_top_state()Äô declared ÄōstaticÄô but never defined make: *** [Make/darwinIntel64DPOpt/readSTLASCII.o] Error 1 make: *** Waiting for unfinished jobs.... http://www.cfd-online.com/Forums/ope...tml#post183989 But there doesn't seem to be foamFlex in OF-1.5-dev or OF-1.6-ext, so I am unsure how to fix this... My current flex version is: flex version 2.5.4 Any ideas are welcome. Thanks, Philip |
|
December 8, 2010, 14:26 |
|
#9 |
Senior Member
|
Unfortunately I am not much of a help for solving your problem, but how did you install rpm? Via macports?
Jens |
|
December 8, 2010, 17:19 |
|
#10 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 |
Hi Jens,
I installed rpm using the dmg from here: http://rpm4darwin.sourceforge.net/. It is rpm version "rpm (RPM) 5.1.0". Philip |
|
December 12, 2010, 21:12 |
|
#11 | |
New Member
Join Date: Jan 2010
Posts: 23
Rep Power: 16 |
Hi Hrv/Eric and all,
Thanks for the release. Similar problem to Ben K. Disk image mounted and linked, bashrc sourced (per Hrv's intructions). Changed the default gcc compiler: which gcc /usr/bin/gcc gcc --version i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) Ran Hrv's checks, all came back clean. When I try to run a tutorial I get the following: Quote:
Thanks, hope all is well. James |
||
January 28, 2011, 22:12 |
|
#13 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,906
Rep Power: 33 |
Sorry, I am working on-site with a client at the moment - and the Big Mac is out of reach.
The update is quite trivial to do but not script-automated yet. I'll do one by hand next Friday and then we'll ask one of the Script Wizzards in the community to automate it. I think once a week would be sufficient. Deal? Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
January 30, 2011, 05:55 |
|
#14 |
Senior Member
|
Yeah, I've been pretty lazy building 1.6-ext on OSX (I have enough other machines to tend to), and have been using your dmg without issue.
However, I was thinking I should try to keep it more in sync with other installs that I'm using. Once a week would be more than adequate since there is not an easy way to automate the download and installation of the dmg. |
|
February 9, 2011, 10:07 |
|
#15 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,906
Rep Power: 33 |
Hi Eric,
I have uploaded the dmg to the final version for 1.6-ext. It is available on: https://files.me.com/h.jasak/41tmca Let's find a way to share this through the -Extend forum. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
July 6, 2011, 13:07 |
|
#16 |
New Member
Bryan Lewis
Join Date: Jul 2010
Posts: 5
Rep Power: 16 |
Hi Hrv,
Have you uploaded a new dmg for the latest revision to OpenFOAM-1.6-ext? Maryse Page mentioned to me that the ggi had been improved. -Bryan |
|
July 12, 2011, 22:09 |
|
#17 | |
New Member
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
I can confirm that the procedure Hrv lists below for compiling works on Mac OS 10.6.8.
However, it is important the the rpm version is not newer than 5.1.0. I couldn't get the ThirdPary applications to compile with the newer (5.2.0 rpm). Also if you are using 10.6.8 there is a fix for compiling libccmio. See the hotfix/ThirdParty_scripts branch of the 1.6-ext git repo. Quote:
|
||
July 13, 2011, 01:40 |
|
#18 | |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
rpm 5.2.1 on Mac OS X is fine.
Martin Quote:
|
||
September 19, 2011, 09:32 |
|
#19 |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
In case anybody is trying to use the binary version with Mac OS 10.7 (Lion) you'll need to install open MPI which I gather came with 10.6 but not 10.7.
The easy way (or at least what worked for me) is to just use homebrew (which is kindof like macports) to install open-mpi: To install homebrew: Code:
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" Code:
brew install open-mpi |
|
October 10, 2011, 06:31 |
|
#20 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 |
Hi,
I am trying to compile OpenFOAM-1.6-ext on Mac OS X Lion, but I am stuck at Allmake.stage3. The libccmio package gets an error saying System type i386-apple-darwin11.0.0 not supported!: Code:
This system rpm command: rpm ======================================== Starting ThirdParty AllMake: Stage3 ======================================== Package name : metis-5.0pre2 Package URL : http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/metis-5.0pre2.tar.gz RPM spec file name: metis-5.0pre2.spec Additional flags : Updating the ThirdParty environment variables before building package metis-5.0pre2 Package metis-5.0pre2 is already installed Done installing package Package name : ParMGridGen-1.0 Package URL : http://www.mgnet.org/mgnet/Codes/parmgridgen/ParMGridGen-1.0.tar.gz RPM spec file name: ParMGridGen-1.0.spec Additional flags : Updating the ThirdParty environment variables before building package ParMGridGen-1.0 Package ParMGridGen-1.0 is already installed Done installing package Package name : libccmio-2.6.1 Package URL : http://wci.llnl.gov/codes/visit/3rd_party/libccmio-2.6.1.tar.gz RPM spec file name: libccmio-2.6.1.spec Additional flags : Updating the ThirdParty environment variables before building package libccmio-2.6.1 Making package libccmio-2.6.1 using RPM. Building package libccmio-2.6.1 using SPEC file : libccmio-2.6.1.spec. Optional args: Executing(%prep): /bin/sh -e /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.63308 + umask 022 + cd /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD + cd /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD + rm -rf libccmio-2.6.1 + /usr/bin/gzip -dc /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/libccmio-2.6.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libccmio-2.6.1 + echo 'Patch #0 (libccmio-2.6.1.patch_0):' Patch #0 (libccmio-2.6.1.patch_0): + /bin/cat /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/libccmio-2.6.1.patch_0 + /usr/bin/patch -s -p1 + exit 0 Executing(%build): /bin/sh -e /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.80115 + umask 022 + cd /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD + cd libccmio-2.6.1 + '[' -n gcc ']' + export CC=gcc + CC=gcc + '[' -n g++ ']' + export CXX=g++ + CXX=g++ + '[' -n '-m64 -fPIC' ']' + export 'CFLAGS=-m64 -fPIC' + CFLAGS='-m64 -fPIC' + '[' -n '-m64 -fPIC' ']' + export 'CXXFLAGS=-m64 -fPIC' + CXXFLAGS='-m64 -fPIC' + '[' -n -m64 ']' + export LDFLAGS=-m64 + LDFLAGS=-m64 + '[' -z 2 ']' + '[' '!' -d configi386-apple-darwin10 ']' + cp -r config/i386-apple-darwin8 config/i386-apple-darwin10 + unset RELEASE + unset DEBUG + unset STATIC + unset SHARED + '[' -d libadf ']' + cd libadf + RELEASE=1 + SHARED=1 + make -f Makefile.qmake all ..//config/runqmake ../ \ -o Makefile.adf adf.pro 2>&1 | tee qmake.vars System type i386-apple-darwin11.0.0 not supported! ..//config/runqmake: line 47: /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf/..//config/unknown/qmake: No such file or directory make[1]: *** No rule to make target `/u/xeona04/people/prewett/src/libccmio/config/linux64_2.4-x86-glibc_2.2.5/qmake.conf', needed by `Makefile.adf'. Stop. make: *** [all] Error 2 + '[' -d libccmio ']' + cd libccmio + RELEASE=1 + SHARED=1 + make -f Makefile.qmake all ..//config/runqmake ../ \ -o Makefile.ccmio ccmio.pro 2>&1 | tee qmake.vars System type i386-apple-darwin11.0.0 not supported! ..//config/runqmake: line 47: /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libccmio/..//config/unknown/qmake: No such file or directory make[1]: *** No rule to make target `/u/xeona04/people/prewett/src/libccmio/config/linux64_2.4-x86-glibc_2.2.5/qmake.conf', needed by `Makefile.ccmio'. Stop. make: *** [all] Error 2 + exit 0 Executing(%install): /bin/sh -e /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.80115 + umask 022 + cd /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD + /bin/rm -rf /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1-root + /bin/mkdir -p /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1-root + cd libccmio-2.6.1 + mkdir -p /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1-root//Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/libccmio-2.6.1/platforms/darwinIntel64GccDPOpt/include/libccmio + mkdir -p /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1-root//Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/libccmio-2.6.1/platforms/darwinIntel64GccDPOpt/lib ++ find ./lib -name release-shared find: ./lib: No such file or directory + libsdir= error: Bad exit status from /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.80115 (%install) RPM build errors: Bad exit status from /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.80115 (%install) Installing package: libccmio-2.6.1 Uninstalling libccmio-2.6.1 using RPM: libccmio-2.6.1-darwinIntel64GccDPOpt.i386 Installing libccmio-2.6.1 using RPM file: /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/i386/libccmio-2.6.1-darwinIntel64GccDPOpt.i386.rpm error: open of /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/i386/libccmio-2.6.1-darwinIntel64GccDPOpt.i386.rpm failed: No such file or directory Done installing package Package name : mesquite-2.1.2 Package URL : http://software.sandia.gov/~jakraft/mesquite-2.1.2.tar.gz RPM spec file name: mesquite-2.1.2.spec Additional flags : Updating the ThirdParty environment variables before building package mesquite-2.1.2 Making package mesquite-2.1.2 using RPM. Building package mesquite-2.1.2 using SPEC file : mesquite-2.1.2.spec. Optional args: Executing(%prep): /bin/sh -e /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.80116 + umask 022 + cd /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD + cd /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD + rm -rf mesquite-2.1.2 + /usr/bin/gzip -dc /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/mesquite-2.1.2.tar.gz + /usr/bin/tar -xf - gzip: /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/mesquite-2.1.2.tar.gz: unexpected end of file mesquite-2.1.2/doc/user/MesquiteUI.eps: Truncated tar archive tar: Error exit delayed from previous errors. error: Bad exit status from /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.80116 (%prep) RPM build errors: Bad exit status from /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.80116 (%prep) Installing package: mesquite-2.1.2 Uninstalling mesquite-2.1.2 using RPM: mesquite-2.1.2-darwinIntel64GccDPOpt.i386 Installing mesquite-2.1.2 using RPM file: /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/i386/mesquite-2.1.2-darwinIntel64GccDPOpt.i386.rpm error: open of /Users/Patricia_Alveen/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/i386/mesquite-2.1.2-darwinIntel64GccDPOpt.i386.rpm failed: No such file or directory Done installing package Package name : scotch-5.1.10b Package URL : https://gforge.inria.fr/frs/download.php/27583/scotch-5.1.10b.tar.gz RPM spec file name: scotch-5.1.10b.spec Additional flags : Updating the ThirdParty environment variables before building package scotch-5.1.10b Package scotch-5.1.10b is already installed Done installing package Package name : ParMetis-3.1.1 Package URL : http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/OLD/ParMetis-3.1.1.tar.gz RPM spec file name: ParMetis-3.1.1.spec Additional flags : Updating the ThirdParty environment variables before building package ParMetis-3.1.1 Package ParMetis-3.1.1 is already installed Done installing package ======================================== Done ThirdParty AllMake: Stage3 ======================================== Also I tried changing git branch to hotfix/ThirdParty_scripts (git checkout hotfix/ThirdParty_scripts) but I still get the same error. All suggestions are welcome, Philip |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extend Project Release 1.6-ext | hjasak | OpenFOAM Announcements from Other Sources | 33 | July 14, 2011 18:54 |
Error to re-open fluent case file | J.Gimbun | FLUENT | 0 | April 27, 2006 08:42 |
Sliding mesh error | Karl Kevala | FLUENT | 4 | February 21, 2001 15:52 |