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

OpenFOAM-2.2.x failed to compile on OpenSUSE 12.3

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2013, 04:49
Default OpenFOAM-2.2.x failed to compile on OpenSUSE 12.3
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Dear OpenFOAMers,

I am wondering if anyone has compiled OpenFOAM-2.2.x successfully on OpenSUSE 12.3 64 bit?

I got the following errors. It will be appreciated if someone can shed some light on this.

Thanks!

Pei-Ying
--------------------------------

make[1]: Leaving directory `/home/phsieh/OpenFOAM/ThirdParty-2.2.x/scotch_6.0.0/src/check'
rm -f ../bin/* ../include/* ../lib/*
========================================
Build Tecio
optional component was not found

========================================
Done ThirdParty Allwmake
========================================

+ wmakePrintBuild -check
same version as previous build
+ wmakeLnInclude OpenFOAM
wmakeLnInclude: linking include files to OpenFOAM/lnInclude
+ wmakeLnInclude OSspecific/POSIX
wmakeLnInclude: linking include files to OSspecific/POSIX/lnInclude
+ Pstream/Allwmake
+ wmake libso dummy
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file UPstream.C
Making dependency list for source file UIPread.C
Making dependency list for source file UOPwrite.C
SOURCE=UPstream.C ; wmakeScheduler g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc46DPOpt/UPstream.o
SOURCE=UIPread.C ; wmakeScheduler g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc46DPOpt/UIPread.o
SOURCE=UOPwrite.C ; wmakeScheduler g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc46DPOpt/UOPwrite.o
ssh: connect to host jali port 22: No route to host
make: *** [Make/linux64Gcc46DPOpt/UIPread.o] Error 255
make: *** Waiting for unfinished jobs....
^C
----------------------------
phsieh2005 is offline   Reply With Quote

Old   March 24, 2013, 13:57
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Pei-Ying,

The only error I can see is:
Quote:
ssh: connect to host jali port 22: No route to host
which is a very strange error... it looks like you had something running in the background using &, such as:
Code:
ssh jali &
which was probably launched before Allwmake.

As for:
Quote:
Build Tecio
optional component was not found
That's normal and not an error .

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 24, 2013, 15:32
Default
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Bruno,

Thanks for the reply! You have been very kind to offer help, as always.

I have been fooling around the ssh stuffs in opensuse 12.3, but, no luck.

Both openFoam-2.1.x and 2.2.x compiled successfully on opensuse 12.2. But, both failed on opensuse 12.3 with the same issue. There is something different between opensuse 12.2 and 12.3.

Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   March 25, 2013, 16:08
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Pei-Ying,

I think I now understand what's going on! You're using "wmakeScheduler"!
I suggest that instead of using something like this:
Code:
export WM_SCHEDULER=wmakeScheduler
export WM_HOSTS="aaa:1 bbb:4"
export WM_NCOMPPROCS=$($WM_SCHEDULER -count)
export WM_COLOURS="black blue green cyan red magenta yellow"
You use only this:
Code:
export WM_NCOMPPROCS=4
This way you specify that you only want to use a single machine for compiling, but with 4 parallel processes!
______

In the mean time, try to diagnose if ssh works locally:
Code:
ssh localhost
And to the target machine, first check if it can be found:
Code:
ping jali
Additionally, I think that for using wmakeScheduler, you'll need to configure your ssh keys for being able to use a key based (and without password) connection to the trusted machines: https://help.ubuntu.com/community/SSH/OpenSSH/Keys

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 25, 2013, 18:18
Default
  #5
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Thanks a lot Bruno!

You are an angel. You were correct. WM_SCHEDULER is the cause of the issue.

Pei-Ying
phsieh2005 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
Transient boundary conditions Jarrod Sinclair (Sinclair) OpenFOAM Running, Solving & CFD 133 May 6, 2015 06:21
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
Can anybody help me to solve the list errors while compiling Openfoam 15 on Opensuse 103 32bit coompressor OpenFOAM Installation 0 November 12, 2008 19:53
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 15:21.