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

[OpenFOAM.com] v1606+ Compiling/installing problems

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2016, 09:13
Default
  #21
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quote:
Originally Posted by sage View Post
I was able to simply install OpenFoam-4.0 from openfoam.org. That is much easier to install with just a few lines of code.
I think you're missing the point here. The people on this thread are installing OpenFOAM+ v1606+ because they are looking for features that currently are still only available in that version and which have not been donated yet to the OpenFOAM Foundation.
wyldckat is offline   Reply With Quote

Old   September 17, 2016, 10:23
Default
  #22
New Member
 
Join Date: Aug 2016
Posts: 12
Rep Power: 10
sage is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
I think you're missing the point here. The people on this thread are installing OpenFOAM+ v1606+ because they are looking for features that currently are still only available in that version and which have not been donated yet to the OpenFOAM Foundation.
I totally get your point. I also tried installing v1606+ but there were so many errors propping up, i decided to shift. So it was a suggestion for those whose deadlines were nearby for work submission otherwise thank you, i will shift to the latest version too soon enough
sage is offline   Reply With Quote

Old   September 17, 2016, 10:34
Default
  #23
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quote:
Originally Posted by sage View Post
I totally get your point. I also tried installing v1606+ but there were so many errors propping up, i decided to shift. So it was a suggestion for those whose deadlines were nearby for work submission otherwise thank you, i will shift to the latest version too soon enough
Ah, OK, I didn't have enough information on what was your point of view when you wrote the previous post.

Keep in mind that OpenFOAM 4.0 and OpenFOAM+ v1606+ are mostly compatible, but have slightly different development lines, as indicated in the release notes for v1606+: http://openfoam.com/version-v1606+/
Quote:
Includes all Foundation code changes to commit level 449a9ec 21-04-2016
which means that the last point of synchronization was roughly 2 months before OpenFOAM 4.0 was released. The next release of OpenFOAM+, v1612+, should already include everything that OpenFOAM 4.x has got and more.

In addition, you can have more than one version of OpenFOAM/OpenFOAM+ installed. Details on how to have more than one version can be found here: http://openfoamwiki.net/index.php/In...nFOAM_versions
wyldckat is offline   Reply With Quote

Old   September 17, 2016, 18:44
Default
  #24
New Member
 
Join Date: Aug 2016
Posts: 12
Rep Power: 10
sage is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Ah, OK, I didn't have enough information on what was your point of view when you wrote the previous post.

Keep in mind that OpenFOAM 4.0 and OpenFOAM+ v1606+ are mostly compatible, but have slightly different development lines, as indicated in the release notes for v1606+: http://openfoam.com/version-v1606+/
which means that the last point of synchronization was roughly 2 months before OpenFOAM 4.0 was released. The next release of OpenFOAM+, v1612+, should already include everything that OpenFOAM 4.x has got and more.

In addition, you can have more than one version of OpenFOAM/OpenFOAM+ installed. Details on how to have more than one version can be found here: http://openfoamwiki.net/index.php/In...nFOAM_versions
Hello Bruno!
I succesfully downloaded and installed OF v1606+. However, there was no docker folder created in the home directory and i cant seem to find where the data files are located. I have to type
cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity .
to first transfer the case files to my home directory before i can run the case. This is a very weird issue.
sage is offline   Reply With Quote

Old   September 17, 2016, 19:57
Default
  #25
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quote:
Originally Posted by sage View Post
Hello Bruno!
I succesfully downloaded and installed OF v1606+. However, there was no docker folder created in the home directory and i cant seem to find where the data files are located. I have to type
cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity .
to first transfer the case files to my home directory before i can run the case. This is a very weird issue.
Quick question: Which installation instructions did you follow and in which operating system did you install (Linux, Mac OS X or Windows)?
wyldckat is offline   Reply With Quote

Old   September 18, 2016, 02:04
Default
  #26
New Member
 
Join Date: Aug 2016
Posts: 12
Rep Power: 10
sage is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick question: Which installation instructions did you follow and in which operating system did you install (Linux, Mac OS X or Windows)?
Hey! Yeah I have Ubuntu 14.04 and I followed the instructions on the binary installation page of openfoam.com
sage is offline   Reply With Quote

