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

Critical error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2007, 18:26
Default I have gone through previous p
  #1
New Member
 
Chris Meyer
Join Date: Mar 2009
Location: Cape Town, Western Province, South Africa
Posts: 6
Rep Power: 17
chris_j_meyer is on a distinguished road
I have gone through previous posts and have not found my particular problem dealt with. Apologies if I missed it!

I am installing on openSuse 10.2 and did not use install either the Java or gcc binaries as I assume the latest version of Suse will be up to date.

I get the following critical error when running foam InstallationTest:

Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc ...figure
WARNING: Conflicting installations:
foam settings: /home/cmeyer/OpenFOAM/linux/gcc-4.1.2/bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.4.2
libgcj)
WARNING: Conflicting installations:
foam settings: /home/cmeyer/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.4/applications/bin/linuxGcc4DPOpt/icoFoam
-------------------------------------------------------------------------------

It seems that OpenFOAM expects both gcc and JAVA in a different place. echo $PATH yields the following:

/home/cmeyer/OpenFOAM/linux/paraview-2.4.4/bin:/home/cmeyer/OpenFOAM/OpenFOAM-1. 4/src/lam- 7.1.2/platforms/linuxGcc4DPOpt/bin:/home/cmeyer/OpenFOAM/OpenFOAM-1.4/ src/mico-2.3.12/platforms/linuxGcc4DPOpt/bin:/home/cmeyer/OpenFOAM/cmeyer-1.4/ap plications/bin/linuxGcc4DPOpt:/home/cmeyer/OpenFOAM/OpenFOAM- 1.4/applications/bi n/linuxGcc4DPOpt:/home/cmeyer/OpenFOAM/OpenFOAM-1.4/wmake:/home/cmeyer/OpenFOAM/ OpenFOAM-1.4/bin:/home/cmeyer/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/u sr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin
cmeyer@linux-wd19:~/OpenFOAM/OpenFOAM-1.4/bin>

I am thus slightly confused by the term "current path" issued by foamInstallationTest as it obviously does not refer to $PATH, or does it?

How do I fix this, and more importantly, explain the rather confusing output.

All help deeply appreciated!
chris_j_meyer is offline   Reply With Quote

Old   June 5, 2007, 13:50
Default in $HOME/OpenFOAM/OpenFOAM-1.4
  #2
New Member
 
MK_MAT
Join Date: Mar 2009
Posts: 6
Rep Power: 17
mardit is on a distinguished road
in $HOME/OpenFOAM/OpenFOAM-1.4/.bashrc

modify this line based on your gcc version:

export WM_COMPILER_DIR=$WM_PROJECT_INST_DIR/$WM_ARCH/gcc-4.1.2$WM_COMPILER_ARCH
mardit is offline   Reply With Quote

Old   February 13, 2009, 03:39
Default It seems that the new installa
  #3
New Member
 
fluentfreak
Join Date: Mar 2009
Posts: 14
Rep Power: 17
fluentfreak is on a distinguished road
It seems that the new installation package puts the compiler files in folders different from the ones which are defined in the setting and bash files. Make sure the compiler is copied in the folder that the settings are expecting they are:
/home/cmeyer/OpenFOAM/linux/gcc-4.1.2/bin/gcc

In my case the installer copied the compiler files to:
/home/MYUSERNAME/OpenFOAM/linux64/gcc-4.1.2/bin/gcc
I corrected the path in bash file and set the line corresponding to "linux" to "linux64" and it just worked!
fluentfreak 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
CRITICAL ERROR on installation OpenFOAM 141 nuovodna OpenFOAM Installation 19 March 22, 2010 23:36
One critical error while compiling lam711 billpeace OpenFOAM Installation 0 October 30, 2006 05:41
Installation problem 1 critical error Ervin Adorean (Adorean) OpenFOAM Installation 14 October 23, 2006 04:44
Tow Critical Error about GCC amp icoFoam chnrdu OpenFOAM Installation 4 July 8, 2005 07:14
Critical error in the installation test fabi OpenFOAM Installation 1 March 8, 2005 07:07


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