CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Wmake clock skew detectedis this causing a problem (https://www.cfd-online.com/Forums/openfoam-solving/59578-wmake-clock-skew-detectedis-causing-problem.html)

york June 28, 2007 17:20

Hello, I am just getting st
 
Hello,

I am just getting started trying out OpenFOAM. I am using version 1.3, on Red Hat Enterprise 4. I am trying to compile just a trivial little .c file. I am seeing this error first thing when I type "wmake" :

make: Warning: File `linuxGcc4DPOpt/objectFiles' has modification time 0.013 s in the future
make: warning: Clock skew detected. Your build may be incomplete.
make: Warning: File `Make/linuxGcc4DPOpt/dontIncludeDeps' has modification time 0.05 s in the future
Making dependency list for source file firstSolver.c
make: warning: Clock skew detected. Your build may be incomplete.

My understanding is that this modified-in-the-future thing is a known issue with RHEL4, and I can't fix it. I thought I found a post in these forums about a way to alter how "tightly" wmake examined the modified timestamp, to give it more of a "window of acceptance," but I cannot find it now.

Is this warning causing a problem? I have an enormous mass of errors after this make warning, but it seems possible they could all be caused by the make error.

Thank you,

stephan June 29, 2007 08:43

hi, i had similar problems
 
hi,

i had similar problems with an nfs-mounted file system - i guess your working with a non-local filesystem too?
greetings
stephan

oscar_j July 10, 2007 23:43

hi, I am trying to get the
 
hi,

I am trying to get the compilation of the laplacianFoam solver with wmake. But some errors happens.

I type within $FOAM_APP/solvers/basic/laplacianFoam directory (OpenFOAM-1.4) simply 'wmake' but I have error messages like these:

/home/oscar/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../. ./../../include/c++/4.1.2/bits/locale_facets.h:3916: error: variable or field '_M_initialize_moneypunct' declared void
/home/oscar/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../. ./../../include/c++/4.1.2/bits/locale_facets.h:3916: error: 'int std::moneypunct<wchar_t,>::_M_initialize_moneypunc t' is not a static member of 'class std::moneypunct<wchar_t,>'
/home/oscar/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../. ./../../include/c++/4.1.2/bits/locale_facets.h:3916: error: '__c_locale' was not declared in this scope
/home/oscar/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../. ./../../include/c++/4.1.2/bits/locale_facets.h:3917: error: expected primary-expression before 'const'
/home/oscar/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../. ./../../include/c++/4.1.2/bits/locale_facets.h:3917: error: initializer expression list treated as compound expression
/home/oscar/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../. ./../../include/c++/4.1.2/bits/locale_facets.h:3921: error: variable or field '_M_initialize_moneypunct' declared void



What's my mistake?

Thanks!
Oscar


All times are GMT -4. The time now is 19:11.