|
[Sponsors] |
June 1, 2012, 02:20 |
Looking for OpenFOAM 1.7.x for windown 64bit
|
#1 |
New Member
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 15 |
I'm newbie here, and I'm looking for OpenFOAM version 1.7.x work well on Windows 64bit.
I'm trying to build it throught http://www.symscape.com/openfoam-1-7...windows-64-mpi and http://www.geocities.jp/penguinitis2...n64-mpich.html (this is a japanese website, but it's more detail then the tutorial of symcape) but not success. So any one can help me to build it...? |
|
June 2, 2012, 05:38 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Mr.Cloud,
Have you tried these instructions: http://openfoamwiki.net/index.php/Ti...ows_with_MinGW ? That page has a very detailed step-by-step on how to build OpenFOAM 1.7.0 on Linux (or Cygwin) for Windows, so whatever you learn from there, you can then apply to 1.7.x Best regards, Bruno
__________________
|
|
June 3, 2012, 22:21 |
|
#3 | |
New Member
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 15 |
Quote:
|
||
June 4, 2012, 06:04 |
|
#4 |
New Member
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 15 |
I have try and get some bugs, this is my build log
Code:
======================================== Start ThirdParty Allwmake ======================================== ======================================== Compile zlib library '/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/libz.dll' is up to date. ======================================== Compile regex library regex already installed... run ./AllwcleanRegEx if you feel that it needs rebuilding! ======================================== Copying gcc related DLLs ======================================== Compile specific mpi libraries Setup MPICH2 stubs... [1m Generating MPICH2 stub... [0m [1m MPICH2 stub is already built and ready to use. [0m ======================================== Build Scotch decomposition library have scotch shared libraries ======================================== Build PTScotch decomposition library (requires MPI) have ptscotch shared libraries ======================================== Build Metis decomposition + cd metis-5.0pre2 + cpMakeFiles metis + set +x + wmake libso GKlib '/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/libGKlib.dll' is up to date. + wmake libso libmetis linuxmingw-w64DPOpt/options:10: *** missing separator. Stop. wmake error: file 'Make/linuxmingw-w64DPOpt/objectFiles' could not be created //Start error from here ======================================== Build ParMetis decomposition. Requires MPI. + cd ParMetis-3.1 + WM_OPTIONS_LOCAL=linuxmingw-w64DPOptMPICH + cpMakeFiles ParMetis + set +x + wmake libso METISLib '/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/mpich2-1.4.1p1/libmetis-parmetis.dll' is up to date. + wmake libso ParMETISLib linuxmingw-w64DPOpt/options:10: *** missing separator. Stop. wmake error: file 'Make/linuxmingw-w64DPOpt/objectFiles' could not be created + unset WM_OPTIONS_LOCAL ======================================== Build ParMGridGen + cd ParMGridGen-1.0 + cpMakeFiles ParMGridGen + set +x + wmake libso MGridGen/IMlib '/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/libIMlib.dll' is up to date. + wmake libso MGridGen/Lib '/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/libMGridGen.dll' is up to date. ======================================== Done ThirdParty Allwmake ======================================== + wmakePrintBuild -check no git description found + /bin/rm -f OpenFOAM/Make/linuxmingw-w64DPOpt/global.? + wmakeLnInclude OpenFOAM + wmakeLnInclude OSspecific/MSwindows + Pstream/Allwmake + buildMode=libso + echo mingw-w64 + grep mingw + [ x != xmingw-w64 ] + [ = LINKTOPSTREAM ] + buildMode=libo + wmake libo dummy '/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/dummy/libPstream.o' is up to date. + set +x Note: ignore spurious warnings about missing mpicxx.h headers + wmake libo mpi '/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/mpich2-1.4.1p1/libPstream.o' is up to date. + unset buildMode + wmake libo OSspecific/MSwindows '/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/libOSspecific.o' is up to date. + wmake libso OpenFOAM linuxmingw-w64DPOpt/options:13: *** missing separator. Stop. wmake error: file 'Make/linuxmingw-w64DPOpt/objectFiles' could not be created + echo mingw-w64 + grep mingw + [ x != xmingw-w64 ] + export WM_PSTREAMLINK=LINKTOPSTREAM + cd Pstream + ./Allwmake + buildMode=libso + echo mingw-w64 + grep mingw + [ x != xmingw-w64 ] + [ LINKTOPSTREAM = LINKTOPSTREAM ] + buildMode=libso + wmake libso dummy x86_64-w64-mingw32-g++ -Dlinux -DWM_DP -DWIN64 -DLITTLE_ENDIAN -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -O2 -DNDEBUG -fno-strict-aliasing -DNoRepository -ftemplate-depth-40 -IlnInclude -I. -I/home/longlp/OpenFOAM/OpenFOAM-1.7.0/src/OpenFOAM/lnInclude -I/home/longlp/OpenFOAM/OpenFOAM-1.7.0/src/OSspecific/MSwindows/lnInclude -I/home/longlp/OpenFOAM/ThirdParty-1.7.0/zlib-1.2.5 -I/home/longlp/OpenFOAM/ThirdParty-1.7.0/platforms/linuxmingw-w64/mingw-libgnurx-2.5.1/include /home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/OFversion.o -Wl,--output-def,/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/dummy/libPstream.def,--out-implib,/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/dummy/libPstream.a,--enable-auto-import,--strip-all -shared Pstream.o IPread.o OPwrite.o -L/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt -lOpenFOAM -o /home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/dummy/libPstream.dll /home/longlp/OpenFOAM/ThirdParty-1.7.0/platforms/linuxmingw-w64/mingw/lib/gcc/x86_64-w64-mingw32/4.5.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lOpenFOAM collect2: ld returned 1 exit status make: *** [/home/longlp/OpenFOAM/OpenFOAM-1.7.0/lib/linuxmingw-w64DPOpt/dummy/libPstream.dll] Error 1 + set +x ........ and more after use Code:
./build-mingw45 Code:
cd $WM_DIR/rules sed -i -e 's=-O2 -DNDEBUG=-O2 -DNDEBUG -fno-strict-aliasing=' "$WM_ARCH$WM_COMPILER/c++Opt" Code:
./Allwmake Did i miss st?? |
|
June 4, 2012, 06:23 |
|
#5 |
New Member
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 15 |
Code:
/* NOTE: make any changes to this file in wmakeFiles/ */ comm.c util.c debug.c setup.c grsetup.c timer.c node_refine.c initmsection.c order.c xyzpart.c pspases.c frename.c iintsort.c iidxsort.c ikeysort.c ikeyvalsort.c kmetis.c gkmetis.c ometis.c initpart.c match.c coarsen.c kwayfm.c kwayrefine.c kwaybalance.c remap.c stat.c fpqueue.c ametis.c rmetis.c lmatch.c initbalance.c mdiffusion.c diffutil.c wave.c csrmatch.c redomylink.c balancemylink.c selectq.c akwayfm.c serial.c move.c mmetis.c mesh.c memory.c weird.c backcompat.c LIB = $(FOAM_MPI_LIBBIN)/libparmetis Code:
/* NOTE: make any changes to this file in wmakeFiles/ */ sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB) sinclude $(RULES)/mplib$(WM_MPLIB) EXE_INC = $(PFLAGS) $(PINC) LIB_LIBS = $(PLIBS) /*neutralize this variable...*/ PROJECT_LIBS = And I'm not change any thing manual...! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
star4ToFoam Segfault on Mac OS X 10.6.5 / OF 1.7.x | sushant | OpenFOAM Installation | 1 | December 25, 2010 19:38 |
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x | wyldckat | OpenFOAM Bugs | 18 | October 21, 2010 05:51 |
Linux+CFD: is 64bit really a need? | CAVT | Hardware | 2 | August 27, 2010 17:12 |
Dissimilarity in compiling new BC in 32bit OpenSuSE 103 versus 64bit CentOS 50 versus 64bit SLED 100 | sponiar | OpenFOAM Running, Solving & CFD | 3 | February 26, 2008 06:31 |
CFX in 64bit | Nick | CFX | 4 | January 3, 2006 23:12 |