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

[OpenFOAM.org] OpenFOAM and FDS incompatible on Ubuntu

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2019, 00:34
Default OpenFOAM and FDS incompatible on Ubuntu
  #1
New Member
 
Gareth
Join Date: Apr 2010
Location: Sydney Aus
Posts: 14
Rep Power: 16
gharek is on a distinguished road
Hello everyone,

I have been using Openfoam v6 fine on my Ubuntu 16.04. Until recently, I had to install Fire Dynamics Simulator (FDS) on the same machine, and Openfoam gives the following issue:

gharek@davinci:~$ blockMesh
blockMesh: symbol lookup error: /opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so: undefined symbol: ompi_mpi_op_sum

Checking the openMPI library directory gives the following:

gharek@davinci:~$ ldd $FOAM_LIBBIN/openmpi-system/libPstream.so
linux-vdso.so.1 => (0x00007ffd911e6000)
libmpi.so.12 => /opt/FDS/FDS6/bin/INTEL/mpi/intel64/lib/release/libmpi.so.12 (0x00007f3a0f0fd000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3a0ed7b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3a0ea72000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3a0e85c000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3a0e63f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3a0e275000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3a0e06d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3a0de69000)
libfabric.so.1 => /opt/FDS/FDS6/bin/INTEL/mpi/intel64/libfabric/lib/libfabric.so.1 (0x00007f3a0dc30000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3a1259a000)


The output above show that libmpi.so.12 is pointed towards the FDS intel library, which I do not want to use.

Does anyone have any idea how to resolve this issue?

I have tried to add the following line in my .bashrc, but this does not work:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/openmpi/lib/

Any suggestions or ideas? Please thanks.

Gary
gharek is offline   Reply With Quote

Old   June 24, 2019, 16:06
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
Quick answer: I saw that you also asked this on the FSD mailing list: https://groups.google.com/forum/#!ms...s/eqDurDACBQAJ

You can easily separate shell environments (namely in one terminal only use OpenfOAM and in another use FDS) by following the instructions given here: https://openfoamwiki.net/index.php/I...nFOAM_versions
__________________
wyldckat is offline   Reply With Quote

Old   June 24, 2019, 20:10
Default
  #3
New Member
 
Gareth
Join Date: Apr 2010
Location: Sydney Aus
Posts: 14
Rep Power: 16
gharek is on a distinguished road
Hi wyldckat,

Thanks for your reply. This issue has been resolved as per your kind suggestion.

Gary
gharek 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
Doubts Regarding Performing Combustion Simulation in OpenFoam DineshMyilsamy OpenFOAM Pre-Processing 0 June 26, 2018 07:39
Is there a way Time Varying Inlet in FDS Genji Main CFD Forum 0 March 16, 2018 17:02


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