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

Problems about compiling a new solver

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 23, 2007, 18:03
Default i am trying to use a solver of
  #1
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 8
fw407 is on a distinguished road
i am trying to use a solver of FSI.but i do not know how to do it,so i first follow steps i found on a website to create a solver by modify a pre-defined solver,here is the address:
http://www.csc.fi/english/research/s...enfoam/modsol/

at the beginning,everything is fine,
but when i inuput "emacs Make/files"
and the terminal tells me:
The program 'emacs' can be found in the following packages:
* emacs21-nox
* emacs22-gtk
* emacs22
* emacs-snapshot
* e3
* emacs-snapshot-nox
* emacs21
* emacs22-nox
* jove
* emacs-snapshot-gtk
Try: sudo apt-get install <selected>
bash: emacs: command not found

i do not what is the problem,so i creat a file manully which the coresponding step on the website want me to creat
after that i input "wmake",problems also comes up
,the terminal tells me:
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:111: error: '::fopen' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:112: error: '::fprintf' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:113: error: '::fputc' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:114: error: '::fputs' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:115: error: '::fread' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:116: error: '::freopen' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:117: error: '::fscanf' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:118: error: '::fseek' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:119: error: '::fsetpos' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:120: error: '::ftell' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:121: error: '::fwrite' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:122: error: '::getc' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:123: error: '::getchar' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:124: error: '::gets' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:125: error: '::perror' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:126: error: '::printf' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:127: error: '::putc' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:128: error: '::putchar' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:129: error: '::puts' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:130: error: '::remove' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:131: error: '::rename' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:132: error: '::rewind' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:133: error: '::scanf' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:134: error: '::setbuf' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:135: error: '::setvbuf' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:136: error: '::sprintf' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../. ./../../include/c++/4.2.1/cstdio:137: error: '::sscanf' has not been declared
/home/fw407/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-g

these are just part of the errors ,for it is too long.sorry about that

i know if everything was fine,i should get an executable in the
/home/fw407/OpenFOAM/fw407-1.4.1/applications/bin/linuxGccDPOpt directory


So could anyone give me some advice on how to deal with it?
fw407 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling problems chris1980 OpenFOAM Installation 8 June 3, 2015 15:41
Problems with compiling roberthino OpenFOAM Installation 3 March 17, 2008 05:04
Problems compiling OF 141 on Edubuntu 71 david_flo1 OpenFOAM Installation 16 January 22, 2008 00:16
Problems about compiling a new solver fw407 OpenFOAM Running, Solving & CFD 1 December 27, 2007 14:52
Problems compiling under 14 grtabor OpenFOAM Running, Solving & CFD 9 July 17, 2007 22:34


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