|
[Sponsors] |
A library compiling error after upgrading from OpenFOAM 2.2.0 to 2.2.2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 12, 2014, 18:55 |
A library compiling error after upgrading from OpenFOAM 2.2.0 to 2.2.2
|
#1 |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Hi Bruno,
I got some new problems in the recent days. I have my OF-2.2.0 on my cluster. Now I need compile 2.2.2 in the same account. I have already compiled the source code and ThirdParty. But when I try to compile some my own libraries I got a error which shows: make:*** No rule to make target '/home/jaq526/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc45/openmpi-1.6.3/include/mpi.h, needed by 'xxx.dep'. Stop So, I think there should be something wrong with the environmental variables. What I did is as follow: 1. cd $WM_MPLIB it gives me this: bash: cd:SYSTEMOPENMPI: No such file or directory 2. which mpirun it gives me like: /usr/lib64/openmpi/bin/mpirun which is the system mpi And I also find I cannot use mpirun command to run my case in the older version 2.2.0 too. So I go back to check the bashrc file and redo the source $HOME/.../ step. But it give me this message: Cannot open configuration file /home/jaq526/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc45/openmpi-1.6.3/share/openmpi/mpicc-wrapper-data.txt I really feel confused by this problem... Do you have any suggestion on this? |
|
May 14, 2014, 04:00 |
A library compiling error
|
#2 |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
I just installed of-2.2.2 on my Linux cluster.
I have some libraries to be compiled. But I got the following error message when I compiled one of them. The message is : make:*** No rule to make target '/home/jaq526/OpenFOAM/ThirdParty-2.2.0/platforms/linux64Gcc45/openmpi-1.6.3/include/mpi.h', need by 'xxxx.dep' Stop. I think there should be something wrong with the environmental variables, cause In the /Make/options file, these two lines are included. sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB) sinclude $(RULES)/mplib$(WM_MPLIB) but the weird thing is why the message give me ThirdParty-2.2.0, actually I don't have ThirdParty-2.2.0 now. Does anyone have idea on this? |
|
May 15, 2014, 15:34 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings y_jiang,
There are 2 possible problems:
Bruno
__________________
|
|
May 15, 2014, 22:43 |
|
#4 |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
Yes Bruno, you are right. Thank you. Cause the environmental variables are not update when I copy from the earlier version. I did wclean the old files in Make and seems the problems fixed.
But the paraview gives me a new trouble today. When I type paraFoam, there a new error which is error while loading shared libraries:libQtWebKit.so.4 :cannot open shared object file: No such file or directory Do you have any suggestion on this? |
|
May 16, 2014, 01:29 |
|
#5 |
Member
Yijiu Jiang
Join Date: Jan 2013
Location: Michigan, US
Posts: 49
Rep Power: 13 |
I recompiled cmake and qt. Now ParaView runs with no problem. Thank you Bruno.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Density_based turbo with OpenFoam 2.2.0 | eddykendo | OpenFOAM | 4 | March 2, 2014 06:05 |
ESI-OpenCFD Releases OpenFOAM v2.2.0 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 13 | March 30, 2013 16:52 |
OpenFOAM Training in Europe and USA | hjasak | OpenFOAM | 0 | August 8, 2008 05:33 |
Can OpenFoam be made faster or which Math kernel library is used | jens_klostermann | OpenFOAM | 0 | February 4, 2008 08:37 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 13:50 |