CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Compile new solver under SuSE 64bit OS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2005, 16:51
Default Hi, I am trying to compile
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi,

I am trying to compile a new interFoam solver (actually, I only added inlet velocity as a function of time in the solver) under SuSE 64-bit 9.3 pro. I copied all the source code under interFoam, renamed interFoam.C to interFoamInlet.C. Modified files under Make. Then, typed wmake to compile - it failed.

I did exactly the same thing on a Fedora Core 3 32-bit OS and the new solver was built successfully.

Any suggestion? Thanks!

pei
hsieh is offline   Reply With Quote

Old   September 7, 2005, 21:51
Default Hi, I just tried the same t
  #2
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi,

I just tried the same thing on a Fedora Core 4_64 system. Compilation went through without a problem. There is something wrong with my SuSE_64 system.

Pei
hsieh is offline   Reply With Quote

Old   September 8, 2005, 10:57
Default Hi, It is still not clear t
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi,

It is still not clear to me why this SuSE_64 is giving me trouble (while the FC4_64 is no problem). It will be highly appreciated if someone can point to me a direction. Here are part of the error message (looked like there is some problem with gcc):

make: Nothing to be done for `allFiles'.
make: `Make/linuxAMD64Gcc4Opt/dependencies' is up to date.

SOURCE_DIR=incompressibleTwoPhaseMixture
SOURCE=incompressibleTwoPhaseMixture/twoPhaseMixture.C ; g++ -m64 -DlinuxAMD64 -Wall -W -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -IincompressibleTwoPhaseMixture -IinterfaceProperties -IinterfaceProperties/gammaContactAngle -I/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/cfdTools/incompressible -I/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/cfdTools/general/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/transportModels -I/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/movingFvMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -c $SOURCE -o Make/linuxAMD64Gcc4Opt/twoPhaseMixture.o

â&euro;&tilde;struct std::char_traits<wchar_t>â&euro;&trade;
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/bits/sstream.tcc:147: error: no type named â&euro;&tilde;off_typeâ&euro;&trade; in â&euro;&tilde;struct std::char_traits<wchar_t>â&euro;&trade;
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/sstream: In instantiation of â&euro;&tilde;std::basic_istringstream<wchar_t,> , std::allocator<wchar_t> >â&euro;&trade;:
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/bits/sstream.tcc:231: instantiated from here
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/sstream:285: error: no type named â&euro;&tilde;int_typeâ&euro;&trade; in â&euro;&tilde;struct std::char_traits<wchar_t>â&euro;&trade;
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/sstream:287: error: no type named â&euro;&tilde;off_typeâ&euro;&trade; in â&euro;&tilde;struct std::char_traits<wchar_t>â&euro;&trade;
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/sstream: In instantiation of â&euro;&tilde;std::basic_ostringstream<wchar_t,> , std::allocator<wchar_t> >â&euro;&trade;:
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/bits/sstream.tcc:232: instantiated from here
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/sstream:398: error: no type named â&euro;&tilde;int_typeâ&euro;&trade; in â&euro;&tilde;struct std::char_traits<wchar_t>â&euro;&trade;
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/sstream:400: error: no type named â&euro;&tilde;off_typeâ&euro;&trade; in â&euro;&tilde;struct std::char_traits<wchar_t>â&euro;&trade;
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/sstream: In instantiation of â&euro;&tilde;std::basic_stringstream<wchar_t,>, std::allocator<wchar_t> >â&euro;&trade;:
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/bits/sstream.tcc:233: instantiated from here
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/sstream:511: error: no type named â&euro;&tilde;int_typeâ&euro;&trade; in â&euro;&tilde;struct std::char_traits<wchar_t>â&euro;&trade;
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/sstream:513: error: no type named â&euro;&tilde;off_typeâ&euro;&trade; in â&euro;&tilde;struct std::char_traits<wchar_t>â&euro;&trade;
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/OSspecific.H:50: error: â&euro;&tilde;pid_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/OSspecific.H:53: error: â&euro;&tilde;pid_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/OSspecific.H:56: error: â&euro;&tilde;pid_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/OSspecific.H:88: error: â&euro;&tilde;mode_tâ&euro;&trade; has not been declared
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/OSspecific.H:91: error: ISO C++ forbids declaration of â&euro;&tilde;mode_tâ&euro;&trade; with no type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/OSspecific.H:94: error: â&euro;&tilde;mode_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/OSspecific.H:109: error: â&euro;&tilde;off_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/OSspecific.H:112: error: â&euro;&tilde;time_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/regIOobject.H:71: error: â&euro;&tilde;time_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/VectorSpaceI.H: In function â&euro;&tilde;Foam::scalar Foam::mag(const Foam::VectorSpace<form,>&)â&euro;&trade;:
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/VectorSpaceI.H:332: error: â&euro;&tilde;::sqrtâ&euro;&trade; has not been declared
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/clock.H: At global scope:
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/clock.H:56: error: â&euro;&tilde;time_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/clock.H:59: error: â&euro;&tilde;time_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/clock.H:62: error: â&euro;&tilde;time_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/clock.H:79: error: â&euro;&tilde;time_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/clock.H:91: error: â&euro;&tilde;time_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/clock.H:94: error: â&euro;&tilde;time_tâ&euro;&trade; does not name a type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/cpuTime.H:57: error: field â&euro;&tilde;startTime_â&euro;&trade; has incomplete type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/cpuTime.H:58: error: field â&euro;&tilde;lastTime_â&euro;&trade; has incomplete type
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/cpuTime.H:59: error: field â&euro;&tilde;newTime_â&euro;&trade; has incomplete type
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/streambuf: In member function â&euro;&tilde;typename _Traits::pos_type std::basic_streambuf<_chart,>::seekpos(typename _Traits::pos_type, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]â&euro;&trade;:
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/streambuf:243: instantiated from â&euro;&tilde;typename _Traits::pos_type std::basic_streambuf<_chart,>::pubseekpos(typename _Traits::pos_type, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]â&euro;&trade;
/home/phsieh/OpenFOAM/OpenFOAM-1.2/src/OpenFOAM/lnInclude/OStringStream.H:104: instantiated from here
/home/phsieh/OpenFOAM/linuxAMD64/gcc-4.0.1/bin/../lib/gcc/x86_64-unknown-linux-g nu/4.0.1/../../../../include/c++/4.0.1/streambuf:590: error: no type named â&euro;&tilde;off_typeâ&euro;&trade; in â&euro;&tilde;struct std::char_traits<char>â&euro;&trade;
make: *** [Make/linuxAMD64Gcc4Opt/twoPhaseMixture.o] Error 1

pei
hsieh is offline   Reply With Quote

Old   September 8, 2005, 12:56
Default Sorry about the long post. Af
  #4
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Sorry about the long post. After installing some more c++ stuffs, this problem has been solved.

pei
hsieh 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
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 07:31
WinXP 64bit Stephan Fidelity CFD 0 July 4, 2007 11:53
OF 14 Compilation error SuSE 102 64bit alberto OpenFOAM Installation 5 May 15, 2007 04:27
CFX in 64bit Nick CFX 4 January 4, 2006 00:12
64bit compiler???? BK Siemens 3 May 22, 2005 22:26


All times are GMT -4. The time now is 14:59.