scotch may not be built by icc.
Here is a proof. So I give up the route to compile OpenFOAM by icc.
Quote:
Hi Achim,
I wanted the output and error messages to be in the same file, so I could have an historic detailing of where/when the errors occurred. This way I have separate history lines...
Either way, my suspicion is that you edited the following code in "etc/config/settings.sh":
If you changed the lines with "WM_CC" and "WM_CXX" to use "icc", then undo those changes! Like I wrote before, Scotch will not build with Icc... at least not without substantial hacking - here's the proof: http://www.openfoam.com/mantisbt/view.php?id=323
By the way, knowing which Gcc version and Linux architecture would make it easier for me to help you. To know the architecture, run:
Best regards,
Bruno
I wanted the output and error messages to be in the same file, so I could have an historic detailing of where/when the errors occurred. This way I have separate history lines...
Either way, my suspicion is that you edited the following code in "etc/config/settings.sh":
Code:
x86_64)
case "$WM_ARCH_OPTION" in
32)
export WM_COMPILER_ARCH=64
export WM_CC='gcc'
export WM_CXX='g++'
export WM_CFLAGS='-m32 -fPIC'
export WM_CXXFLAGS='-m32 -fPIC'
export WM_LDFLAGS='-m32'
;;
64)
WM_ARCH=linux64
export WM_COMPILER_LIB_ARCH=64
export WM_CC='gcc'
export WM_CXX='g++'
export WM_CFLAGS='-m64 -fPIC'
export WM_CXXFLAGS='-m64 -fPIC'
export WM_LDFLAGS='-m64'
;;
By the way, knowing which Gcc version and Linux architecture would make it easier for me to help you. To know the architecture, run:
Code:
uname -m
Bruno
Total Comments 0




