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

Installation 1.5 as a user of server (New bird)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2009, 20:57
Default Installation 1.5 as a user of server (New bird)
  #1
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
I am only a user of a large computer server, and I execute the foamSystemCheck script in the bin/directory of the OpenFOAM installation.
Checking basic system...
-----------------------------------------------
Shell: /bin/tcsh
Host: jaerif
OS: Linux version 2.6.5-7.283-sn2
User: e090012

System check: PASS
------------------
Continue OpenFOAM installation.

Then I do Installation
---------------------------------------
EITHER
if running bash or ksh (if in doubt type echo $SHELL), source the etc/bashrc file by adding the following line to the end of your $HOME/.bashrc file:
. $HOME/OpenFOAM/OpenFOAM-<VERSION>/etc/bashrc
Then update the environment variables by sourcing the $HOME/.bashrc file by typing in the terminal:
. $HOME/.bashrc
OR
if running tcsh or csh, source the etc/cshrc file by adding the following line to the end of your $HOME/.cshrc file:
source $HOME/OpenFOAM/OpenFOAM-<VERSION>/etc/cshrc
Then update the environment variables by sourcing the $HOME/.cshrc file by typing in the terminal:
source $HOME/.cshrc
-----------------------------------------

However, when I run the command $HOME/.bashrc or $HOME/.cshrc, it is not successful.
/home/g2/e090012/.cshrc: Permission denied.
is shown.
What shall I do in the next step? Any suggestions? Thank you very much.
chiven is offline   Reply With Quote

Old   April 13, 2009, 00:54
Default any help
  #2
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
I try again, and do the following:

change the file of .bashrc in /home/g2/e090012/.bashrc
adding the following line to the end:
.$HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc

then
update the environment variable by this command:
.$HOME/.bashrc

however, "./home/g2/eo90012/.bashrc: Command not found." is shown.

in fact, ".bashrc" does exist there.

So I change the property by:

chmod 755 .bashrc

Still be unsuccessful. How shall I do?


I run this command: $PATH, the result is as follows.

.:.:.:.:.:.:/usr/center/bin:/opt/vast/bin:/jaeri/app/toolworks/totalview/bin:/jaeri/lsf/6.2/linux2.6-glibc2.3-sn-ipf/etc:/jaeri/lsf/6.2/linux2.6-glibc2.3-sn-ipf/bin:/usr/kerberos/bin:/opt/intel/itac/7.1/bin:/opt/intel/ita/bin:/opt/intel/itc/bin:/opt/intel/vtune/bin:/opt/intel_fc/10.1.011/bin:/opt/intel_idb/10.1.011/bin:/opt/intel_cc/10.1.011/bin:/opt/histx_1.3b/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin: Command not found.

welcome any comment.
chiven is offline   Reply With Quote

Old   April 13, 2009, 02:04
Default any comments
  #3
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
I also try to run the command with a blank like,

. $HOME/.bashrc


but the result is
.: Permission denied.

What shall I do?

I run this command: ls -l /home/g2/e090012/.bashrc

the result is :
-rwxrwxr-x 1 e090012 g0913 1364 Apr 13 16:11 /home/g2/e090012/.bashrc

Any suggestions?



Time is limited, I am very urgent now, can anybody give me suggestions?

Last edited by chiven; April 13, 2009 at 03:50.
chiven is offline   Reply With Quote

Old   April 13, 2009, 06:07
Default .: Permission denies
  #4
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
I have search many threads here, but all of the problems met by other friends are that some files or folders are Permission denied, so they can solve the problems easily, only by changing the characteristic of the files or folders.
However in my case, it is the "." which is " : Permission denies".
How to solve this problem?
chiven is offline   Reply With Quote

Old   April 13, 2009, 06:57
Default try to compile $HOME/.cshrc
  #5
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
Then I try to change the $HOME/.cshrc, add the source $HOME/OpenFOAM/OpenFOAM-1.5/etc/cshrc at the last raw, like:

