|
[Sponsors] |
April 10, 2014, 08:10 |
wmake error own solver
|
#1 |
New Member
Join Date: Apr 2014
Location: Germany
Posts: 24
Rep Power: 12 |
Hello,
I'm trying to compile my own solver (OpenFoam 1.6) on our cluster and after copying the folder,changing the name of the folder and the .c, editing the options file i typed wmake. First it says that inside Make/linux.../options a delimiter is missing. I fixed this by removing the line break. Then i typed wmake again and got the following error message Making dependency list for source file myIcoFoam.C SOURCE=myIcoFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/opt/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/myIcoFoam.o In Datei, eingefügt von /usr/include/limits.h:27, von /opt/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.3/include-fixed/limits.h:122, von /opt/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.3/include-fixed/syslimits.h:7, von /opt/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.3/include-fixed/limits.h:11, von /opt/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../include/c++/4.3.3/climits:48, von /opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/label.H:39, von /opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/labelList.H:36, von /opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/Pstream.H:44, von /opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/OPstream.H:36, von /opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/parRun.H:36, von /opt/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude/fvCFD.H:4, von myIcoFoam.C:33: /usr/include/features.h:324:26: Fehler: bits/predefs.h: Datei oder Verzeichnis nicht gefunden /usr/include/features.h:357:25: Fehler: sys/cdefs.h: Datei oder Verzeichnis nicht gefunden /usr/include/features.h:389:23: Fehler: gnu/stubs.h: Datei oder Verzeichnis nicht gefunden I tried to compile this a home in a VirtualBox and it worked. Any ideas what is missing on the cluster? Kind regards Moritz |
|
April 10, 2014, 13:06 |
|
#2 |
Senior Member
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21 |
These
Code:
/usr/include/features.h:324:26: Fehler: bits/predefs.h: Datei oder Verzeichnis nicht gefunden /usr/include/features.h:357:25: Fehler: sys/cdefs.h: Datei oder Verzeichnis nicht gefunden /usr/include/features.h:389:23: Fehler: gnu/stubs.h: Datei oder Verzeichnis nicht gefunden Try and find out the version of the operating system you are using by executing: Code:
cat /etc/issue
__________________
When asking a question, prepare a SSCCE. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add a FORTRAN object to wmake compilation directives | vitors | OpenFOAM Programming & Development | 1 | April 9, 2014 15:25 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 12:34 |
compliing a new solver with wmake | kirankarki | OpenFOAM | 18 | October 26, 2010 18:59 |
Wmake problem interFoam solver | feijooos | OpenFOAM Running, Solving & CFD | 4 | December 8, 2008 12:01 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |