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

AMD 64 bit installation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2005, 16:47
Default There are two environment vari
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
There are two environment variables that point to wrong folder names after installation, which result in problems with either foamInstallation test or just running the FoamX since the test is not updated:

$JAVA_PATH
points to $HOME/OpenFOAM/linux/j2sdk1.4.2_05
while it should point to linuxAMD64 since this is the name for <platform>
$MICO_ARCH_PATH
-bash: $HOME/OpenFOAM/OpenFOAM-1.2/src/mico-2.3.11/platforms/linuxGcc4Opt
where it should point to linuxAMD64GccOpt

the last folder name convention (linuxGcc4Opt) is used correctly in the rest of environment variables, like:
$FOAM_LIBBIN
$FOAM_USER_LIBBIN
$LAM_ARCH_PATH

so why the unpacking added this AMD64 to the normal linuxGCC4Opt in one place but not all.

correcting such names by changing folder names, does not remove the 2 critical errors.

foamInstallationTest gives
2 critical error(s)

By the way I read the thread:
OpenFoam-Bugs: Typo in foamInstallationTest, version 1.2?
and the suggested modification does not solve the problem for 64 bit installation.

the result of the test is:
----------------------------------------------------------------
$JAVA_PATH ...mhussin/OpenFOAM/linux/j2sdk1.4.2_05 no no
$MICO_ARCH_PATH ...c/mico-2.3.11/platforms/linuxGcc4Opt no yes

gcc ...figure
WARNING: Conflicting installations:
foam settings: /home/mhussin/OpenFOAM/linux/gcc-4.0.1/bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.4.2-01
WARNING: Conflicting installations:
foam settings: /home/mhussin/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
current path : /opt/blackdown-jdk-1.4.2.01/bin/java

head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
gzip 1.3.5 /bin/gzip
tar 1.3.5 /bin/tar
icoFoam *** not installed ***
CRITICAL ERROR
-----------------------------------------------------------------

Can any body help?

/Maka
maka is offline   Reply With Quote

Old   August 26, 2005, 17:14
Default problem solved. it is a techn
  #2
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
problem solved.
it is a technical problem, the 64 bit cluster has 32 bit processor on the file server so, I had to ssh to one of cluster processors to install.

it seem that it is good to check $processor before installing:
32 bit gives i686
64 bit gives x86_64
maka is offline   Reply With Quote

Old   October 20, 2006, 04:57
Default Dear Maka Mohu, I am tryin
  #3
mss
Guest
 
Posts: n/a
Dear Maka Mohu,

I am trying to install OpenFOAM on my computer (Linux Suse 10.1) and I
have the same problems as you. Could you please give me some detailed
advise how to solve this problem?

the result of the test is:

-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.0
WARNING: Conflicting installations:
foam settings: /home/margst/OpenFOAM/linux/gcc-4.1.0-64/bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.4.2_11
WARNING: Conflicting installations:
foam settings: /home/margst/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
current path : /usr/bin/java

gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam ...M/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/icoFoam
-------------------------------------------------------------------------------

/Rita
  Reply With Quote

Old   October 20, 2006, 06:19
Default What worked for me is: In t
  #4
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
What worked for me is:

In the following check the <platform> folder name.

- This is tried with OpenFOAM V1.2
- It happens that my 64 bit processors are AMD but if I understood right the following may work for you:

what is meant by plateform directory is:
"linux" for 32 bit
"linuxAMD64" for 64 bit

so:
- make a directory named OpenFOAM in your user folder.
- make another directory inside the later and name it, in 64 bit case, linuxAMD64,
- copy the following to OpenFOAM:
Source pack OpenFOAM-1.2.General.gtgz
binary pack OpenFOAM-1.2.linuxAMD64Gcc4Opt.gtgz
- unpack with tar xzf
- copy the rest of the files to linuxAMD64
- unpack with tar xzf
- modify .bashrc
- use the following command: export WM_64="on"
- you may check you environment vars by:
printenv|sort
- source from a 64 bit processor since processor type is automatically detected.
- After that it worked for me.

Good luck!

best regards,
Maka
maka is offline   Reply With Quote

Old   December 3, 2008, 19:31
Default I'm trying to install OpenFOAM
  #5
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
hellorishi is on a distinguished road
I'm trying to install OpenFOAM-1.5 on AMD Opteron (64bit) machine with SuSE SLED 10.
Although the installation test says everything OK, I have problems when I try to build paraFoam.

error msg is:
File format not recognized.

Can somebody throw some light on the issue ?
is it some BIG endian issue?

Here are the error msg:
************************************************** *************************
the versions of diff installed programs are
************************************************** *************************
QMake version 2.01a
Using Qt version 4.3.2 in /usr/local/Trolltech/Qt-4.3.2/lib

cmake version 2.4-patch 6

gcc (GCC) 4.3.1
************************************************** *************************

buildParaView3.3-cvs

Building ParaView3.3-cvs
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /home/cfd2/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /home/cfd2/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc
-- Check for working C compiler: /home/cfd2/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
-- Check for working C compiler: /home/cfd2/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- broken
CMake Error: The C compiler "/home/cfd2/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/home/cfd2/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/ CMakeTmp'
/home/cfd2/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake -E cmake_progress_report /home/cfd2/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/C MakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o
/home/cfd2/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /home/cfd2/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/C MakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec
/home/cfd2/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake -P CMakeFiles/cmTryCompileExec.dir/cmake_clean_target.cmake
/home/cfd2/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -fPIC "CMakeFiles/cmTryCompileExec.dir/testCCompiler.o" -o cmTryCompileExec -rdynamic
/home/cfd2/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64 -unknown-linux-gnu/4.3.1/../../../../lib64/libgcc_s.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
gmake[1]: *** [cmTryCompileExec] Error 1
gmake[1]: Leaving directory `/home/cfd2/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/ CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2


CMake will not be able to correctly generate this project.
-- Configuring done
make: *** No targets specified and no makefile found. Stop.
done


************************************************** *************************
Compiling a simple helloworld.cpp to check gcc
************************************************** *************************
#include <iostream>
using namespace std;
int main()
{
cout << " Hello World "<< endl;
return 0;
}
********************
gcc helloworld.cpp

/home/cfd2/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64 -unknown-linux-gnu/4.3.1/../../../../lib64/libgcc_s.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
************************************************** *************************
ThirdParty > ./Allwmake
...
...
...
/home/cfd2/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64 -unknown-linux-gnu/4.3.1/../../../../lib64/libstdc++.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [/home/cfd2/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libMGridGen.so] Error 1

************************************************** *************************
hellorishi is offline   Reply With Quote

Old   January 10, 2009, 13:56
Default Hi, I use OpenFOAM 1.4.1 with
  #6
Member
 
Danielle PRL
Join Date: Mar 2009
Posts: 42
Rep Power: 17
danielle is on a distinguished road
Hi,
I use OpenFOAM 1.4.1 with Open suse 11.

I have installed all the package Tcl/tk but paraFoam gives this error:
/home/danprlx/OpenFOAM/linux64/paraview-2.4.4/lib/paraview-2.4/paraview-real: error while loading shared libraries: libtk8.4.so: cannot open shared object file: No such file or directory
I need a help thanks
danielle is offline   Reply With Quote

Old   January 11, 2009, 01:36
Default Hi Danielle, can you send
  #7
Member
 
Velan
Join Date: Mar 2009
Location: India
Posts: 50
Rep Power: 17
velan is on a distinguished road
Hi Danielle,

can you send us the output of

locate libtk8.4.so ?

This error shows, that libtk8.4.so is not installed or path is not defined properly.

If locate doesnt shows any output, then you have to install libtk8.4.so,

If it shows the path, then try to export that path and rebuild it. It will work properly.
velan is offline   Reply With Quote

Old   January 11, 2009, 11:42
Default The reason is that you are try
  #8
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
The reason is that you are trying to use an old package file (libtk8.4.so) in a new OS(suse 11). You should install it.
lin 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
Regarding installation vidyaprakash Siemens 0 December 22, 2006 00:03
HP Installation ali OpenFOAM Installation 7 August 18, 2005 17:28
installation mohammad FLUENT 0 May 4, 2003 11:15
NT 4.0 installation peter.liang Siemens 2 July 4, 2001 13:52
HP-UX installation new here FLUENT 1 October 26, 2000 22:54


All times are GMT -4. The time now is 08:02.