Old   September 18, 2016, 17:32
Default
  #27
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quote:
Originally Posted by sage View Post
Hey! Yeah I have Ubuntu 14.04 and I followed the instructions on the binary installation page of openfoam.com
OK, so you followed the instructions meant for Linux that are provided here: http://www.openfoam.com/download/install-binary.php


Quote:
Originally Posted by sage View Post
Hello Bruno!
I succesfully downloaded and installed OF v1606+. However, there was no docker folder created in the home directory and i cant seem to find where the data files are located. I have to type
cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity .
to first transfer the case files to my home directory before i can run the case. This is a very weird issue.
Here is what I get when I run the startOpenFoam+ script:
Code:
ofuser@themachine:~/OpenFOAM/OFplus_scripts$ ./startOpenFoam+ 
non-network local connections being added to access control list
of_v1606_plus
/opt/OpenFOAM
bash-4.1$
I don't know what you were expecting or what you are seeing. The instructions on the binary install page state which commands should be used to get started with running a tutorial case... although I didn't spot a bug right now, namely that the wrong commands are used for running the cavity case... the correct commands are:
Code:
mkdir -p $FOAM_RUN
run
cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .
cd cavity
blockMesh
icoFoam
paraFoam
It's just the folder path itself for the original case that changed a bit.
wyldckat is offline   Reply With Quote

Old   September 19, 2016, 00:04
Default
  #28
New Member
 
Join Date: Aug 2016
Posts: 12
Rep Power: 10
sage is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, so you followed the instructions meant for Linux that are provided here: http://www.openfoam.com/download/install-binary.php



Here is what I get when I run the startOpenFoam+ script:
Code:
ofuser@themachine:~/OpenFOAM/OFplus_scripts$ ./startOpenFoam+ 
non-network local connections being added to access control list
of_v1606_plus
/opt/OpenFOAM
bash-4.1$
I don't know what you were expecting or what you are seeing. The instructions on the binary install page state which commands should be used to get started with running a tutorial case... although I didn't spot a bug right now, namely that the wrong commands are used for running the cavity case... the correct commands are:
Code:
mkdir -p $FOAM_RUN
run
cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .
cd cavity
blockMesh
icoFoam
paraFoam
It's just the folder path itself for the original case that changed a bit.
Hi! I just wanted to know the path of the installation directory. There isn't any folder that holds all the original files of OF1606 like the 'opt' does for the previous versions.
Regards,
Gohar Shoukat

Last edited by sage; September 19, 2016 at 15:32.
sage is offline   Reply With Quote

Old   September 19, 2016, 05:24
Default
  #29
Member
 
Paul Palladium
Join Date: Jan 2016
Posts: 94
Rep Power: 10
Fauster is on a distinguished road
Hi !

Same error on Ubuntu 14.04 LTS

HTML Code:
/usr/bin/ld: cannot find -lrandomProcesses
I tried this (post of Bruno) :

Quote:
cd $WM_THIRD_PARTY_DIR sed -i -e 's=unset _foamAddPath=unset -f _foamAddPath=' makeFFTW cd $WM_PROJECT_DIR ./Allwmake -j
This helped a bit but I still have some issues (translate from French to English):

