|
[Sponsors] |
[OpenFOAM.com] v3.0+ Compiling/installing problems on Ubuntu 15.10 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 31, 2016, 09:53 |
v3.0+ Compiling/installing problems on Ubuntu 15.10
|
#1 |
Member
anonymous
Join Date: Mar 2016
Location: Canada
Posts: 93
Rep Power: 10 |
Hi,
I am having problem installing OF-V3.0+ with ubuntu 15.10. I am getting the following error message Code:
make[2]: *** [/home/mytest/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Debug/bin/cavitatingFoam] Error 1 make[1]: *** [cavitatingFoam] Error 2 /home/mytest/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Debug/lib/openmpi-system/libPstream.so: undefined reference to `MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)' /home/mytest/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Debug/lib/openmpi-system/libPstream.so: undefined reference to `PMPI::Intracomm::current_op' /home/mytest/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Debug/lib/openmpi-system/libPstream.so: undefined reference to `PMPI::Comm::mpi_comm_map' /home/mytest/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Debug/lib/openmpi-system/libPstream.so: undefined reference to `MPI::Is_initialized()' /home/mytest/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Debug/lib/openmpi-system/libPstream.so: undefined reference to `PMPI::Comm::mpi_err_map' /home/mytest/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Debug/lib/openmpi-system/libPstream.so: undefined reference to `MPI::Op::Free()' /home/mytest/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Debug/lib/openmpi-system/libPstream.so: undefined reference to `op_intercept' collect2: error: ld returned 1 exit status make[2]: *** [/home/mytest/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Debug/bin/solidDisplacementFoam] Error 1 make[1]: *** [solidDisplacementFoam] Error 2 Code:
mpirun --version mpirun (Open MPI) 1.6.5 |
|
June 1, 2016, 16:45 |
|
#2 |
Member
anonymous
Join Date: Mar 2016
Location: Canada
Posts: 93
Rep Power: 10 |
Anyone has any suggestion regarding installation problem. I am trying to compile source code with Debug option.
|
|
June 21, 2016, 02:35 |
|
#3 |
Member
anonymous
Join Date: Mar 2016
Location: Canada
Posts: 93
Rep Power: 10 |
I am still stuck on this error for a long time. Any suggestion.
|
|
June 21, 2016, 03:44 |
|
#4 |
Member
anonymous
Join Date: Mar 2016
Location: Canada
Posts: 93
Rep Power: 10 |
Here is my log file,if you would like to see errors.
|
|
June 21, 2016, 13:23 |
|
#5 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
Two thing to try :
i) remove debug flag and recompile . See if you can any error ii) compile thirdparty openmpi by yourself with debug flag and then compile openfoam in debug mode |
|
June 21, 2016, 13:27 |
|
#6 |
Member
anonymous
Join Date: Mar 2016
Location: Canada
Posts: 93
Rep Power: 10 |
Quick question, how to compile openmpi with debug option. Is there any line I need to change in a file.
|
|
June 22, 2016, 04:49 |
|
#7 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
HI Sorry . i missed the point. You donot need to compile openmpi with debug flag.
check this link http://www.cfd-online.com/Forums/ope...i-related.html |
|
June 22, 2016, 05:09 |
|
#8 |
Member
anonymous
Join Date: Mar 2016
Location: Canada
Posts: 93
Rep Power: 10 |
Thanks for the reply. I was able to fix that error by compiling openmpi separately.
Now I am getting following errors: (Note I used grep command to display all Errors) Code:
Error FODC0002 in file:///home/mytest/OpenFOAM/OpenFOAM-v3.0: Error opening /home/mytest/OpenFOAM/OpenFOAM-v3.0: No such file or directory Error FODC0002 in file:///applications/utilities/postProcessing/graphics/PV4Readers/PV4blockMeshReader/PV4blockMeshReader/PV4blockMeshReader_SM.xml: Error opening /applications/utilities/postProcessing/graphics/PV4Readers/PV4blockMeshReader/PV4blockMeshReader/PV4blockMeshReader_SM.xml: No such file or directory Error FODC0002 in file:///home/mytest/OpenFOAM/OpenFOAM-v3.0: Error opening /home/mytest/OpenFOAM/OpenFOAM-v3.0: No such file or directory Error FODC0002 in file:///applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/PV4FoamReader/PV4FoamReader_SM.xml: Error opening /applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/PV4FoamReader/PV4FoamReader_SM.xml: No such file or directory Thanks for the help. |
|
June 23, 2016, 01:19 |
|
#9 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
check whether you have sourced bashrc from desired openfoam folder
|
|
June 23, 2016, 03:32 |
|
#10 |
Member
anonymous
Join Date: Mar 2016
Location: Canada
Posts: 93
Rep Power: 10 |
yes, it is in OpenFoam/OpenFoam-v3.0+/etc/bashrc.
I was able to compile with Debug switch with above 4 errors. I ran icoFoam, it is working through Debugger gdb. I read somewhere that it is possible to debug openfoam source code without debugging ThirdParty. How can I do that? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
Problems installin OpenFoam-1.5-dev in Ubuntu 8 | tmata2002 | OpenFOAM Installation | 2 | September 23, 2009 11:50 |
OpenFOAM Installation Ubuntu 9.04 Problems | Sumontro | OpenFOAM Installation | 8 | July 21, 2009 22:40 |
Compile problems on ubuntu 810 with gcc432 | deepblue17 | OpenFOAM Bugs | 10 | March 2, 2009 08:32 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |