|
[Sponsors] |
June 22, 2012, 10:44 |
OpenFoam wmake
|
#1 |
New Member
Junpeng
Join Date: Jun 2012
Posts: 3
Rep Power: 13 |
Hi guys,
Does anyone know how to use g++, instead of wmake, to compile the solver, like icoFoam? Cause I need to write my own make and the makefile. Thanks. |
|
June 23, 2012, 15:08 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Junpeng and welcome to the forum!
You don't want to use OpenFOAM's wmake? OK... do you just want the command for building icoFoam or every single OpenFOAM library dependency that icoFoam has on it? You can see the dependency list by running this command: Code:
ldd `which icoFoam`
Nonetheless, if you need 2.1.x, you might have to stick to wmake if you want to make your life easier. If you can detail a bit more about what you want to specifically do, we might be able to provide more possibilities to solve the issue. Best regards, Bruno
__________________
|
|
June 25, 2012, 11:11 |
|
#3 | |
New Member
Junpeng
Join Date: Jun 2012
Posts: 3
Rep Power: 13 |
Quote:
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam211/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cicoFoam.o like -m64, -Wall, -Wextra ... or where I can find some materials for these parameters? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] wmake error: file 'Make/linux64Gcc44DPOpt/objectFiles' could not be created | l_r_mcglashan | OpenFOAM Installation | 17 | June 14, 2016 11:56 |
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) | toolpost | OpenFOAM Installation | 15 | September 21, 2012 09:38 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 06:55 |
wmake in openfoam mac 1.7.x | atareen64 | OpenFOAM Installation | 10 | July 12, 2011 11:02 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 03:14 |