Quote:
Warning: The file /opt/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/doc/*.html doesn't exist ! File not include.
Warning: The file /opt/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/doc/*.css doesn't exist !File not include.
Warning: The file /opt/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/doc/*.png doesn't exist ! File not include.
Warning: The file /opt/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/doc/*.jpg doesn't exist ! File not include.
After that the compilation goes on and I run successfully the tutorial pitzDaily.

What are those missing files ? Can I even use OpenFoam (or paraFoam, it seems to be a graphics problem) without stability problem ?

Regards
Fauster is offline   Reply With Quote

Old   September 19, 2016, 17:09
Default
  #30
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quote:
Originally Posted by Fauster View Post
What are those missing files ? Can I even use OpenFoam (or paraFoam, it seems to be a graphics problem) without stability problem ?
Quick answer: Those are just warnings. You can make sure if everything is already, if you run the Allwmake script again.
wyldckat is offline   Reply With Quote

Old   September 20, 2016, 09:19
Default
  #31
Member
 
Paul Palladium
Join Date: Jan 2016
Posts: 94
Rep Power: 10
Fauster is on a distinguished road
Thanks wyldckat,

In deed it seems to be ok..

So on Ubuntu 14.04 LTS with the helpful post of Bruno I manage to install successfully OFv1606+.
Fauster is offline   Reply With Quote

Old   September 26, 2016, 06:27
Default
  #32
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10
viraj20feb is on a distinguished road
Greetings!

I tried installing OpenFOAM v1606+ on Ubuntu 16.04. But I was not successful in installing the same. I followed the steps from this link : https://openfoamwiki.net/index.php/I...1606%2B/Ubuntu

Code:
./Allwmake -j 4 > log.make 2>&1
The above command stops in between as I suppose there might be some error. When I try :
Code:
icoFoam -help
I get the output: icoFoam: command not found. I have attached my log file as well

Please reply
Attached Files
File Type: gz log.make.gz (5.8 KB, 3 views)
viraj20feb is offline   Reply With Quote

Old   September 26, 2016, 19:06
Default
  #33
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quote:
Originally Posted by viraj20feb View Post
I get the output: icoFoam: command not found. I have attached my log file as well
Quick answer: Please see my previous post #17: http://www.cfd-online.com/Forums/ope...tml#post617893 - post #17
wyldckat is offline   Reply With Quote

Old   October 11, 2016, 09:23
Default Cannot find -l randomProcesses
  #34
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 123
Rep Power: 17
balkrishna is on a distinguished road
I am getting this error :
Code:
/usr/bin/ld cannot find -lrandomProcesses
version OpenFOAM-v1606+ downloaded 11/10/2016 running on VirtualBox , Ubuntu 16.04 . Is there any way to fix it ?

Thanks,
balkrishna is offline   Reply With Quote

Old   October 16, 2016, 10:49
Default
  #35
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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: See post #12 on this thread: http://www.cfd-online.com/Forums/ope...tml#post617450
wyldckat is offline   Reply With Quote

Old   October 19, 2016, 14:19
Default
  #36
Member
 
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11
Naresh yathuru is on a distinguished road
Hi Foamers,

Please have a look at the compilation prolem I have under the link below.
It is familiaar but confusing. It is similar to the one mentioned in #17 but a little more complicated.

http://www.cfd-online.com/Forums/ope...it-labels.html

Thank you

Best Regards,
Naresh

Last edited by wyldckat; October 30, 2016 at 10:02. Reason: repaired link
Naresh yathuru is offline   Reply With Quote

Old   September 13, 2018, 05:49
Default How can I fix the error in the ubuntu:16.04 container with mpich
  #37
New Member
 
Alexis Espinosa
Join Date: Aug 2009
Location: Australia
Posts: 20
Rep Power: 17
alexisespinosa is on a distinguished road
Dear Bruno,
This same error appeared when installing v1606+ in ubuntu:16.04 container with system mpich:


Code:
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/randomProcesses/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/finiteVolume/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/meshTools/lnInclude -IlnInclude -I. -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/OpenFOAM/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/DNS/dnsFoam/dnsFoam.o -L/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib \
    -lrandomProcesses -lfiniteVolume -lmeshTools -lOpenFOAM -ldl  \
     -lm -o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/bin/dnsFoam
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/applications/solvers/combustion/PDRFoam
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -IXiModels/XiModel -IXiModels/XiEqModels/XiEqModel -IXiModels/XiGModels/XiGModel -IPDRModels/dragModels/PDRDragModel -IlaminarFlameSpeed/SCOPE -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/engine/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/thermophysicalModels/specie/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/transportModels/compressible/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/thermophysicalModels/basic/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/thermophysicalModels/reactionThermo/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/TurbulenceModels/compressible/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/thermophysicalModels/laminarFlameSpeed/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/finiteVolume/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/dynamicFvMesh/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/dynamicMesh/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/meshTools/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/triSurface/lnInclude  -IlnInclude -I. -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/OpenFOAM/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-v1606+/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModelNew.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModelNew.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModelNew.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModelNew.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/solvers/combustion/PDRFoam/PDRFoam.o -L/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib \
    -lengine -lmeshTools -lturbulenceModels -lcompressibleTurbulenceModels -lcompressibleTransportModels -lfluidThermophysicalModels -lreactionThermophysicalModels -lspecie -llaminarFlameSpeedModels -lfiniteVolume -ldynamicFvMesh -lfvOptions -lOpenFOAM -ldl  \
     -lm -o /home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/bin/PDRFoam
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Waitall'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Abort'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Get_count'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Comm_create'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Group_incl'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Init'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Probe'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Comm_group'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Send'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Allreduce'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Buffer_detach'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Bsend'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Irecv'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Recv'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Comm_free'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Wait'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Test'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Isend'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Alltoall'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Finalize'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Buffer_attach'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Comm_size'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Group_free'
/home/ofuser/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/mpi-system/libPstream.so: undefined reference to `MPI_Comm_rank'
collect2: error: ld returned 1 exit status
I tried the fix you mentioned (and also mentioned in https://openfoamwiki.net/index.php/I...1606%2B/Ubuntu) :


Code:
cd $WM_THIRD_PARTY_DIR
sed -i -e 's=unset _foamAddPath=unset -f _foamAddPath=' makeFFTW
./Allwmake > log.make 2>&1
wmREFRESH
And also define MPI_ROOT etc as explained here:
https://bugs.openfoam.org/view.php?id=1167


Code:
export MPI_ROOT=/usr
export MPI_ARCH_FLAGS="-DMPICH_SKIP_MPICXX"
export MPI_ARCH_INC="-I/usr/include/mpich"
export MPI_ARCH_LIBS="-L/usr/lib/x86_64-linux-gnu -lmpich"
But the error persists. We are sort of obliagated to use mpich because we want to use the container in a HPC system. I understand that these tricks have worked for openmpi, but can you guide us to make it work with mpich?
Should we use another linux container (possibly centos)? (still we are obligated to use mpich and v1606+)
Thanks a lot!
Alexis
alexisespinosa is offline   Reply With Quote

Old   September 30, 2018, 09:20
Default
  #38
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Greetings Alexis,

My apologies, but I've only managed to take a look into this now. I don't know if you've solved that problem or if you went with another container?
Although I'm intrigued as to why you couldn't build OpenFOAM v1606+ directly on the HPC platform, but I guess that the container can be built outside of the HPC platform, hence the practicality of it...

OK, I still use Ubuntu 16.04 on my machine at home and happened to still have v1606+ built on it, so I was able to do a quick test on these following steps:
  1. Installed MPICH with the following commands:
    Code:
    sudo apt-get install libmpich-dev
  2. Create the file "$WM_PROJECT_DIR/etc/prefs.sh" with the following content:
    Code:
    export MPI_ROOT=/usr
    export MPI_ARCH_FLAGS="-DMPICH_SKIP_MPICXX"
    export MPI_ARCH_INC="-I/usr/include/mpich"
    export MPI_ARCH_LIBS="-L/usr/lib/x86_64-linux-gnu -lmpich"
    export WM_MPLIB=SYSTEMMPI
  3. Activate/refresh the OpenFOAM v1606+ environment if you haven't already, e.g.:
    Code:
    source path_to_OF/OpenFOAM-v1606+/etc/bashrc
    
    # Or to refresh:
    wmREFRESH
  4. Then I built the "libPstream" library with the new MPI:
    Code:
    src
    cd Pstream
    ./Allwmake
  5. Then I tried building the PDRFoam solver that you mentioned:
    Code:
    sol
    cd combustion/PDRFoam/
    wclean
    export WM_NCOMPPROCS=4
    wmake
    the export line was to use 4 cores for compiling faster...
And it worked just fine... so I'm guessing that you missed the need to also change the value for "WM_MPLIB"?


Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Tags
installation, openfoam-v1606+


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
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 12:12
[mesh manipulation] Problems with rotational cyclic boundaries TReviol OpenFOAM Meshing & Mesh Conversion 8 July 11, 2014 04:45
[ICEM] Flow channel meshing problems StefanG ANSYS Meshing & Geometry 19 May 15, 2012 07:44
Two-phase air water flow problems by activating Wall Lubrication Force challenger85 CFX 5 November 5, 2009 06:44
Help required to solve Hydraulic related problems aero CFX 0 October 30, 2006 12:00


All times are GMT -4. The time now is 01:09.