-----------------------------------------------------
#
# This is the default standard .cshrc provided to csh users.
# They are expected to edit it to meet their own needs.
#
# The commands in this file are executed each time a new csh shell
# is started.
#
umask 022
set path=(. $path)
# list directories in columns
#alias ls 'ls -C'
alias cp 'cp -i'
alias mv 'mv -i'
alias rm 'rm -i'
# Remember last 100 commands
set history = 100
source $HOME/OpenFOAM/OpenFOAM-1.5/etc/cshrc

--------------------------------------------------------

and run the command: source $HOME/.cshrc
however, the result is as follows.

------------------------------------------------
jaerif g2/e090012> source $HOME/.cshrc
: Command not found.
umask: Improper mask.
---------------------------------------------

What shall I do?
chiven is offline   Reply With Quote

Old   April 13, 2009, 08:59
Default
  #6
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
For this problem,I think you'd better to ask for the system administrator for help.It's not OF related.
lin is offline   Reply With Quote

Old   April 13, 2009, 09:08
Default Thanks
  #7
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
Thanks for lin's reply.

But the problem is very queer. And I think the system administrator doesn't understand the FOAM.

Now, I am trying to install FOAM in another server.

Any other comments?
chiven is offline   Reply With Quote

Old   April 13, 2009, 09:54
Default The same problem
  #8
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
I try to install OpenFOAM in another server, the same problem is met. It is very intereting.

-------------------------------------------
[e090012@jaeripca ~]$ source $HOME/.cshrc
: Command not found.
umask: Improper mask.
-------------------------------------------


I have to go back and have a supper. Good night everybody, and see you tomorrow.
chiven is offline   Reply With Quote

Old   April 14, 2009, 07:39
Default Insteresting
  #9
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
I found an interesting thing.

I run the "foamInstallationTest" successfully in a server once, however, when I try to run it again, fail.

Another question,

Now I can run the source "$HOME/.cshrc" successfully, but after that, I run "foamInstallationTest", the results are

__________________________________________________ ______________

Checking basic setup...
-----------------------------------------------------------------------
FATAL ERROR: OpenFOAM environment not configured.
Please refer to the installation section of the README file:
<OpenFOAM installation dir>/OpenFOAM-1.5/README
to source the OpenFOAM environment.
__________________________________________________ ______________

And I check the file of ".cshrc", which is shown in follows.

__________________________________________________ ______________

#
# This is the default standard .cshrc provided to csh users.
# They are expected to edit it to meet their own needs.
#
# The commands in this file are executed each time a new csh shell
# is started.
#
umask 022
set path=(. $path)
# list directories in columns
#alias ls 'ls -C'
alias cp 'cp -i'
alias mv 'mv -i'
alias rm 'rm -i'
# Remember last 100 commands
set history = 100
source $HOME/OpenFOAM/OpenFOAM-1.5/etc/cshrc

__________________________________________________ ________________

I can not find any problem there.

Helps.
chiven is offline   Reply With Quote

Old   April 14, 2009, 09:05
Default very interesting
  #10
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
I try again and again, I revised the file of .cshrc as follows.

__________________________________________________ __________________________________________________ _________

#
# This is the default standard .cshrc provided to csh users.
# They are expected to edit it to meet their own needs.
#
# The commands in this file are executed each time a new csh shell
# is started.
#
umask 022
#set path=(. $path)
# list directories in columns
#alias ls 'ls -C'
alias cp 'cp -i'
alias mv 'mv -i'
alias rm 'rm -i'
# Remember last 100 commands
set history = 100
#source $HOME/OpenFOAM/OpenFOAM-1.5/etc/cshrc
#source /home/g2/e090012/OpenFOAM/OpenFOAM-1.5/etc/cshrc
setenv PATH $PATH:OpenFOAM/OpenFOAM-1.5/etc/cshrc
__________________________________________________ __________________________________________________ __________



suddenly the command of "foamInstallationTest" can be run, and the results are shown in following.


__________________________________________________ ___________________
jaerif OpenFOAM-1.5/bin> foamInstallationTestExecuting /home/g2/e090012/OpenFOAM/OpenFOAM-1.5/bin/foamInstallationTest:

Checking basic setup...
-------------------------------------------------------------------------------
Shell: tcsh
Host: jaerif
OS: Linux version 2.6.5-7.283-sn2
-------------------------------------------------------------------------------

Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/g2/e090012/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/g2/e090012/OpenFOAM/e090012-1.5 yes no
$WM_THIRD_PARTY_DIR /home/g2/e090012/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------

Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/g2/e090012/OpenFOAM/OpenFOAM-1.5 yes yes yes
$FOAM_APPBIN ...5/applications/bin/linuxIA64I64DPOpt yes yes yes
$FOAM_USER_APPBIN ...5/applications/bin/linuxIA64I64DPOpt yes yes no
$WM_DIR .../e090012/OpenFOAM/OpenFOAM-1.5/wmake yes yes yes
-------------------------------------------------------------------------------

Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...M/OpenFOAM-1.5/lib/linuxIA64I64DPOpt yes yes yes
$FOAM_USER_LIBBIN ...AM/e090012-1.5/lib/linuxIA64I64DPOpt yes yes no
$MPI_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------

Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.1
User version : 3.3.3
Minimum required: 4.2.0
gcc 3.3.3
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR
gzip 1.3.5 /usr/bin/gzip
tar 1.13.25 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/g2/e090012/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxIA64I64DPOpt/icoFoam
current path :
CRITICAL ERROR
-------------------------------------------------------------------------------

Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_jaerif Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.
-------------------------------------------------------------------------------
Base configuration ok.
The foam installation contains 2 critical error(s).
Review the output for warning messages and consult
the installation guide for trouble shooting.
done.
jaerif OpenFOAM-1.5/bin>
__________________________________________________ ___________________

I really hope the experts can give some suggestions to me. Thanks in advance.

Have a sweet dream, everybody.

Last edited by chiven; April 14, 2009 at 21:15.
chiven is offline   Reply With Quote

Old   April 14, 2009, 22:35
Default Sime results
  #11
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
Now I understand the errors before are resulted by my using ftp to edit the file. Now I am using the editor of vi, everything seems OK.

And I use this command to update the environment variables:
#setenv PATH /home/g2/e090012/OpenFOAM/OpenFOAM-1.5/ect/cshrc


Here are the results.

----------------------------------------------------------------------------------------------------------------------------------------------
Executing /home/g2/e090012/OpenFOAM/OpenFOAM-1.5/bin/foamInstallationTest:

Checking basic setup...
-------------------------------------------------------------------------------
Shell: tcsh
Host: jaerif
OS: Linux version 2.6.5-7.283-sn2
-------------------------------------------------------------------------------

Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/g2/e090012/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/g2/e090012/OpenFOAM/e090012-1.5 yes no
$WM_THIRD_PARTY_DIR /home/g2/e090012/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------

Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/g2/e090012/OpenFOAM/OpenFOAM-1.5 yes yes yes
$FOAM_APPBIN ...5/applications/bin/linuxIA64I64DPOpt yes yes yes
$FOAM_USER_APPBIN ...5/applications/bin/linuxIA64I64DPOpt yes yes no
$WM_DIR .../e090012/OpenFOAM/OpenFOAM-1.5/wmake yes yes yes
-------------------------------------------------------------------------------

Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...M/OpenFOAM-1.5/lib/linuxIA64I64DPOpt yes yes yes
$FOAM_USER_LIBBIN ...AM/e090012-1.5/lib/linuxIA64I64DPOpt yes yes no
$MPI_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------

Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.1
User version : 3.3.3
Minimum required: 4.2.0
gcc 3.3.3
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR
gzip 1.3.5 /usr/bin/gzip
tar 1.13.25 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/g2/e090012/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxIA64I64DPOpt/icoFoam
current path :
CRITICAL ERROR
-------------------------------------------------------------------------------

Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_jaerif Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.
-------------------------------------------------------------------------------
Base configuration ok.
The foam installation contains 2 critical error(s).
Review the output for warning messages and consult
the installation guide for trouble shooting.
done.

----------------------------------------------------------------------------------------------------------------------------------------------
chiven is offline   Reply With Quote

Old   April 15, 2009, 06:27
Default more better now
  #12
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
adding the following line to the end of your $HOME/.cshrc file is also OK now:

source $HOME/OpenFOAM/OpenFOAM-1.5/etc/cshrc

before there, i have to run the command to define WM_COMPILER_DIR:


setenv WM_COMPILER_DIR /home/g2/e090012/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/
chiven is offline   Reply With Quote

Old   April 19, 2009, 23:51
Default Install in VMware
  #13
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
Executing /home/cai/OpenFOAM/OpenFOAM-1.5/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux-jobm
OS: Linux version 2.6.22.19-0.2-default
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/cai/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/cai/OpenFOAM/cai-1.5 yes no
$WM_THIRD_PARTY_DIR /home/cai/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/cai/OpenFOAM/OpenFOAM-1.5 yes yes yes

$FOAM_APPBIN ...M-1.5/applications/bin/linuxGccDPOpt yes yes yes
$FOAM_USER_APPBIN ...i-1.5/applications/bin/linuxGccDPOpt yes yes no
$WM_DIR /home/cai/OpenFOAM/OpenFOAM-1.5/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...nFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...i/OpenFOAM/cai-1.5/lib/linuxGccDPOpt yes yes no
$MPI_ARCH_PATH ...penmpi-1.2.6/platforms/linuxGccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.1 .../OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc
gzip 1.3.12 /usr/bin/gzip
tar 1.17 /bin/tar
icoFoam 1.5 ...AM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_linux-jobm Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

Critical systems ok.


done.




















cai@linux-jobm:~/OpenFOAM/cai-1.5/run/tutorials/icoFoam/cavity> blockMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Exec : blockMesh
Date : Apr 18 2009
Time : 04:01:28
Host : linux-jobm
PID : 11331
Case : /home/cai/OpenFOAM/cai-1.5/run/tutorials/icoFoam/cavity
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time


Reading block mesh description dictionary

Creating block mesh

Creating blockCorners

Creating curved edges

Creating blocks

Creating patches

Creating block mesh topology

Default patch type set to empty

Check block mesh topology

Basic statistics
Number of internal faces : 0
Number of boundary faces : 6
Number of defined boundary faces : 6
Number of undefined boundary faces : 0

Checking patch -> block consistency

Creating block offsets

Creating merge list .

Creating points

Creating cells

Creating patches

Creating mesh from block mesh

Default patch type set to empty

Writing polyMesh

end
cai@linux-jobm:~/OpenFOAM/cai-1.5/run/tutorials/icoFoam/cavity>
















cai@linux-jobm:~/OpenFOAM/cai-1.5/run/tutorials/icoFoam/cavity> paraFoam
paraview: error while loading shared libraries: libQtAssistantClient.so.4: cannot open shared object file: No such file or directory





however, I can use paraview directly by changing it ti VTK form.

blockMesh
chechMesh
icofoam >& log &
cat log
foamToVTK
paraview


therefore, there maybe an conflict between the QT version and paraview 3.3.

anyway, it is basically successful, congratulations. good luck

Last edited by chiven; April 21, 2009 at 08:31.
chiven is offline   Reply With Quote

Old   April 21, 2009, 08:16
Default new progress
  #14
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
Today, I revise the file of "~/OpenFOAM/OpenFOAM-1.5/etc/cshrc" as following part:

----------------------------------------------------------------
case ia64:
# setenv WM_ARCH linuxIA64
setenv WM_ARCH linux64
# setenv WM_COMPILER I64
breaksw
----------------------------------------------------------------

then run foamInstallationTest in the /etc/ directory successfully, the results are shown as follows.

---------------------------------------------------------------------
jaerif OpenFOAM-1.5/bin> foamInstallationTest
Executing /home/g2/e090012/OpenFOAM/OpenFOAM-1.5/bin/foamInstallationTest:

