|
[Sponsors] |
August 17, 2007, 09:02 |
I'm trying to install OpenFOAM
|
#1 |
Member
Fabian Peng Karrholm
Join Date: Mar 2009
Posts: 61
Rep Power: 17 |
I'm trying to install OpenFOAM 1.4.1, and I'm having issues recompiling some libraries I've made some minor additions to (it's not the changes that's causing it though, recompiling any library gives me several error messages, see sample below). It seems that the .dep files are generated without including everything that's needed, and thus the compiler thinks that many things are undefined. I get somewhat further (get rid of some error messages) by copying the old dep files from my old version of OpenFOAM, but this feels like a very temporary and odd solution that requires ALOT of manual work to get it right.
I noticed that there has been some major revisions to wmake, but that should only concern parallel compilations, right? I tried with the old version of wmake but that didn't help. I also tried reverting to gcc 4.1.2, but that didn't change anything either. I've checked that I use gcc 4.2.1 and opensuse 10.2, and I haven't found anything in the release notes mentioning anything about this. I should say that this is on a login-machine with 4 processors on a cluster, and it's extremely lagged. Where should I look for what could be causing this? It worked ok with OF 1.3 Sample of errors: In file included from parcel/parcel.C:27: parcel/parcel.H:51: error: expected template-name before '<' token parcel/parcel.H:51: error: expected `{' before '<' token parcel/parcel.H:51: error: expected unqualified-id before '<' token parcel/parcel.H:369: error: expected initializer before '<' token parcel/parcel.H:376: error: expected initializer before '<' token In file included from parcel/parcel.H:385, from parcel/parcel.C:27: parcel/parcelI.H:34: error: expected initializer before '<' token parcel/parcelI.H:39: error: 'scalar' does not name a type |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MultiComponenMixturecellMixture not working properly | dominik_christ | OpenFOAM Running, Solving & CFD | 1 | August 6, 2008 04:25 |
How to properly specify number of positions for pa | Piti | CFX | 2 | January 12, 2008 11:11 |
How can I set the converge criteria properly? | Alina | FLUENT | 3 | September 7, 2007 16:55 |
Has anybody made an openfoam live CD | connclark | OpenFOAM Running, Solving & CFD | 2 | June 19, 2007 11:40 |
Self-made codes vs. commercial | John Van Workum | Main CFD Forum | 27 | April 1, 2001 21:23 |