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

[OpenFOAM.org] Installing OpenFoam 3.0.1 on cluster

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hello177

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2016, 08:16
Default Installing OpenFoam 3.0.1 on cluster
  #1
New Member
 
Alpha
Join Date: Dec 2013
Posts: 2
Rep Power: 0
hello177 is on a distinguished road
I'm trying to install OpenFoam 3.0.1 on a scientific linux cluster.

I've compiled the Third party section (except for paraview). I'm using the openmpi in this folder and had to compile gcc-5.3.0 because the version on the cluster was too old.

Running the following gives
Code:
#ldd /home/ashep/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64Gcc51DPInt32Opt/lib/libOpenFOAM.so
    linux-vdso.so.1 =>  (0x00007ffff7ffe000)
    libPstream.so => not found
    libz.so.1 => /lib64/libz.so.1 (0x00007ffff73fc000)
    libstdc++.so.6 => /home/ashep/OpenFOAM/ThirdParty-3.0.1/platforms/linux64/gcc-5.3.0/lib64/libstdc++.so.6 (0x00007ffff706e000)
    libm.so.6 => /lib64/libm.so.6 (0x00007ffff6dea000)
    libgcc_s.so.1 => /home/ashep/OpenFOAM/ThirdParty-3.0.1/platforms/linux64/gcc-5.3.0/lib64/libgcc_s.so.1 (0x00007ffff6bd3000)
    libc.so.6 => /lib64/libc.so.6 (0x00007ffff6832000)
    /lib64/ld-linux-x86-64.so.2 (0x0000003685600000)
Also, oddly enough, if I run foamInstallationTest, it errors out saying I have conflicting installations, although I only have one?

Code:
Checking basic setup...
-------------------------------------------------------------------------------
Shell:              bash
Host:               secluster
OS:                 Linux version 2.6.32-220.2.1.el6.x86_64
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid      Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/ashep/OpenFOAM                     yes       yes
$WM_PROJECT_USER_DIR /home/ashep/OpenFOAM/ashep-3.0.1         no        no
$WM_THIRD_PARTY_DIR  /home/ashep/OpenFOAM/ThirdParty-3.0.1    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/ashep/OpenFOAM/OpenFOAM-3.0.1      yes  yes  yes

$FOAM_APPBIN         ...1/platforms/linux64GccDPInt32Opt/bin  no        yes
$FOAM_SITE_APPBIN    ...1/platforms/linux64GccDPInt32Opt/bin  no        no
$FOAM_USER_APPBIN    ...1/platforms/linux64GccDPInt32Opt/bin  no        no
$WM_DIR              .../ashep/OpenFOAM/OpenFOAM-3.0.1/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         ...1/platforms/linux64GccDPInt32Opt/lib  no        yes
$FOAM_SITE_LIBBIN    ...1/platforms/linux64GccDPInt32Opt/lib  no        no
$FOAM_USER_LIBBIN    ...1/platforms/linux64GccDPInt32Opt/lib  no        no
$MPI_ARCH_PATH       .../platforms/linux64Gcc/openmpi-1.10.0  yes   no  yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version   Location 
-------------------------------------------------------------------------------
flex     2.5.35    /usr/bin/flex                                            
gcc      5.3.0     /home/ashep/OpenFOAM/ThirdParty-3.0.1/gcc-5.3.0/bin/gcc  
g++      5.3.0     /home/ashep/OpenFOAM/ThirdParty-3.0.1/gcc-5.3.0/bin/g++  
gzip     1.3.12    /bin/gzip                                                
tar      1.23      /bin/tar                                                 
icoFoam           
WARNING:  Conflicting installations:
          OpenFOAM settings        : /home/ashep/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64GccDPInt32Opt/bin/icoFoam
          current path             : 
          CRITICAL ERROR

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


Summary
-------------------------------------------------------------------------------
Base configuration ok.
The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for troubleshooting.

Done

Last edited by hello177; April 24, 2016 at 09:36.
hello177 is offline   Reply With Quote

Old   April 24, 2016, 09:35
Default
  #2
New Member
 
Alpha
Join Date: Dec 2013
Posts: 2
Rep Power: 0
hello177 is on a distinguished road
Ok, turns out I'd forgotten to change bashrc to not use the system compiler

Seems to have compiled fine now.
wyldckat likes this.
hello177 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
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
[OpenFOAM.org] Problem in installing OpenFOAM 2.3.0 !!! omid20110 OpenFOAM Installation 6 August 1, 2016 12:20
[OpenFOAM.org] OpenFOAM Cluster Setup for Beginners Ruli OpenFOAM Installation 7 July 22, 2016 05:14
How to setup a simple OpenFOAM cluster? TommiPLaiho OpenFOAM Installation 3 October 27, 2013 16:15
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) chrisb2244 OpenFOAM Installation 2 August 21, 2013 14:24


All times are GMT -4. The time now is 05:48.