|
[Sponsors] |
October 6, 2010, 11:46 |
missing vtf3.h BPatch.h papi.h
|
#1 | |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hello OF-community,
trying to compile ThirdParty 1.7.1 I am expecting errors during the compilation of the openmpi-1.4.1. At the step "Configuring contributed software packages" it says: Quote:
Regards, Last edited by linch; October 7, 2010 at 09:46. |
||
October 7, 2010, 08:32 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Illya,
I know I've had this problem before, but I'm not 100% certain how I fixed it... But how exactly are you building OpenMPI? Manually or using the Allwmake script in the ThirdParty folder? Additionally, if you are using Debian, then this list of packages should work for you too: Building OpenFOAM1.7.0 from source post #4 and onward Best regards, Bruno
__________________
|
|
October 7, 2010, 09:14 |
|
#3 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
thanks for the reply. Because of being newbie in OpenFOAM as well as in linux I use the Allwmake script. There are quite a lot of packages listed in the thread. I hope that installing them will cure the problems. EDIT: since I have no administrator rights, I can not install the packages by myself. And the admin refuses to install the whole bunch of packages until I exactly know which of them I do really need. So the question remains open. Last edited by linch; October 7, 2010 at 12:36. |
|
October 7, 2010, 19:01 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Illya,
Quote:
But this weekend I'll try to get some time to figure out which one might it be. But you could also request your system administrator to simply install the OpenMPI version available for your system. And if not OpenMPI, any other MPI should work too, just a matter of configuring the script "$WM_PROJECT_DIR/etc/settings.sh" to the desired MPI library. Those packages listed on that link, also include the necessary packages for building ParaView, albeit some of them might be available for your system, since it's a bit old. Best regards, Bruno
__________________
|
||
October 8, 2010, 22:15 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Illya,
OK, I've tested in a virtual machine with Ubuntu 10.04 (which is based in Debian). The only packages that I needed for building OpenMPI were: Code:
gcc g++ flex So, if you run this command: Code:
ls -l $MPI_ARCH_PATH Code:
drwxr-xr-x 7 user user 4096 2010-10-09 01:50 ./ drwxr-xr-x 3 user user 4096 2010-10-09 01:49 ../ drwxr-xr-x 2 user user 4096 2010-10-09 01:53 bin/ drwxr-xr-x 2 user user 4096 2010-10-09 01:51 etc/ drwxr-xr-x 3 user user 4096 2010-10-09 01:53 include/ drwxr-xr-x 3 user user 4096 2010-10-09 01:53 lib/ drwxr-xr-x 5 user user 4096 2010-10-09 01:53 share/ Now, if the Allwmake came to an end with an error in the end, then something else went wrong. Other than that, you should be good to continue building! Best regards, Bruno
__________________
|
|
October 11, 2010, 06:03 |
|
#6 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
with ls -l $MPI_ARCH_PATH I can see the folder you listed and everything seems to be ok insofar. Thank you! |
|
September 26, 2011, 09:24 |
everything is fine or not?
|
#7 |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
Hello Bruno,
I am trying to install OpenFOAM 2.0.1 on a Gnome Debian 2.22.3. I am also getting the following: Code:
configure: error: no vtf3.h found; check path for VTF3 package first... configure: error: no BPatch.h found; check path for Dyninst package first... configure: error: no f2c.h found; check path for CLAPACK package first... configure: error: MPI Correctness Checking support cannot be built inside Open MPI configure: error: no jvmti.h found; check path for JVMTI package first... configure: error: no papi.h found; check path for PAPI package first... configure: error: no libcpc.h found; check path for CPC package first... configure: error: no ctool/ctool.h found; check path for CTool package first... In conclusion, I should not worry about those errors, should I? mad |
|
September 26, 2011, 09:33 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Maddalena,
I vaguely remember seeing those errors and even with them everything else built properly, so I suppose so. If:
Best regards, Bruno
__________________
|
|
July 18, 2012, 13:00 |
|
#9 | |||
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
me again 1.5 years later. I've got new pc with new Debian Code:
(Linux version 2.6.32-5-amd64 (Debian 2.6.32-45) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) )) Quote:
Quote:
Quote:
Best regards, Ilya |
||||
July 18, 2012, 17:21 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ilya,
I'll need more info about which Debian version you're using. Try this command: Code:
cat /etc/lsb-release Best regards, Bruno
__________________
|
|
July 19, 2012, 06:00 |
|
#11 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
there is no lsb-release in /etc But: Code:
$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 6.0.5 (squeeze) Release: 6.0.5 Codename: squeeze Here is the complete ThirdParty make log, if it helps. Thanks a lot! Ilya Last edited by linch; July 19, 2012 at 08:39. |
|
July 19, 2012, 08:29 |
|
#12 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
What I have to add, there is openmpi already installed in /usr/local/mpich independently from OF. So of the ThirdParty-openmpi installations fails, it may be possible to link the "external" openmpi to OF. What do you think about it?
|
|
July 20, 2012, 06:28 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ilya,
I'll try to replicate the installation on a virtual machine later today, with an up-to-date Debian 6 x86_64 (== amd64) installation. As for MPICH:
edit: Well, I've just tested now on a VM with Debian 6 and it built things just fine. I've got feeling that you have a machine setup that is influencing the results you and I are getting. The installed MPICH version you got may be only the tip of the iceberg But like I've wrote above: maybe it's best that you use the MPICH library you already have. By the way, which version do you have? Because I tried getting the source code for the old MPICH1 for trying to replicate the installation and didn't find it after a 5min search Ah, last but not least, try installing the Open-MPI version that Debian has (scotch as well): Code:
sudo apt-get install libscotch-dev libopenmpi-dev ____ Best regards, Bruno
__________________
Last edited by wyldckat; July 20, 2012 at 10:42. Reason: see "edit:" |
|
July 20, 2012, 11:41 |
|
#14 | ||||
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
a general question, what's the difference between opnmpi & mpich? Does it matter, which one to use? 1) I have no idea. How can I find it out? A little bit strange is the following: the mpich dir contains dirs Quote:
Quote:
Quote:
2) Quote:
P.S. libscotch-dev libopenmpi-dev are already there, so I don't need to install them |
|||||
July 20, 2012, 11:51 |
|
#15 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ilya,
I'm guessing that installing Open-MPI in those machines at your workplace can be a pain, which is why the administrator installs it manually. The "mpich" folder must be a legacy thing, to keep things compatible with the workflow existent there. I believe that version one of MPICH was created in a time when no other MPI was open-source. Open-MPI came to life as a need for a more generic and open MPI toolbox. But I guess that Wikipedia should know more than me : And like I wrote before, the trick for your system should be: Quote:
Best regards, Bruno
__________________
|
||
July 20, 2012, 12:01 |
|
#16 | ||
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
Quote:
Quote:
Ilya |
|||
July 20, 2012, 12:22 |
|
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Mmm... you better start a new terminal, because the environment is already contaminated with the old option.
__________________
|
|
July 20, 2012, 12:41 |
|
#18 | |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
I've started a new terminal and executed ./Allwmake script from the OpenFOAM-2.1.x dir. There were no errors this time. But if I try to start a parallel simulation a get a bunch of errors looking like this: Quote:
Best regards, Ilya |
||
July 20, 2012, 12:44 |
|
#19 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ilya,
This should be enough, without having to rebuild the whole OpenFOAM source: Code:
src cd Pstream wclean all wmake all Bruno
__________________
|
|
July 20, 2012, 12:54 |
|
#20 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
there are apparently no problems during the buid any more, but mpi still doesn't work properly. Here is an error log example. Best, Ilya |
|
|
|
LinkBacks (?)
LinkBack to this Thread: https://www.cfd-online.com/Forums/openfoam-installation/80787-missing-vtf3-h-bpatch-h-papi-h.html
|
||||
Posted By | For | Type | Date | |
Albert's Useful Computer Tips: gcc and OpenFOAM | This thread | Refback | October 16, 2013 06:46 |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing Term in RAS-Models | ngj | OpenFOAM Bugs | 17 | February 29, 2012 08:05 |
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! | alban | Fluent UDF and Scheme Programming | 2 | June 8, 2010 19:54 |
Problem with paraFoam | ata | OpenFOAM | 14 | November 30, 2009 05:23 |
Missing output files | stefanke | OpenFOAM Running, Solving & CFD | 4 | September 8, 2006 05:51 |
Missing tets along line when meshing with ICEM CFD | Georges P. Côté | CFX | 6 | March 23, 2006 01:34 |