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

Looking for OpenFOAM 1.7.x for windown 64bit

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2012, 02:20
Default Looking for OpenFOAM 1.7.x for windown 64bit
  #1
New Member
 
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 15
Mr.Cloud is on a distinguished road
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...?
Mr.Cloud is offline   Reply With Quote

Old   June 2, 2012, 05:38
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   June 3, 2012, 22:21
Default
  #3
New Member
 
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 15
Mr.Cloud is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
Thanks for your reply, I'll try.
Mr.Cloud is offline   Reply With Quote

Old   June 4, 2012, 06:04
Default
  #4
New Member
 
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 15
Mr.Cloud is on a distinguished road
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
I use 7.1 Using custom built MinGW cross-compilers
after use
Code:
./build-mingw45
I did follow 7.3.1
Code:
cd $WM_DIR/rules
sed -i -e 's=-O2 -DNDEBUG=-O2 -DNDEBUG -fno-strict-aliasing=' "$WM_ARCH$WM_COMPILER/c++Opt"
and cd to OpenFOAM project and
Code:
./Allwmake
I use Ubuntu 11.04
Did i miss st??
Mr.Cloud is offline   Reply With Quote

Old   June 4, 2012, 06:23
Default
  #5
New Member
 
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 15
Mr.Cloud is on a distinguished road
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
That is the contents of Make/files
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 =
That is the contents of Make/options
And I'm not change any thing manual...!
Mr.Cloud 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
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


All times are GMT -4. The time now is 10:44.