Checking basic setup...
-------------------------------------------------------------------------------
Shell: tcsh
Host: jaerif
OS: Linux version 2.6.5-7.283-sn2
-------------------------------------------------------------------------------

Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/g2/e090012/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/g2/e090012/OpenFOAM/e090012-1.5 yes no
$WM_THIRD_PARTY_DIR /home/g2/e090012/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------

Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/g2/e090012/OpenFOAM/OpenFOAM-1.5 yes yes yes
$FOAM_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_USER_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes no
$WM_DIR .../e090012/OpenFOAM/OpenFOAM-1.5/wmake yes yes yes
-------------------------------------------------------------------------------

Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.5/lib/linux64GccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...FOAM/e090012-1.5/lib/linux64GccDPOpt yes yes no
$MPI_ARCH_PATH ...nmpi-1.2.6/platforms/linux64GccDPOpt yes yes yes
-------------------------------------------------------------------------------

Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.1
User version :
Minimum required: 4.2.0
gcc ...penFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
gzip 1.3.5 /usr/bin/gzip
tar 1.13.25 /bin/tar
icoFoam .../OpenFOAM-1.5/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------

Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_jaerif Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.
-------------------------------------------------------------------------------
Base configuration ok.
Critical systems ok.

done.
-----------------------------------------------------------------------

however, when i try to run the case of cavity, i is not OK. the results like,

-----------------------------------------------------------------------
jaerif tutorials/icoFoam> cd cavity
jaerif icoFoam/cavity> blockMesh
/home/g2/e090012/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/blockMesh: Exec format error. Binary file not executable.
-----------------------------------------------------------------------

I check the gcc version, it also show binary file is not executable as follows.

---------------------------------------------------------------------------------------------------------------------

jaerif OpenFOAM-1.5/bin> gcc version
/home/g2/e090012/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc: Exec format error. Binary file not executable.

---------------------------------------------------------------------------------------------------------------------




I think for this ia64 linux platform, i have to rebuild the complete OpenFOAM from the source-pack by myself.

good luck.

Last edited by chiven; April 21, 2009 at 22:19.
chiven is offline   Reply With Quote

Old   April 22, 2009, 07:29
Default buildParaView3.3-cvs problem
  #15
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
-- Build files have been written to: /home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc
Scanning dependencies of target vtksys
[ 0%] Building C object VTK/Utilities/kwsys/CMakeFiles/vtksys.dir/ProcessUNIX.o
In file included from /usr/include/signal.h:333,
from /usr/include/sys/wait.h:31,
from /home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:56:
/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
In file included from /usr/include/errno.h:36,
from /home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:60:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/dirent.h:232,
from /home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:63:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘vtksysProcess_Execute’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:730: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:730: error: (Each undeclared identifier is reported only once
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:730: error: for each function it appears in.)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘kwsysProcessWaitForPipe’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:1036: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘vtksysProcess_Kill’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:1347: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘kwsysProcessCleanup’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:1465: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘kwsysProcessCleanupDescriptor’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:1512: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘kwsysProcessClosePipes’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:1540: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘kwsysProcessCreate’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:1733: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘kwsysProcessDestroy’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:1779: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘kwsysProcessFork’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:2278: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘kwsysProcessesAdd’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:2555: error: ‘EINTR’ undeclared (first use in this function)
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c: In function ‘kwsysProcessesRemove’:
/home/cai/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Utilities/kwsys/ProcessUNIX.c:2592: error: ‘EINTR’ undeclared (first use in this function)
make[2]: *** [VTK/Utilities/kwsys/CMakeFiles/vtksys.dir/ProcessUNIX.o] Error 1
make[1]: *** [VTK/Utilities/kwsys/CMakeFiles/vtksys.dir/all] Error 2
make: *** [all] Error 2
done
chiven is offline   Reply With Quote

Old   April 26, 2009, 22:33
Default done
  #16
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
for the SUSE 10.3 platform, it only need to compile the paraview 3.3, it is OK.

and for the IA64 platform, it need to rebuild the OpenFOAM from the source codes.

Special thanks to Dr Wei in Tongji University, China.

Good luck everybody.
chiven 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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Installation of CCM+ on HPC server 2008 Peter Schiøler Siemens 0 January 29, 2009 05:49
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19
External Flow Computations - Lift and Drag Ramanath KS Main CFD Forum 9 December 28, 2000 17:38


All times are GMT -4. The time now is 16:53.